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

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

上级 3723e367
......@@ -190,7 +190,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -274,7 +274,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -895,7 +895,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -495,7 +495,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -579,7 +579,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -1186,7 +1186,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -399,7 +399,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -483,7 +483,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -1090,7 +1090,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -167,7 +167,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -194,7 +194,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -221,7 +221,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -1616,7 +1616,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -1700,7 +1700,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -2385,7 +2385,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -1414,7 +1414,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {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});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
......@@ -1498,7 +1498,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {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});",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
......@@ -2183,7 +2183,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {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('ToggleExpansion', {id: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {id: params.srfgroupid});",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册