From a8ad9cb0034b36434e2acddbede8068bab713cab Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期五, 17 五月 2024 17:52:09 +0800
Subject: [PATCH] 需求导入前端界面

---
 _Main/UI/MacroPlanner/Component_FormTest1/Component_Editor351.def                                                                              |   22 +++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnOk_OnClick#958.def                                   |   16 ++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pPR.def                                                                |   58 +++++++++
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_bRequirementUpload_OnClick.def |   18 +++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsRight.def                                                    |   36 ++++++
 _Main/UI/MacroPlanner/Component_ApplicationLibMacroPlanner/Component_mbMainMenu.def                                                            |    4 
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnCancel_OnClick#653.def                               |   15 ++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsLeft.def                                                     |   54 +++++++++
 _Main/UI/MacroPlanner/Component_FormTest1/_ROOT_Component_FormTest1.def                                                                        |   40 ++++++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlContent.def                                                         |   15 ++
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgRequirementPreprocessing.def                                        |   11 +
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/_ROOT_Component_DialogRequirementUpload.def                                      |   24 ++++
 _Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActions.def                                                         |   21 +++
 13 files changed, 334 insertions(+), 0 deletions(-)

diff --git a/_Main/UI/MacroPlanner/Component_ApplicationLibMacroPlanner/Component_mbMainMenu.def b/_Main/UI/MacroPlanner/Component_ApplicationLibMacroPlanner/Component_mbMainMenu.def
index 5c6c5c5..28047f2 100644
--- a/_Main/UI/MacroPlanner/Component_ApplicationLibMacroPlanner/Component_mbMainMenu.def
+++ b/_Main/UI/MacroPlanner/Component_ApplicationLibMacroPlanner/Component_mbMainMenu.def
@@ -79,6 +79,8 @@
         }
         Component menuSeparator833 { #keys: '[413988.0.1164544044]' BaseType: 'Menu' Properties: [ Separator: true ] }
         Component ComponentMenu469 { #keys: '[413988.0.1164544687]' BaseType: 'ComponentMenu' Properties: [ ComponentType: 'frmStandardAnalysis857' Text: '' ] }
+        Component menuSeparator222 { #keys: '[413988.0.1172464289]' BaseType: 'Menu' Properties: [ Separator: true ] }
+        Component ComponentMenu347 { #keys: '[413988.0.1172464302]' BaseType: 'ComponentMenu' Properties: [ ComponentType: 'FormTest1' Text: '' ] }
       ]
       Properties:
       [
@@ -96,6 +98,8 @@
           c: MenuSelectDemoDataset
           c: menuSeparator833
           c: ComponentMenu469
+          c: menuSeparator222
+          c: ComponentMenu347
         }
       ]
     }
diff --git a/_Main/UI/MacroPlanner/Component_FormTest1/Component_Editor351.def b/_Main/UI/MacroPlanner/Component_FormTest1/Component_Editor351.def
new file mode 100644
index 0000000..74f5b7a
--- /dev/null
+++ b/_Main/UI/MacroPlanner/Component_FormTest1/Component_Editor351.def
@@ -0,0 +1,22 @@
+Quintiq file version 2.0
+Component Editor351
+{
+  #keys: '[413988.0.1172463398]'
+  BaseType: 'Editor'
+  Children:
+  [
+    Component popupEdit592
+    {
+      #keys: '[413988.0.1172463404]'
+      BaseType: 'popupEdit'
+    }
+  ]
+  Properties:
+  [
+    BackgroundColor: 'Window'
+    Border: true
+    ContextMenu: 'popupEdit592'
+    ReadOnly: true
+    WordWrap: true
+  ]
+}
diff --git a/_Main/UI/MacroPlanner/Component_FormTest1/_ROOT_Component_FormTest1.def b/_Main/UI/MacroPlanner/Component_FormTest1/_ROOT_Component_FormTest1.def
new file mode 100644
index 0000000..a44eb49
--- /dev/null
+++ b/_Main/UI/MacroPlanner/Component_FormTest1/_ROOT_Component_FormTest1.def
@@ -0,0 +1,40 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlanner
+OrphanComponent FormTest1
+{
+  #keys: '[413988.0.1172463297]'
+  BaseType: 'Form'
+  GBLayout
+  {
+    Type: 'internal[GBLayoutDefinition]'
+    Columns:
+    [
+      GBFlow.Column { grow: 128 id: 918 parent: 0 }
+    ]
+    Elements:
+    [
+      GBElement
+      {
+        Component => Editor351
+        Position { startcolumn: 918 startrow: 919 endcolumn: 918 endrow: 919 }
+      }
+    ]
+    Gaps: [ left: 0 right: 0 top: 0 bottom: 0 inner: 5 ]
+    Rows:
+    [
+      GBFlow.Row { grow: 0 id: 919 parent: 0 }
+    ]
+  }
+  Children:
+  [
+    #child: Editor351
+  ]
+  Properties:
+  [
+    Height: 225
+    IncludeInView: true
+    Title: 'Test1'
+    Width: 405
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgRequirementPreprocessing.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgRequirementPreprocessing.def
index b4b4725..7a2883b 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgRequirementPreprocessing.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgRequirementPreprocessing.def
@@ -20,6 +20,17 @@
         Taborder: 0
       ]
     }
+    Component bRequirementUpload
+    {
+      #keys: '[413988.0.1170622314]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Image: 'FLASH'
+        Label: 'Requirement upload'
+        Taborder: 1
+      ]
+    }
   ]
   Properties:
   [
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_bRequirementUpload_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_bRequirementUpload_OnClick.def
new file mode 100644
index 0000000..f8ab424
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_bRequirementUpload_OnClick.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: abgRequirementPreprocessing/bRequirementUpload
+Response OnClick () id:Response_MacroPlanner_abgRequirementPreprocessing_bRequirementUpload_OnClick
+{
+  #keys: '[413988.0.1169490444]'
+  CanBindMultiple: false
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogRequirementUpload );
+      
+      ApplicationMacroPlanner.ShowFormModal( dlg );
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pPR.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pPR.def
new file mode 100644
index 0000000..ab9dac2
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pPR.def
@@ -0,0 +1,58 @@
+Quintiq file version 2.0
+Component pPR
+{
+  #keys: '[413988.0.1170662691]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component efPR
+    {
+      #keys: '[413988.0.1170643116]'
+      BaseType: 'WebEditField'
+      Properties:
+      [
+        FixedSize: false
+        Label: 'PR'
+        Taborder: 1
+      ]
+    }
+    Component bPR
+    {
+      #keys: '[413988.0.1171712574]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Image: 'FOLDER'
+        Label: 'Browse...'
+        Taborder: 2
+      ]
+    }
+    Component cPR
+    {
+      #keys: '[413988.0.1171324586]'
+      BaseType: 'WebCheckbox'
+      Properties:
+      [
+        CheckboxType: 'toggle'
+        Label: '鏄惁瀛樻。'
+        Taborder: 3
+      ]
+    }
+    Component lPR
+    {
+      #keys: '[413988.0.1172164199]'
+      BaseType: 'WebLabel'
+      Properties:
+      [
+        NumberOfColumns: 1
+        Taborder: 0
+      ]
+    }
+  ]
+  Properties:
+  [
+    FixedSize: true
+    Orientation: 'horizontal'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActions.def
new file mode 100644
index 0000000..adb7685
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActions.def
@@ -0,0 +1,21 @@
+Quintiq file version 2.0
+Component pnlActions
+{
+  #keys: '[413988.0.1169461042]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    #child: pnlActionsLeft
+    #child: pnlActionsRight
+  ]
+  Properties:
+  [
+    Border: true
+    ExcludeFromActiveComponent: true
+    FixedSize: true
+    Orientation: 'horizontal'
+    Padding: 'true'
+    Style: 'footer'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsLeft.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsLeft.def
new file mode 100644
index 0000000..ab383d9
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsLeft.def
@@ -0,0 +1,54 @@
+Quintiq file version 2.0
+Component pnlActionsLeft
+{
+  #keys: '[413988.0.1170641490]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component bPPA
+    {
+      #keys: '[413988.0.1171171540]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'PPA妯℃澘涓嬭浇'
+        Taborder: 0
+      ]
+    }
+    Component bCurve
+    {
+      #keys: '[413988.0.1171322018]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Curve妯℃澘涓嬭浇'
+        Taborder: 1
+      ]
+    }
+    Component bIDS
+    {
+      #keys: '[413988.0.1171322020]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'IDS妯℃澘涓嬭浇'
+        Taborder: 2
+      ]
+    }
+    Component bIDSFullTable
+    {
+      #keys: '[413988.0.1171322109]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'IDS鍏ㄨ〃涓嬭浇'
+        Taborder: 3
+      ]
+    }
+  ]
+  Properties:
+  [
+    Orientation: 'horizontal'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsRight.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsRight.def
new file mode 100644
index 0000000..224b86f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlActionsRight.def
@@ -0,0 +1,36 @@
+Quintiq file version 2.0
+Component pnlActionsRight
+{
+  #keys: '[413988.0.1171442948]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component btnOk id:btnOk_988
+    {
+      #keys: '[413988.0.1171443038]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'OK'
+        Taborder: 0
+      ]
+    }
+    Component btnCancel id:btnCancel_102
+    {
+      #keys: '[413988.0.1171443105]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Cancel'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    FixedSize: true
+    Orientation: 'horizontal'
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlContent.def
new file mode 100644
index 0000000..23fbe7b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Component_pnlContent.def
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+Component pnlContent
+{
+  #keys: '[413988.0.1169461040]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    #child: pPR
+  ]
+  Properties:
+  [
+    Padding: 'true'
+    Taborder: 0
+  ]
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnCancel_OnClick\043653.def" "b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnCancel_OnClick\043653.def"
new file mode 100644
index 0000000..021ffa6
--- /dev/null
+++ "b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnCancel_OnClick\043653.def"
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: pnlActionsRight/btnCancel_102
+Response OnClick () id:Response_pnlActions_btnCancel_OnClick_653
+{
+  #keys: '[413988.0.1171443104]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.Close();
+    *]
+  }
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnOk_OnClick\043958.def" "b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnOk_OnClick\043958.def"
new file mode 100644
index 0000000..b6c2acd
--- /dev/null
+++ "b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pnlActionsRight_btnOk_OnClick\043958.def"
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#parent: pnlActionsRight/btnOk_988
+Response OnClick () id:Response_pnlActions_btnOk_OnClick_958
+{
+  #keys: '[413988.0.1171443037]'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  GroupServerCalls: true
+  QuillAction
+  {
+    Body:
+    [*
+      Form.ApplyChanges();
+      Form.Close();
+    *]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/_ROOT_Component_DialogRequirementUpload.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/_ROOT_Component_DialogRequirementUpload.def
new file mode 100644
index 0000000..9ad8e02
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/_ROOT_Component_DialogRequirementUpload.def
@@ -0,0 +1,24 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent DialogRequirementUpload
+{
+  #keys: '[413988.0.1169461038]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: pnlContent
+    #child: pnlActions
+  ]
+  Properties:
+  [
+    Alignment: 'trailing'
+    EnterButton: 'btnOk'
+    EscapeButton: 'btnCancel'
+    ExcludeFromActiveComponent: true
+    MinimumColumns: 110
+    MinimumRows: 40
+    Padding: 'false'
+    Title: 'RequirementUpload'
+  ]
+}

--
Gitblit v1.9.3