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

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

上级 1dadc236
......@@ -151,7 +151,7 @@
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "折叠",
"caption" : "收缩",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
......@@ -161,20 +161,17 @@
"id" : "toolbar_deuiaction2"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"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});",
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "折叠",
"uIActionTarget" : "NONE",
"tooltip" : "收缩",
"showCaption" : true,
"showIcon" : true
}, {
......@@ -188,51 +185,21 @@
"id" : "toolbar_deuiaction3"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"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});",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "展开",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "切换",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "切换",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "全部折叠",
"caption" : "全部收缩",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction5",
......@@ -242,20 +209,17 @@
"id" : "toolbar_deuiaction5"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "全部折叠",
"uIActionTarget" : "NONE",
"tooltip" : "全部收缩",
"showCaption" : true,
"showIcon" : true
}, {
......@@ -269,20 +233,17 @@
"id" : "toolbar_deuiaction6"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "全部展开",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
} ],
......
......@@ -1554,30 +1554,6 @@
"rSMode" : 2
} ],
"getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部",
"codeName" : "AddAll",
"fullCodeName" : "AddAll",
......@@ -1609,18 +1585,6 @@
"uIActionMode" : "FRONT",
"uIActionTag" : "Alert",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消",
"codeName" : "Cancel",
......@@ -1713,18 +1677,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
......@@ -2418,18 +2370,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER"
......@@ -1355,30 +1355,6 @@
"refTag2" : "BUTTON"
} ],
"getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部",
"codeName" : "AddAll",
"fullCodeName" : "AddAll",
......@@ -1410,18 +1386,6 @@
"uIActionMode" : "FRONT",
"uIActionTag" : "Alert",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消",
"codeName" : "Cancel",
......@@ -1514,18 +1478,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
......@@ -2219,18 +2171,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"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,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册