From ef5fd48351e372740b09e1bce39137c43d1c1d4b Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 21 三月 2024 14:01:02 +0800
Subject: [PATCH] UI上下文展示引擎

---
 Source/ProjectWeb/src/views/base/uiDefineVO.js |  371 ++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 266 insertions(+), 105 deletions(-)

diff --git a/Source/ProjectWeb/src/views/base/uiDefineVO.js b/Source/ProjectWeb/src/views/base/uiDefineVO.js
index 91116b3..90aee0a 100644
--- a/Source/ProjectWeb/src/views/base/uiDefineVO.js
+++ b/Source/ProjectWeb/src/views/base/uiDefineVO.js
@@ -45,9 +45,9 @@
               "oid": "E20C314B-E741-FBE0-534A-D68E9C0D8E2C",
               "orderNum": 6,
               "paramVOS": {
-                'location': 'top',
-                'buttonType': 'primary',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonType': 'primary',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "2D6D571B-BB6E-677D-9764-191BC5D5D3F1",
               "pkParentOid": "",
@@ -955,9 +955,9 @@
                 "owner": "true",
                 "context": "CreateAuditQuestionDocume",
                 "type": "document",
-                'location': 'edit',
-                'buttonMethods': 'edit',
-                'buttonType':'text'
+                'webUiButtonLocation': 'edit',
+                'webUiButtonMethods': 'edit',
+                'webUiButtonType':'text'
               },
               "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE",
               "pkParentOid": "",
@@ -997,9 +997,9 @@
               "orderNum": 2,
               "paramVOS": {
                 "owner": "true",
-                'location': 'menu',
-                'buttonType': 'text',
-                'buttonMethods': 'delete'
+                'webUiButtonLocation': 'menu',
+                'webUiButtonType': 'text',
+                'webUiButtonMethods': 'delete'
               },
               "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE",
               "pkParentOid": "",
@@ -1038,9 +1038,9 @@
               "oid": "A860B3E6-8FA5-92AE-8D8A-A2AE5CC552F4",
               "orderNum": 3,
               "paramVOS": {
-                'location': 'top',
-                'buttonType': 'primary',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonType': 'primary',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE",
               "pkParentOid": "",
@@ -1469,7 +1469,7 @@
           "versionRule": null,
           "versionSeq": 0,
           "versionValue": null
-        }
+        },
       ],
       "copyFromVersion": null,
       "createTime": "2022-02-08 10:40:50.000",
@@ -1557,9 +1557,9 @@
                 "form": "CreateDocument",
                 "type": "document",
                 "initvalue": "doctype=9;processreviewoid=root.${oid}",
-                'location': 'top',
-                'buttonType': 'primary',
-                'buttonMethods': 'add'
+                'webUiButtonLocation': 'top',
+                'webUiButtonType': 'primary',
+                'webUiButtonMethods': 'add'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -1600,8 +1600,8 @@
               "paramVOS": {
                 "form": "CreateDocument",
                 "checkNotOperation": "${lcstatus}=Editing",
-                'location': 'menu',
-                'buttonMethods': 'edit'
+                'webUiButtonLocation': 'menu',
+                'webUiButtonMethods': 'edit'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -1642,9 +1642,9 @@
               "paramVOS": {
                 "owner": "true",
                 "checkNotOperation": "${lcstatus}=Editing",
-                'location': 'menu',
-                'buttonType': 'text',
-                'buttonMethods': 'delete'
+                'webUiButtonLocation': 'menu',
+                'webUiButtonType': 'text',
+                'webUiButtonMethods': 'delete'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -1686,8 +1686,8 @@
                 "owner": "true",
                 "forsourcedata": "false",
                 "state": "Editing",
-                'location': 'top',
-                'buttonMethods': 'upload'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'upload'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -1729,8 +1729,8 @@
                 "owner": "true",
                 "flowtemplates": "宸ヨ壓鏂囨。瀹$娴佺▼",
                 "type": "document",
-                'location': 'top',
-                'buttonMethods': 'launchworkflow'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'launchworkflow'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -1769,8 +1769,8 @@
               "oid": "110B50FD-67F2-8EA2-0400-D25D591218BA",
               "orderNum": 6,
               "paramVOS": {
-                'location': 'top',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182",
               "pkParentOid": "",
@@ -2487,9 +2487,9 @@
               "orderNum": 2,
               "paramVOS": {
                 "setpath": "true",
-                'location': 'top',
-                'buttonType': 'primary',
-                'buttonMethods': 'download'
+                'webUiButtonLocation': 'top',
+                'webUiButtonType': 'primary',
+                'webUiButtonMethods': 'download'
               },
               "pkComponent": "F6380995-A148-5EA4-46B8-65168D9F187C",
               "pkParentOid": "",
@@ -2528,9 +2528,9 @@
               "oid": "2D6CF3C0-8E18-CEED-0C04-A50628626D7D",
               "orderNum": 4,
               "paramVOS": {
-                'location': 'top',
-                'buttonType': 'primary',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonType': 'primary',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "F6380995-A148-5EA4-46B8-65168D9F187C",
               "pkParentOid": "",
@@ -3051,8 +3051,8 @@
               "paramVOS": {
                 "state": "Editing",
                 "checkout": "me;null",
-                'location': 'top',
-                'buttonMethods': 'upload'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'upload'
               },
               "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA",
               "pkParentOid": "",
@@ -3092,8 +3092,8 @@
               "orderNum": 2,
               "paramVOS": {
                 "setpath": "true",
-                'location': 'top',
-                'buttonMethods': 'download',
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'download',
               },
               "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA",
               "pkParentOid": "",
@@ -3135,8 +3135,8 @@
                 "owner": "true",
                 "state": "Editing",
                 "checkout": "me;null",
-                'location': 'menu',
-                'buttonMethods': 'delete'
+                'webUiButtonLocation': 'menu',
+                'webUiButtonMethods': 'delete'
               },
               "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA",
               "pkParentOid": "",
@@ -3175,8 +3175,8 @@
               "oid": "E9119347-26C4-3BE8-2EA2-B4FCC54120CF",
               "orderNum": 4,
               "paramVOS": {
-                'location': 'top',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA",
               "pkParentOid": "",
@@ -3717,8 +3717,8 @@
                 "form": "createAuditTask_web",
                 "state": "Waiting",
                 "type": "audittask",
-                'location': 'top',
-                'buttonMethods': 'add'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'add'
               },
               "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD",
               "pkParentOid": "",
@@ -3757,8 +3757,8 @@
               "oid": "1E72BCA6-4FB2-0BC8-BE99-F6EDC43CCA10",
               "orderNum": 2,
               "paramVOS": {
-                'location': 'top',
-                'buttonMethods': 'conductinternalreview'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'conductinternalreview'
               },
               "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD",
               "pkParentOid": "",
@@ -3800,8 +3800,8 @@
                 "context": "CreateAuditQuestionDocume",
                 "type": "document",
                 "initvalue": "processreviewoid=${oid};doctype=8",
-                'location': 'top',
-                'buttonMethods': 'add'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'add'
               },
               "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD",
               "pkParentOid": "",
@@ -3842,8 +3842,8 @@
               "paramVOS": {
                 "form": "CreateAuditQuestionDocument",
                 "type": "document",
-                'location': 'top',
-                'buttonMethods': 'opinionsummary'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'opinionsummary'
               },
               "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD",
               "pkParentOid": "",
@@ -3882,8 +3882,8 @@
               "oid": "F52BE746-4D0E-9E00-1D5E-E3729DEEE1FA",
               "orderNum": 9,
               "paramVOS": {
-                'location': 'top',
-                'buttonMethods': 'refresh'
+                'webUiButtonLocation': 'top',
+                'webUiButtonMethods': 'refresh'
               },
               "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD",
               "pkParentOid": "",
@@ -4624,79 +4624,240 @@
               "actionVO": {
                 "actionCls": "",
                 "actionUsedType": "business",
-                "bsUrl": "null",
-                "createTime": "2014-03-14 15:54:05.000",
-                "creator": "1",
-                "csClass": "plm.uif.actions.client.AddSaveAction",
-                "description": "鍒涘缓淇濆瓨鎸夐挳",
-                "id": "addsave",
-                "lastModifier": "1",
-                "lastModifyTime": "2014-03-14 15:54:05.000",
+                "bsUrl": "BaseAddAction#doAction",
+                "createTime": "2013-11-01 15:17:45.000",
+                "creator": "eddieliu",
+                "csClass": "plm.uif.actions.client.AddAction",
+                "description": "鍒涘缓涓氬姟瀵硅薄",
+                "id": "add",
+                "lastModifier": "developer",
+                "lastModifyTime": "2013-11-01 15:17:45.000",
                 "licensors": null,
-                "name": "鍒涘缓淇濆瓨鎸夐挳",
-                "oid": "2AAFDEE1-B760-A0AD-6C2A-CB2C0C3407A3"
+                "name": "鍒涘缓",
+                "oid": "65274704-5557-231C-E3EA-0B32B9BD5A0B"
               },
               "areaType": "tab",
               "authorization": true,
               "children": null,
-              "createTime": "2024-03-15 10:52:57.000",
+              "createTime": "2024-03-18 16:41:40.000",
               "creator": "developer",
-              "csUrl": "plm.uif.actions.client.AddSaveAction",
-              "description": "",
+              "csUrl": "plm.uif.actions.client.AddAction",
+              "description": "娣诲姞鍒嗙被",
               "displayMode": "textandimage",
               "hidden": false,
               "iconPath": "",
-              "id": "addsave",
+              "id": "add",
               "lastModifier": "developer",
-              "lastModifyTime": "2024-03-15 10:52:57.000",
-              "name": "鏂板",
-              "oid": "A974C16B-4751-6365-8756-C11B74AA1C53",
+              "lastModifyTime": "2024-03-18 16:41:40.000",
+              "name": "娣诲姞",
+              "oid": "3FE96F2B-0A07-0340-0382-A3E5527A22DC",
               "orderNum": 1,
               "paramVOS": {
-                "type": "folder"
+                "form": "editdocumentfolder_dept",
+                "type": "folder",
+                "initValue": "folderbusinesstype=閮ㄩ棬鍒嗙被"
               },
-              "pkComponent": "0BA77BDF-7023-AE81-4EAC-7396C56FA7C9",
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
               "pkParentOid": "",
-              "url": "null"
+              "url": "BaseAddAction#doAction"
             },
             {
               "actionVO": {
                 "actionCls": "",
                 "actionUsedType": "business",
-                "bsUrl": "null",
-                "createTime": "2014-03-14 15:54:05.000",
-                "creator": "1",
-                "csClass": "plm.uif.actions.client.AddSaveAction",
-                "description": "鍒涘缓淇濆瓨鎸夐挳",
-                "id": "addsave",
-                "lastModifier": "1",
-                "lastModifyTime": "2014-03-14 15:54:05.000",
+                "bsUrl": "BaseAddAction#doAction",
+                "createTime": "2013-11-01 15:17:45.000",
+                "creator": "eddieliu",
+                "csClass": "plm.uif.actions.client.AddAction",
+                "description": "鍒涘缓涓氬姟瀵硅薄",
+                "id": "add",
+                "lastModifier": "developer",
+                "lastModifyTime": "2013-11-01 15:17:45.000",
                 "licensors": null,
-                "name": "鍒涘缓淇濆瓨鎸夐挳",
-                "oid": "2AAFDEE1-B760-A0AD-6C2A-CB2C0C3407A3"
+                "name": "鍒涘缓",
+                "oid": "65274704-5557-231C-E3EA-0B32B9BD5A0B"
               },
               "areaType": "tab",
               "authorization": true,
               "children": null,
-              "createTime": "2024-03-15 10:52:57.000",
+              "createTime": "2024-03-18 16:22:07.000",
               "creator": "developer",
-              "csUrl": "plm.uif.actions.client.AddSaveAction",
+              "csUrl": "plm.uif.actions.client.AddAction",
+              "description": "娣诲姞鍒嗙被",
+              "displayMode": "textandimage",
+              "hidden": true,
+              "iconPath": "",
+              "id": "add",
+              "lastModifier": "developer",
+              "lastModifyTime": "2024-03-18 16:22:07.000",
+              "name": "娣诲姞",
+              "oid": "D6F4FD65-B0B8-3622-3928-A564010592DC",
+              "orderNum": 2,
+              "paramVOS": {
+                "seccontext": "editdocumentfolder",
+                "context": "editdocumentfolder",
+                "querytemplate": "documentlibroot",
+                "rootbusinesstype": "documentlib",
+                "type": "folder",
+                "initvalue": "folderoid=${oid};folderbusinesstype=${folderbusinesstype}"
+              },
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
+              "pkParentOid": "",
+              "url": "BaseAddAction#doAction"
+            },
+            {
+              "actionVO": {
+                "actionCls": "",
+                "actionUsedType": "business",
+                "bsUrl": "BaseEditAction#doAction",
+                "createTime": "2013-11-09 10:32:41.000",
+                "creator": "eddieliu",
+                "csClass": "plm.uif.actions.client.EditAction",
+                "description": "淇敼涓氬姟瀵硅薄",
+                "id": "edit",
+                "lastModifier": "developer",
+                "lastModifyTime": "2013-11-09 10:32:41.000",
+                "licensors": null,
+                "name": "淇敼",
+                "oid": "F8534EFE-130B-0CB3-D477-2AC7B19B7DC4"
+              },
+              "areaType": "tab",
+              "authorization": true,
+              "children": null,
+              "createTime": "2024-03-18 16:05:12.000",
+              "creator": "secAdmin",
+              "csUrl": "plm.uif.actions.client.EditAction",
+              "description": "淇敼閫変腑鐨勫垎绫�",
+              "displayMode": "textandimage",
+              "hidden": false,
+              "iconPath": "",
+              "id": "edit",
+              "lastModifier": "secAdmin",
+              "lastModifyTime": "2024-03-18 16:05:12.000",
+              "name": "淇敼",
+              "oid": "4E6B22C5-BD68-A7F6-712F-900033A0A32D",
+              "orderNum": 3,
+              "paramVOS": {
+                "context": "editdocumentfolder",
+                "type": "folder",
+                "initvalue": "folderoid=${oid}"
+              },
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
+              "pkParentOid": "",
+              "url": "BaseEditAction#doAction"
+            },
+            {
+              "actionVO": {
+                "actionCls": "",
+                "actionUsedType": "business",
+                "bsUrl": "",
+                "createTime": "2015-01-27 17:14:08.000",
+                "creator": "developer",
+                "csClass": "net=VCI.PPR.Actions.dll",
+                "description": "鍒犻櫎鍒嗙被鑺傜偣",
+                "id": "delfolder",
+                "lastModifier": "developer",
+                "lastModifyTime": "2015-01-27 17:14:08.000",
+                "licensors": null,
+                "name": "鍒犻櫎鍒嗙被鑺傜偣",
+                "oid": "4DCA9256-1E79-A4DC-6E1F-723F55E44B35"
+              },
+              "areaType": "tab",
+              "authorization": true,
+              "children": null,
+              "createTime": "2024-03-18 16:05:12.000",
+              "creator": "developer",
+              "csUrl": "net=VCI.PPR.Actions.dll",
+              "description": "鍒犻櫎",
+              "displayMode": "textandimage",
+              "hidden": false,
+              "iconPath": "",
+              "id": "delfolder",
+              "lastModifier": "developer",
+              "lastModifyTime": "2024-03-18 16:05:12.000",
+              "name": "鍒犻櫎",
+              "oid": "60B88211-5E0C-26F8-0E0B-B25A52EADABE",
+              "orderNum": 4,
+              "paramVOS": {
+                "deleteroot": "true"
+              },
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
+              "pkParentOid": "",
+              "url": ""
+            },
+            {
+              "actionVO": {
+                "actionCls": "",
+                "actionUsedType": "business",
+                "bsUrl": "RefreshAction",
+                "createTime": "2014-10-16 13:07:56.000",
+                "creator": "developer",
+                "csClass": "",
+                "description": "鍒锋柊椤甸潰",
+                "id": "refresh",
+                "lastModifier": "developer",
+                "lastModifyTime": "2014-10-16 13:07:56.000",
+                "licensors": null,
+                "name": "鍒锋柊锛堥噸缃級",
+                "oid": "526E913C-231F-E4CF-D90D-AB968F8C8D45"
+              },
+              "areaType": "",
+              "authorization": true,
+              "children": null,
+              "createTime": "2024-03-18 16:05:12.000",
+              "creator": "developer",
+              "csUrl": "",
+              "description": "鍒锋柊",
+              "displayMode": "textandimage",
+              "hidden": false,
+              "iconPath": "",
+              "id": "refresh",
+              "lastModifier": "developer",
+              "lastModifyTime": "2024-03-18 16:05:12.000",
+              "name": "鍒锋柊",
+              "oid": "0AA227B2-79DF-13B3-9DDE-7ADAFA1AC4E7",
+              "orderNum": 5,
+              "paramVOS": {},
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
+              "pkParentOid": "",
+              "url": "RefreshAction"
+            },
+            {
+              "actionVO": {
+                "actionCls": "B1DD4B55-4210-29DD-2656-4B9DA12BDAD8",
+                "actionUsedType": "business",
+                "bsUrl": "",
+                "createTime": "2021-03-23 17:38:34.000",
+                "creator": "developer",
+                "csClass": "net=VCI.PPR.Actions.dll",
+                "description": "",
+                "id": "movetootherfolder",
+                "lastModifier": "developer",
+                "lastModifyTime": "2021-03-23 17:38:34.000",
+                "licensors": null,
+                "name": "绉诲埌鍏朵粬鍒嗙被",
+                "oid": "73C86108-0649-B649-518B-8294FCDD302E"
+              },
+              "areaType": "tab",
+              "authorization": true,
+              "children": null,
+              "createTime": "2024-03-18 16:05:12.000",
+              "creator": "secAdmin",
+              "csUrl": "net=VCI.PPR.Actions.dll",
               "description": "",
               "displayMode": "textandimage",
               "hidden": false,
               "iconPath": "",
-              "id": "addsave",
-              "lastModifier": "developer",
-              "lastModifyTime": "2024-03-15 10:52:57.000",
-              "name": "鏂板",
-              "oid": "A974C16B-4751-6365-8756-C11B74AA1C53",
-              "orderNum": 1,
-              "paramVOS": {
-                "type": "folder"
-              },
-              "pkComponent": "0BA77BDF-7023-AE81-4EAC-7396C56FA7C9",
+              "id": "movetootherfolder",
+              "lastModifier": "secAdmin",
+              "lastModifyTime": "2024-03-18 16:05:12.000",
+              "name": "绉诲埌鍏朵粬鍒嗙被",
+              "oid": "682D5C6F-9F2E-123E-6D4E-EB4C82B5A565",
+              "orderNum": 6,
+              "paramVOS": {},
+              "pkComponent": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
               "pkParentOid": "",
-              "url": "null"
+              "url": ""
             }
           ],
           "checkInBy": null,
@@ -4708,7 +4869,7 @@
           "creator": null,
           "customClass": null,
           "data": null,
-          "description": "",
+          "description": "鍒嗙被鏍�",
           "extendAttr": "",
           "firstR": null,
           "firstV": null,
@@ -4721,12 +4882,12 @@
           "lcStatus": null,
           "lcStatusText": null,
           "lctid": null,
-          "name": "宸ヨ壓璇勫鏍�",
+          "name": "鍒嗙被鏍�",
           "nameOid": null,
-          "oid": "0BA77BDF-7023-AE81-4EAC-7396C56FA7C9",
-          "orderNum": 2,
+          "oid": "7170DFF8-C1DE-04A8-46F0-BC4379980BC7",
+          "orderNum": 1,
           "owner": null,
-          "pkLayout": "E28B0555-FAF3-4F59-0EE8-64A30A77C9CB",
+          "pkLayout": "7DDAED74-95BC-FDCE-53F4-A5E72815D5E6",
           "revisionOid": null,
           "revisionRule": null,
           "revisionSeq": 0,
@@ -4738,13 +4899,13 @@
             "btmType": "folder",
             "fieldSep": ",",
             "linkType": "",
-            "loadType": "node",
-            "orientation": true,
-            "queryTemplateName": "cardtemplateflodertree",
-            "rootContent": "id",
+            "loadType": "all",
+            "orientation": false,
+            "queryTemplateName": "querySubFolder",
+            "rootContent": "${name}",
             "showImage": false,
-            "showLinkAbs": "affiliatedfolder,material",
-            "treeNodeExpression": "name"
+            "showLinkAbs": "${name}",
+            "treeNodeExpression": "${name}[${folderbusinesstype}]"
           },
           "treeTableDefineVO": null,
           "ts": null,

--
Gitblit v1.9.3