From d598404c814ad8556159c0922c90dccbb7ee649f Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 20 三月 2024 15:36:09 +0800 Subject: [PATCH] 固定表单 --- Source/ProjectWeb/src/views/base/uiDefineVO.js | 367 +++++++++++++++++++++++++++++++++------------------- 1 files changed, 233 insertions(+), 134 deletions(-) diff --git a/Source/ProjectWeb/src/views/base/uiDefineVO.js b/Source/ProjectWeb/src/views/base/uiDefineVO.js index ed29532..91116b3 100644 --- a/Source/ProjectWeb/src/views/base/uiDefineVO.js +++ b/Source/ProjectWeb/src/views/base/uiDefineVO.js @@ -44,7 +44,11 @@ "name": "鍒锋柊", "oid": "E20C314B-E741-FBE0-534A-D68E9C0D8E2C", "orderNum": 6, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonType': 'primary', + 'buttonMethods': 'refresh' + }, "pkComponent": "2D6D571B-BB6E-677D-9764-191BC5D5D3F1", "pkParentOid": "", "url": "RefreshAction" @@ -950,7 +954,10 @@ "paramVOS": { "owner": "true", "context": "CreateAuditQuestionDocume", - "type": "document" + "type": "document", + 'location': 'edit', + 'buttonMethods': 'edit', + 'buttonType':'text' }, "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE", "pkParentOid": "", @@ -989,7 +996,10 @@ "oid": "BE973D4A-CB99-10FC-3E31-F3010259F823", "orderNum": 2, "paramVOS": { - "owner": "true" + "owner": "true", + 'location': 'menu', + 'buttonType': 'text', + 'buttonMethods': 'delete' }, "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE", "pkParentOid": "", @@ -1027,7 +1037,11 @@ "name": "鍒锋柊", "oid": "A860B3E6-8FA5-92AE-8D8A-A2AE5CC552F4", "orderNum": 3, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonType': 'primary', + 'buttonMethods': 'refresh' + }, "pkComponent": "E00C3C31-D27F-E3AC-6C2B-1882EE8B6FEE", "pkParentOid": "", "url": "RefreshAction" @@ -1542,7 +1556,10 @@ "paramVOS": { "form": "CreateDocument", "type": "document", - "initvalue": "doctype=9;processreviewoid=root.${oid}" + "initvalue": "doctype=9;processreviewoid=root.${oid}", + 'location': 'top', + 'buttonType': 'primary', + 'buttonMethods': 'add' }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", @@ -1562,7 +1579,7 @@ "lastModifyTime": "2013-11-09 10:32:41.000", "licensors": null, "name": "淇敼", - "oid": "F8534EFE-130B-0CB3-D477-2AC7B19B7DC4" + "oid": "F8534EFE-130B-0CB3-D477-2AC7B19B7DC4", }, "areaType": "tab", "authorization": true, @@ -1582,7 +1599,9 @@ "orderNum": 2, "paramVOS": { "form": "CreateDocument", - "checkNotOperation": "${lcstatus}=Editing" + "checkNotOperation": "${lcstatus}=Editing", + 'location': 'menu', + 'buttonMethods': 'edit' }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", @@ -1622,7 +1641,10 @@ "orderNum": 3, "paramVOS": { "owner": "true", - "checkNotOperation": "${lcstatus}=Editing" + "checkNotOperation": "${lcstatus}=Editing", + 'location': 'menu', + 'buttonType': 'text', + 'buttonMethods': 'delete' }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", @@ -1663,7 +1685,9 @@ "paramVOS": { "owner": "true", "forsourcedata": "false", - "state": "Editing" + "state": "Editing", + 'location': 'top', + 'buttonMethods': 'upload' }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", @@ -1704,7 +1728,9 @@ "paramVOS": { "owner": "true", "flowtemplates": "宸ヨ壓鏂囨。瀹$娴佺▼", - "type": "document" + "type": "document", + 'location': 'top', + 'buttonMethods': 'launchworkflow' }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", @@ -1742,7 +1768,10 @@ "name": "鍒锋柊", "oid": "110B50FD-67F2-8EA2-0400-D25D591218BA", "orderNum": 6, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonMethods': 'refresh' + }, "pkComponent": "8FA7A8BD-5063-B118-D4FC-E5233404D182", "pkParentOid": "", "url": "RefreshAction" @@ -2457,7 +2486,10 @@ "oid": "A6D905FA-33FA-E76E-7E5C-BEA2A25D0640", "orderNum": 2, "paramVOS": { - "setpath": "true" + "setpath": "true", + 'location': 'top', + 'buttonType': 'primary', + 'buttonMethods': 'download' }, "pkComponent": "F6380995-A148-5EA4-46B8-65168D9F187C", "pkParentOid": "", @@ -2495,7 +2527,11 @@ "name": "鍒锋柊", "oid": "2D6CF3C0-8E18-CEED-0C04-A50628626D7D", "orderNum": 4, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonType': 'primary', + 'buttonMethods': 'refresh' + }, "pkComponent": "F6380995-A148-5EA4-46B8-65168D9F187C", "pkParentOid": "", "url": "RefreshAction" @@ -3014,7 +3050,9 @@ "orderNum": 1, "paramVOS": { "state": "Editing", - "checkout": "me;null" + "checkout": "me;null", + 'location': 'top', + 'buttonMethods': 'upload' }, "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA", "pkParentOid": "", @@ -3053,7 +3091,9 @@ "oid": "C76600A6-F38C-107F-CBFB-F33A1EC6B605", "orderNum": 2, "paramVOS": { - "setpath": "true" + "setpath": "true", + 'location': 'top', + 'buttonMethods': 'download', }, "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA", "pkParentOid": "", @@ -3094,7 +3134,9 @@ "paramVOS": { "owner": "true", "state": "Editing", - "checkout": "me;null" + "checkout": "me;null", + 'location': 'menu', + 'buttonMethods': 'delete' }, "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA", "pkParentOid": "", @@ -3132,7 +3174,10 @@ "name": "鍒锋柊", "oid": "E9119347-26C4-3BE8-2EA2-B4FCC54120CF", "orderNum": 4, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonMethods': 'refresh' + }, "pkComponent": "A8572D5B-444E-C223-D5C7-7B02698852DA", "pkParentOid": "", "url": "RefreshAction" @@ -3177,122 +3222,164 @@ "cols": [ [ { - "align": "left", - "colspan": 1, - "comboxKey": null, - "data": [], - "dateFormate": null, - "edit": "", - "editConfig": null, - "event": null, - "field": "name", - "fieldType": "text", - "fixed": null, - "hidden": false, - "minWidth": null, - "optionButtons": null, - "optionField": false, - "optionJsMap": null, - "queryField": null, - "referConfig": null, - "rowspan": 1, - "showField": null, - "sort": false, - "sortField": null, - "style": null, - "templet": null, - "title": "鍚嶇О", - "unresize": false, - "width": 300 + 'comboxKey': null, + 'customClass': null, + 'data': null, + 'dateFormate': null, + 'defaultValue': "", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "name", + 'hidden': false, + 'keyAttr': true, + 'prefix': null, + 'readOnly': false, + 'referConfig': null, + 'required': true, + 'selectLibFlag': null, + 'showField': null, + 'suffix': '$', + 'text': "鍚嶇О", + 'tooltips': '鍚嶇О', + 'type': "text", + 'unique': false, + 'verify': "" }, { - "align": "left", - "colspan": 1, - "comboxKey": null, - "data": [], - "dateFormate": null, - "edit": "", - "editConfig": null, - "event": null, - "field": "filesize", - "fieldType": "radio", - "fixed": null, - "hidden": false, - "minWidth": null, - "optionButtons": null, - "optionField": false, - "optionJsMap": null, - "queryField": null, - "referConfig": null, - "rowspan": 1, - "showField": null, - "sort": false, - "sortField": null, - "style": null, - "templet": null, - "title": "鏂囦欢澶у皬", - "unresize": false, - "width": 150 + 'comboxKey': null, + 'customClass': null, + 'data': null, + 'dateFormate': null, + 'defaultValue': "", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "code", + 'hidden': false, + 'keyAttr': false, + 'prefix': null, + 'readOnly': false, + 'referConfig': null, + 'required': false, + 'selectLibFlag': null, + 'showField': null, + 'suffix': null, + 'disabled':true, + 'text': "缂栫爜", + 'tooltips': null, + 'type': "text", + 'unique': false, + 'verify': "" }, { - "align": "left", - "colspan": 1, - "comboxKey": null, - "data": [], - "dateFormate": null, - "edit": "", - "editConfig": null, - "event": null, - "field": "creator_name,(,creator,)", - "fieldType": "text", - "fixed": null, - "hidden": false, - "minWidth": null, - "optionButtons": null, - "optionField": false, - "optionJsMap": null, - "queryField": null, - "referConfig": null, - "rowspan": 1, - "showField": null, - "sort": false, - "sortField": "creator", - "style": null, - "templet": null, - "title": "鍒涘缓鑰�", - "unresize": false, - "width": 150 + 'comboxKey': "EnumReviewType", + 'customClass': null, + 'data': null, + 'dateFormate': null, + 'defaultValue': "department", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "reviewtype", + 'hidden': false, + 'keyAttr': false, + 'prefix': null, + 'readOnly': false, + 'referConfig': null, + 'required': false, + 'selectLibFlag': null, + 'showField': null, + 'suffix': null, + 'text': "绫诲瀷", + 'tooltips': null, + 'type': "combox", + 'unique': false, + 'verify': "", + 'dicData': [{ + 'label': '娴嬭瘯1', + 'value': 'department' + }, { + 'label': '娴嬭瘯2', + 'value': 'departments' + }] }, { - "align": "left", - "colspan": 1, - "comboxKey": null, - "data": [], - "dateFormate": "yyyy-MM-dd HH:mm:ss", - "edit": "", - "editConfig": null, - "event": null, - "field": "createtime", - "fieldType": "text", - "fixed": null, - "hidden": false, - "minWidth": null, - "optionButtons": null, - "optionField": false, - "optionJsMap": null, - "queryField": null, - "referConfig": null, - "rowspan": 1, - "showField": null, - "sort": false, - "sortField": null, - "style": null, - "templet": null, - "title": "鍒涘缓鏃堕棿", - "unresize": false, - "width": 150 - } - ] + 'comboxKey': null, + 'customClass': null, + 'data': null, + 'dateFormate': null, + 'defaultValue': "", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "creator", + 'hidden': true, + 'keyAttr': false, + 'prefix': null, + 'readOnly': true, + 'referConfig': null, + 'required': false, + 'selectLibFlag': null, + 'showField': null, + 'suffix': null, + 'text': "鍒涘缓浜�", + 'tooltips': null, + 'type': "text", + 'unique': false, + 'verify': "" + }, + { + 'comboxKey': null, + 'customClass': null, + 'data': null, + 'dateFormate': "yyyy-MM-dd HH:mm:ss", + 'defaultValue': "", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "createtime", + 'hidden': true, + 'keyAttr': false, + 'prefix': null, + 'readOnly': false, + 'referConfig': null, + 'required': false, + 'selectLibFlag': null, + 'showField': null, + 'suffix': null, + 'text': "鍒涘缓鏃堕棿", + 'tooltips': null, + 'type': "datetime", + 'unique': false, + 'verify': "" + }, + { + 'comboxKey': null, + 'customClass': null, + 'data': null, + 'dateFormate': null, + 'defaultValue': "", + 'displayExtension': "", + 'extendAttrMap': null, + 'extendAttrString': null, + 'field': "content", + 'hidden': false, + 'keyAttr': false, + 'prefix': null, + 'readOnly': false, + 'referConfig': null, + 'required': false, + 'selectLibFlag': null, + 'showField': null, + 'suffix': null, + 'text': "澶囨敞", + 'tooltips': null, + 'type': "textarea", + 'unique': false, + 'verify': "" + }, + ], ], "displayFolder": false, "displayQueryArea": false, @@ -3530,8 +3617,8 @@ "treeDefineVO": null, "treeTableDefineVO": null, "ts": null, - "uiComponentType": "table", - "uiComponentTypeText": "琛ㄦ牸", + "uiComponentType": "form", + "uiComponentTypeText": "琛ㄥ崟", "uiParseClass": "", "versionRule": null, "versionSeq": 0, @@ -3629,7 +3716,9 @@ "paramVOS": { "form": "createAuditTask_web", "state": "Waiting", - "type": "audittask" + "type": "audittask", + 'location': 'top', + 'buttonMethods': 'add' }, "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD", "pkParentOid": "", @@ -3667,7 +3756,10 @@ "name": "鍙紑鍐呴儴璇勫", "oid": "1E72BCA6-4FB2-0BC8-BE99-F6EDC43CCA10", "orderNum": 2, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonMethods': 'conductinternalreview' + }, "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD", "pkParentOid": "", "url": "" @@ -3707,7 +3799,9 @@ "paramVOS": { "context": "CreateAuditQuestionDocume", "type": "document", - "initvalue": "processreviewoid=${oid};doctype=8" + "initvalue": "processreviewoid=${oid};doctype=8", + 'location': 'top', + 'buttonMethods': 'add' }, "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD", "pkParentOid": "", @@ -3747,7 +3841,9 @@ "orderNum": 4, "paramVOS": { "form": "CreateAuditQuestionDocument", - "type": "document" + "type": "document", + 'location': 'top', + 'buttonMethods': 'opinionsummary' }, "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD", "pkParentOid": "", @@ -3785,7 +3881,10 @@ "name": "鍒锋柊", "oid": "F52BE746-4D0E-9E00-1D5E-E3729DEEE1FA", "orderNum": 9, - "paramVOS": {}, + "paramVOS": { + 'location': 'top', + 'buttonMethods': 'refresh' + }, "pkComponent": "8D269B20-03E4-A9B0-7D06-4BE074EEF4DD", "pkParentOid": "", "url": "RefreshAction" -- Gitblit v1.9.3