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

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

上级 83d9644c
......@@ -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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -259,7 +259,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -433,7 +433,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -551,7 +551,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -144,7 +144,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -294,7 +294,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -532,7 +532,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -710,7 +710,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -1290,7 +1290,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -1440,7 +1440,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -1678,7 +1678,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -1856,7 +1856,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -323,7 +323,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -473,7 +473,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -711,7 +711,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -889,7 +889,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -323,7 +323,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -473,7 +473,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -711,7 +711,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -889,7 +889,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -352,7 +352,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -502,7 +502,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -740,7 +740,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -918,7 +918,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -317,7 +317,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -467,7 +467,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -705,7 +705,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -883,7 +883,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -377,7 +377,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -551,7 +551,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......@@ -669,7 +669,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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
......@@ -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('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});",
"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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册