From 4b37abc9a0e24639da9f707a84ecc7b583c057d8 Mon Sep 17 00:00:00 2001 From: hongji.li <hongji.a.li@capgemini.com> Date: 星期五, 22 九月 2023 13:57:21 +0800 Subject: [PATCH] 视图测试 --- _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_abgTest_btnTest_OnClick.def | 6 - _Main/UI/MacroPlannerWebApp/Views/Test.vw | 183 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 183 insertions(+), 6 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_abgTest_btnTest_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_abgTest_btnTest_OnClick.def index 9709c58..8b67882 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_abgTest_btnTest_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_abgTest_btnTest_OnClick.def @@ -10,12 +10,6 @@ { Body: [* - //info( Application.ViewId() ); - // - //ApplicationScope.ViewManager().LoadGlobalViewById( "Test" ); - - //ApplicationMacroPlanner.OpenView( "Test", this ); - ApplicationScope.ViewManager().ResetUserViewById( "Test", true ); *] } diff --git a/_Main/UI/MacroPlannerWebApp/Views/Test.vw b/_Main/UI/MacroPlannerWebApp/Views/Test.vw index d6e86fc..c0fd9cd 100644 --- a/_Main/UI/MacroPlannerWebApp/Views/Test.vw +++ b/_Main/UI/MacroPlannerWebApp/Views/Test.vw @@ -2,6 +2,189 @@ { viewcontents { + forms + { + form_FormCapacityAllocationResults + { + title: 'QTIANMA_JITUAN::FormCapacityAllocationResults' + shown: true + componentID: 'QTIANMA_JITUAN::FormCapacityAllocationResults' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 1 + columnSpan: 4 + } + components + { + FormCapacityAllocationResults_ListCapacityAllocationResults + { + } + FormCapacityAllocationResults_DataSetLevelCapacityAllocationResults + { + groupDepth: -1 + column_VersionNumber + { + columnId: 'VersionNumber' + dataPath: 'VersionNumber' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_PanelMaterialCode + { + columnId: 'PanelMaterialCode' + dataPath: 'PanelMaterialCode' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_NumberOfPanels + { + columnId: 'NumberOfPanels' + dataPath: 'NumberOfPanels' + dataType: 'real' + index: 2 + subtotals: '' + width: 150 + } + column_PanelMeasurementUnit + { + columnId: 'PanelMeasurementUnit' + dataPath: 'PanelMeasurementUnit' + dataType: 'string' + index: 3 + subtotals: '' + width: 150 + } + column_ModuleMaterialCode + { + columnId: 'ModuleMaterialCode' + dataPath: 'ModuleMaterialCode' + dataType: 'string' + index: 4 + subtotals: '' + width: 150 + } + column_NumberOfModules + { + columnId: 'NumberOfModules' + dataPath: 'NumberOfModules' + dataType: 'real' + index: 5 + subtotals: '' + width: 150 + } + column_ModuleMeasurementUnit + { + columnId: 'ModuleMeasurementUnit' + dataPath: 'ModuleMeasurementUnit' + dataType: 'string' + index: 6 + subtotals: '' + width: 150 + } + column_Division + { + columnId: 'Division' + dataPath: 'Division' + dataType: 'string' + index: 7 + subtotals: '' + width: 150 + } + column_RequirementDate + { + columnId: 'RequirementDate' + dataPath: 'RequirementDate' + dataType: 'date' + index: 8 + subtotals: '' + width: 150 + } + } + } + } + form_FormPanelPullPlanReport + { + title: 'QTIANMA_JITUAN::FormPanelPullPlanReport' + shown: true + componentID: 'QTIANMA_JITUAN::FormPanelPullPlanReport' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 15 + columnPosition: 5 + columnSpan: 7 + } + components + { + FormPanelPullPlanReport_PanelPanelPullPlanReport + { + sizeRatio: 1 + } + FormPanelPullPlanReport_PanelFunctionButtons + { + sizeRatio: 1 + } + FormPanelPullPlanReport_PanelData + { + sizeRatio: 1 + } + FormPanelPullPlanReport_ListData + { + } + FormPanelPullPlanReport_DataSetLevelData + { + groupDepth: -1 + column_PanelModel + { + columnId: 'PanelModel' + dataPath: 'PanelModel' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_MaterialDescription + { + columnId: 'MaterialDescription' + dataPath: 'MaterialDescription' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_StartDate + { + columnId: 'StartDate' + dataPath: 'StartDate' + dataType: 'date' + index: 2 + subtotals: '' + width: 150 + } + column_DemandQuantity + { + columnId: 'DemandQuantity' + dataPath: 'DemandQuantity' + dataType: 'real' + index: 3 + subtotals: '' + width: 150 + } + } + } + } + } + userconfigurableinformation + { + } page: '' group: '' index: 0 -- Gitblit v1.9.3