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

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

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