提交 85401442 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,网页端]

上级 3886caff
...@@ -2229,6 +2229,12 @@ ...@@ -2229,6 +2229,12 @@
"name" : "工作项实体编辑视图", "name" : "工作项实体编辑视图",
"realModelSubType" : "DEEDITVIEW", "realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr08274089DataViewExpView",
"logicName" : "卡片导航测试",
"name" : "卡片导航测试",
"realModelSubType" : "DEDATAVIEWEXPVIEW",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "KanbanEditView", "codeName" : "KanbanEditView",
"logicName" : "看板编辑视图", "logicName" : "看板编辑视图",
......
...@@ -422,7 +422,7 @@ ...@@ -422,7 +422,7 @@
"frontProcessType" : "OTHER", "frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE", "fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠", "name" : "全部折叠",
"scriptCode" : "view.callUIAction('ALLCOLLAPSE');", "scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE", "uIActionTag" : "ALLCOLLAPSE",
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
"frontProcessType" : "OTHER", "frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND", "fullCodeName" : "ALLEXPAND",
"name" : "全部展开", "name" : "全部展开",
"scriptCode" : "view.callUIAction('ALLEXPAND');", "scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND", "uIActionTag" : "ALLEXPAND",
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
"frontProcessType" : "OTHER", "frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE", "fullCodeName" : "COLLAPSE",
"name" : "折叠", "name" : "折叠",
"scriptCode" : "if (data.length > 0) {\r\n const option = data[0];\r\n if (option._nodeId) {\r\n view.callUIAction('COLLAPSE', {id: option._nodeId});\r\n return;\r\n }\r\n}\r\nview.callUIAction('COLLAPSE', {id: params.srfgroupid});", "scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -550,7 +550,7 @@ ...@@ -550,7 +550,7 @@
"frontProcessType" : "OTHER", "frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND", "fullCodeName" : "EXPAND",
"name" : "展开", "name" : "展开",
"scriptCode" : "\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option._nodeId) {\r\n view.callUIAction('EXPAND', {id: option._nodeId});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('EXPAND', {id: params.srfgroupid});", "scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1171,7 +1171,7 @@ ...@@ -1171,7 +1171,7 @@
"frontProcessType" : "OTHER", "frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE", "fullCodeName" : "TOGGLE",
"name" : "切换", "name" : "切换",
"scriptCode" : "if (data.length > 0) {\r\n const option = data[0];\r\n if (option._nodeId) {\r\n view.callUIAction('TOGGLE', {id: option._nodeId});\r\n return;\r\n }\r\n}\r\nview.callUIAction('TOGGLE', {id: params.srfgroupid});", "scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -9453,7 +9453,6 @@ ...@@ -9453,7 +9453,6 @@
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "List", "codeName" : "List",
"controlStyle" : "LISTVIEW",
"controlType" : "LIST", "controlType" : "LIST",
"getCreatePSControlAction" : { "getCreatePSControlAction" : {
"modelref" : true, "modelref" : true,
...@@ -9768,7 +9767,6 @@ ...@@ -9768,7 +9767,6 @@
"name" : "UPDATEDATE", "name" : "UPDATEDATE",
"codeName" : "UpdateDate" "codeName" : "UpdateDate"
}, },
"mobListStyle" : "LISTVIEW",
"navFilter" : "aa", "navFilter" : "aa",
"getNavPSAppView" : { "getNavPSAppView" : {
"modelref" : true, "modelref" : true,
...@@ -10012,7 +10010,8 @@ ...@@ -10012,7 +10010,8 @@
"value" : "11", "value" : "11",
"rawValue" : true "rawValue" : true
} ], } ],
"pagingSize" : 30, "pagingMode" : 2,
"pagingSize" : 10,
"getRemovePSControlAction" : { "getRemovePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "remove", "id" : "remove",
...@@ -74,10 +74,6 @@ ...@@ -74,10 +74,6 @@
"editMode" : true "editMode" : true
} }
} ], } ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "NEWDATA", "name" : "NEWDATA",
"realOpenMode" : "POPUPMODAL", "realOpenMode" : "POPUPMODAL",
......
...@@ -1999,10 +1999,6 @@ ...@@ -1999,10 +1999,6 @@
"editMode" : true "editMode" : true
} }
} ], } ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "NEWDATA", "name" : "NEWDATA",
"realOpenMode" : "POPUPMODAL", "realOpenMode" : "POPUPMODAL",
......
...@@ -2931,6 +2931,10 @@ ...@@ -2931,6 +2931,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08278286GridExpView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08278286GridExpView.json",
"viewType" : "DEGRIDEXPVIEW" "viewType" : "DEGRIDEXPVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08274089DataViewExpView.json",
"viewType" : "DEDATAVIEWEXPVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr07027406TreeView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr07027406TreeView.json",
......
{
"codeName" : "Usr08274089DataViewExpView_DataView",
"controlType" : "DATAVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create",
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
}
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM/PSDATAVIEWS/Usr08274089DataViewExpView_DataView.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
}
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load",
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
}
},
"groupMode" : "NONE",
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"getItemPSLayoutPanel" : {
"codeName" : "Usr0827818918",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM/PSPANELS/Usr0827818918.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "卡片导航测试_卡片视图_卡片面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"childColMD" : 24,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
}
} ],
"name" : "itemlayoutpanel",
"modelid" : "9A03307A-0C30-45C7-BEB7-681C70C2FD88",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "卡片导航测试_卡片视图",
"getOrderValuePSAppDEField" : {
"name" : "PX",
"codeName" : "PX"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE",
"logicTag" : "dataviewexpbar_dataview",
"logicType" : "CUSTOM",
"name" : "dataviewexpbar_selectionchange"
}, {
"eventNames" : "LOAD",
"logicTag" : "dataviewexpbar_dataview",
"logicType" : "CUSTOM",
"name" : "dataviewexpbar_load"
} ],
"getPSDEDataViewDataItems" : [ {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "WORKITEMID",
"codeName" : "WORKITEMId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "WORKITEMNAME",
"codeName" : "WORKITEMName"
}
}, {
"dataType" : 25,
"name" : "pworkitemid",
"getPSAppDEField" : {
"name" : "PWORKITEMID",
"codeName" : "Pworkitemid"
}
} ],
"pagingSize" : 1000,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove",
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
}
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update",
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
}
},
"hasWFDataItems" : false,
"appendDEItems" : true,
"enableCardEdit" : false,
"enableCardEditGroup" : false,
"enableCardEditOrder" : false,
"enableCardNew" : false,
"enableGroup" : false,
"enablePagingBar" : false,
"noSort" : false,
"singleSelect" : false,
"modelid" : "D1C514CB-CBCE-4E5B-B12D-C24D9F90A881",
"modeltype" : "PSDEDATAVIEW"
}
\ No newline at end of file
...@@ -240,12 +240,12 @@ ...@@ -240,12 +240,12 @@
"getMovePSControlAction" : { "getMovePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "move", "id" : "move",
"actionName" : "Save", "actionName" : "Move",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"name" : "move", "name" : "move",
"getPSAppDEMethod" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Move"
}, },
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
......
{
"codeName" : "Usr0827818918",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM/PSPANELS/Usr0827818918.json",
"layoutMode" : "TABLE_24COL",
"logicName" : "卡片导航测试_卡片视图_卡片面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
},
"getPSLayout" : {
"childColMD" : 24,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
}
} ],
"modelid" : "9A03307A-0C30-45C7-BEB7-681C70C2FD88",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
...@@ -73,10 +73,6 @@ ...@@ -73,10 +73,6 @@
"editMode" : true "editMode" : true
} }
} ], } ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "NEWDATA", "name" : "NEWDATA",
"realOpenMode" : "POPUPMODAL", "realOpenMode" : "POPUPMODAL",
......
...@@ -490,12 +490,12 @@ ...@@ -490,12 +490,12 @@
"getMovePSControlAction" : { "getMovePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "move", "id" : "move",
"actionName" : "Save", "actionName" : "Move",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"name" : "move", "name" : "move",
"getPSAppDEMethod" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Move"
}, },
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -577,12 +577,12 @@ ...@@ -577,12 +577,12 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
} }
}, { }, {
"actionName" : "Save", "actionName" : "Move",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"name" : "move", "name" : "move",
"getPSAppDEMethod" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Move"
}, },
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
......
...@@ -2670,10 +2670,6 @@ ...@@ -2670,10 +2670,6 @@
"editMode" : true "editMode" : true
} }
} ], } ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "NEWDATA", "name" : "NEWDATA",
"realOpenMode" : "POPUPMODAL", "realOpenMode" : "POPUPMODAL",
......
...@@ -36118,6 +36118,12 @@ ...@@ -36118,6 +36118,12 @@
"viewType" : "DEPICKUPVIEW", "viewType" : "DEPICKUPVIEW",
"resource" : "TreeNode", "resource" : "TreeNode",
"view" : "PickupView" "view" : "PickupView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08274089DataViewExpView.json",
"viewType" : "DEDATAVIEWEXPVIEW",
"resource" : "WORKITEM",
"view" : "Usr08274089DataViewExpView"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoDataView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoDataView.json",
...@@ -61876,12 +61882,12 @@ ...@@ -61876,12 +61882,12 @@
"getMovePSControlAction" : { "getMovePSControlAction" : {
"modelref" : true, "modelref" : true,
"id" : "move", "id" : "move",
"actionName" : "Save", "actionName" : "Move",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"name" : "move", "name" : "move",
"getPSAppDEMethod" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Move"
}, },
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -61963,12 +61969,12 @@ ...@@ -61963,12 +61969,12 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/WORKITEM.json"
} }
}, { }, {
"actionName" : "Save", "actionName" : "Move",
"actionType" : "DEACTION", "actionType" : "DEACTION",
"name" : "move", "name" : "move",
"getPSAppDEMethod" : { "getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Save" "id" : "Move"
}, },
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
...@@ -130305,6 +130311,10 @@ ...@@ -130305,6 +130311,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08278286GridExpView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08278286GridExpView.json",
"viewType" : "DEGRIDEXPVIEW" "viewType" : "DEGRIDEXPVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr08274089DataViewExpView.json",
"viewType" : "DEDATAVIEWEXPVIEW"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr07027406TreeView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/WORKITEMUsr07027406TreeView.json",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册