Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
b0186327
提交
b0186327
编写于
8月 23, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [TrainSys,网页端]
上级
75857eb9
变更
14
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
108 行增加
和
108 行删除
+108
-108
PSSYSAPP.simple.json
...el/cn/ibizlab/trainsys/PSSYSAPPS/Mob/PSSYSAPP.simple.json
+3
-3
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+3
-3
PSSYSAPP.simple.json
...b/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.simple.json
+3
-3
Usr08227333EditView_Form.json
...ATAENTITIES/Student/PSFORMS/Usr08227333EditView_Form.json
+9
-9
TreeExpView_TreeView.json
...PPDATAENTITIES/TEST/PSTREEVIEWS/TreeExpView_TreeView.json
+12
-12
TESTControlDefaultLoadTest2.json
...SYSAPPS/Web/PSAPPDEVIEWS/TESTControlDefaultLoadTest2.json
+12
-12
TESTTreeExpView.json
.../trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView.json
+12
-12
TESTTreeExpView_3467.json
...nsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView_3467.json
+12
-12
TESTTreeExpView_3467_5885.json
...PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView_3467_5885.json
+12
-12
TESTUsr4TreeExpView.json
...insys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr4TreeExpView.json
+12
-12
bookAutoGropuGridView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookAutoGropuGridView.json
+3
-3
studentUsr08227333EditView.json
...SSYSAPPS/Web/PSAPPDEVIEWS/studentUsr08227333EditView.json
+9
-9
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+3
-3
PSSYSAPP.simple.json
...el/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.simple.json
+3
-3
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob/PSSYSAPP.simple.json
浏览文件 @
b0186327
...
...
@@ -190,7 +190,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -274,7 +274,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -895,7 +895,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
b0186327
...
...
@@ -495,7 +495,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -579,7 +579,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1186,7 +1186,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.simple.json
浏览文件 @
b0186327
...
...
@@ -399,7 +399,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -483,7 +483,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1090,7 +1090,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Usr08227333EditView_Form.json
浏览文件 @
b0186327
...
...
@@ -179,7 +179,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -199,7 +199,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -259,7 +259,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -353,7 +353,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -373,7 +373,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -433,7 +433,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -471,7 +471,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -491,7 +491,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -551,7 +551,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSTREEVIEWS/TreeExpView_TreeView.json
浏览文件 @
b0186327
...
...
@@ -90,7 +90,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -117,7 +117,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -144,7 +144,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -240,7 +240,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -267,7 +267,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -294,7 +294,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -478,7 +478,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -505,7 +505,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -532,7 +532,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -656,7 +656,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -683,7 +683,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -710,7 +710,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTControlDefaultLoadTest2.json
浏览文件 @
b0186327
...
...
@@ -1236,7 +1236,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -1263,7 +1263,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1290,7 +1290,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -1386,7 +1386,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -1413,7 +1413,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1440,7 +1440,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -1624,7 +1624,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -1651,7 +1651,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1678,7 +1678,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -1802,7 +1802,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -1829,7 +1829,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -1856,7 +1856,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView.json
浏览文件 @
b0186327
...
...
@@ -269,7 +269,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -296,7 +296,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -323,7 +323,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -419,7 +419,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -446,7 +446,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -473,7 +473,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -657,7 +657,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -684,7 +684,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -711,7 +711,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -835,7 +835,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -862,7 +862,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -889,7 +889,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView_3467.json
浏览文件 @
b0186327
...
...
@@ -269,7 +269,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -296,7 +296,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -323,7 +323,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -419,7 +419,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -446,7 +446,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -473,7 +473,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -657,7 +657,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -684,7 +684,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -711,7 +711,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -835,7 +835,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -862,7 +862,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -889,7 +889,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTreeExpView_3467_5885.json
浏览文件 @
b0186327
...
...
@@ -298,7 +298,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -325,7 +325,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -352,7 +352,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -448,7 +448,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -475,7 +475,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -502,7 +502,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -686,7 +686,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -713,7 +713,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -740,7 +740,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -864,7 +864,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -891,7 +891,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -918,7 +918,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr4TreeExpView.json
浏览文件 @
b0186327
...
...
@@ -263,7 +263,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -290,7 +290,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -317,7 +317,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -413,7 +413,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -440,7 +440,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -467,7 +467,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -651,7 +651,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -678,7 +678,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -705,7 +705,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -829,7 +829,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -856,7 +856,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -883,7 +883,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/bookAutoGropuGridView.json
浏览文件 @
b0186327
...
...
@@ -167,7 +167,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -194,7 +194,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -221,7 +221,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/studentUsr08227333EditView.json
浏览文件 @
b0186327
...
...
@@ -297,7 +297,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -317,7 +317,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -377,7 +377,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -471,7 +471,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -491,7 +491,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -551,7 +551,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
@@ -589,7 +589,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -609,7 +609,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -669,7 +669,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
b0186327
...
...
@@ -1616,7 +1616,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"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\n
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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
...
...
@@ -1700,7 +1700,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"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\n
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('Expand', {id: group.srfkey});\r\n return;\r\n}\r\n
if (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,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
...
...
@@ -2385,7 +2385,7 @@
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"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\n
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});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.simple.json
浏览文件 @
b0186327
...
...
@@ -1414,7 +1414,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"COLLAPSE"
,
"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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Collapse', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"COLLAPSE"
,
...
...
@@ -1498,7 +1498,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"EXPAND"
,
"name"
:
"展开"
,
"scriptCode"
:
"
\r\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"scriptCode"
:
"
\r\n
const grid = view.getController('grid');
\r\n
if (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\n
if (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\n
view.callUIAction('Expand', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"EXPAND"
,
...
...
@@ -2183,7 +2183,7 @@
"frontProcessType"
:
"OTHER"
,
"fullCodeName"
:
"TOGGLE"
,
"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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"scriptCode"
:
"
const grid = view.getController('grid');
\r\n
if (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\n
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\n
view.callUIAction('Toggle', {id: params.srfgroupid});"
,
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"TOGGLE"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录