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

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

上级 75857eb9
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -895,7 +895,7 @@ ...@@ -895,7 +895,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -495,7 +495,7 @@ ...@@ -495,7 +495,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1186,7 +1186,7 @@ ...@@ -1186,7 +1186,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -483,7 +483,7 @@ ...@@ -483,7 +483,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1090,7 +1090,7 @@ ...@@ -1090,7 +1090,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -353,7 +353,7 @@ ...@@ -353,7 +353,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -373,7 +373,7 @@ ...@@ -373,7 +373,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -551,7 +551,7 @@ ...@@ -551,7 +551,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -505,7 +505,7 @@ ...@@ -505,7 +505,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -532,7 +532,7 @@ ...@@ -532,7 +532,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -656,7 +656,7 @@ ...@@ -656,7 +656,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -683,7 +683,7 @@ ...@@ -683,7 +683,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -710,7 +710,7 @@ ...@@ -710,7 +710,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -1236,7 +1236,7 @@ ...@@ -1236,7 +1236,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1263,7 +1263,7 @@ ...@@ -1263,7 +1263,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1290,7 +1290,7 @@ ...@@ -1290,7 +1290,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -1386,7 +1386,7 @@ ...@@ -1386,7 +1386,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1413,7 +1413,7 @@ ...@@ -1413,7 +1413,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1440,7 +1440,7 @@ ...@@ -1440,7 +1440,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -1624,7 +1624,7 @@ ...@@ -1624,7 +1624,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1651,7 +1651,7 @@ ...@@ -1651,7 +1651,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1678,7 +1678,7 @@ ...@@ -1678,7 +1678,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -1802,7 +1802,7 @@ ...@@ -1802,7 +1802,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1829,7 +1829,7 @@ ...@@ -1829,7 +1829,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -1856,7 +1856,7 @@ ...@@ -1856,7 +1856,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -657,7 +657,7 @@ ...@@ -657,7 +657,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -684,7 +684,7 @@ ...@@ -684,7 +684,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -711,7 +711,7 @@ ...@@ -711,7 +711,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -835,7 +835,7 @@ ...@@ -835,7 +835,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -862,7 +862,7 @@ ...@@ -862,7 +862,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -889,7 +889,7 @@ ...@@ -889,7 +889,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -657,7 +657,7 @@ ...@@ -657,7 +657,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -684,7 +684,7 @@ ...@@ -684,7 +684,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -711,7 +711,7 @@ ...@@ -711,7 +711,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -835,7 +835,7 @@ ...@@ -835,7 +835,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -862,7 +862,7 @@ ...@@ -862,7 +862,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -889,7 +889,7 @@ ...@@ -889,7 +889,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -448,7 +448,7 @@ ...@@ -448,7 +448,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -475,7 +475,7 @@ ...@@ -475,7 +475,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -502,7 +502,7 @@ ...@@ -502,7 +502,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -686,7 +686,7 @@ ...@@ -686,7 +686,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -713,7 +713,7 @@ ...@@ -713,7 +713,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -740,7 +740,7 @@ ...@@ -740,7 +740,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -864,7 +864,7 @@ ...@@ -864,7 +864,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -891,7 +891,7 @@ ...@@ -891,7 +891,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -918,7 +918,7 @@ ...@@ -918,7 +918,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -440,7 +440,7 @@ ...@@ -440,7 +440,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -467,7 +467,7 @@ ...@@ -467,7 +467,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -651,7 +651,7 @@ ...@@ -651,7 +651,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -678,7 +678,7 @@ ...@@ -678,7 +678,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -705,7 +705,7 @@ ...@@ -705,7 +705,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -829,7 +829,7 @@ ...@@ -829,7 +829,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -856,7 +856,7 @@ ...@@ -856,7 +856,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -883,7 +883,7 @@ ...@@ -883,7 +883,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -551,7 +551,7 @@ ...@@ -551,7 +551,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -589,7 +589,7 @@ ...@@ -589,7 +589,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -609,7 +609,7 @@ ...@@ -609,7 +609,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -669,7 +669,7 @@ ...@@ -669,7 +669,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
...@@ -1616,7 +1616,7 @@ ...@@ -1616,7 +1616,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1700,7 +1700,7 @@ ...@@ -1700,7 +1700,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -2385,7 +2385,7 @@ ...@@ -2385,7 +2385,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
...@@ -1414,7 +1414,7 @@ ...@@ -1414,7 +1414,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.srfnodeid) {\r\n view.callUIAction('Collapse', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE", "uIActionTag" : "COLLAPSE",
...@@ -1498,7 +1498,7 @@ ...@@ -1498,7 +1498,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.srfnodeid) {\r\n view.callUIAction('Expand', {id: option.srfnodeid});\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', {id: 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', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND", "uIActionTag" : "EXPAND",
...@@ -2183,7 +2183,7 @@ ...@@ -2183,7 +2183,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.srfnodeid) {\r\n view.callUIAction('Toggle', {id: option.srfnodeid});\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('Toggle', {id: 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('Toggle', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Toggle', {id: params.srfgroupid});",
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE", "uIActionTag" : "TOGGLE",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册