Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
fd56c650
提交
fd56c650
编写于
3月 24, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhanghengfeng 发布系统代码 [TrainSys,网页端]
上级
9afa2007
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
1225 行增加
和
676 行删除
+1225
-676
Usr0301656921.json
...SAPPDATAENTITIES/Reginfo/PSSEARCHFORMS/Usr0301656921.json
+185
-1
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+132
-132
ReginfoUsr0301140652ChartView.json
...SAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301140652ChartView.json
+644
-279
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+132
-132
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+132
-132
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSSEARCHFORMS/Usr0301656921.json
浏览文件 @
fd56c650
...
...
@@ -20,6 +20,43 @@
"id"
:
"engine"
}
}
],
"getPSDEFormItems"
:
[
{
"id"
:
"n_reginfoname_like"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"REGINFONAME"
,
"codeName"
:
"ReginfoName"
}
},
{
"id"
:
"n_studentid_eq"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
},
{
"id"
:
"n_address_eq"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
}
},
{
"id"
:
"n_department_eq"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPARTMENT"
,
"codeName"
:
"DepartMent"
}
},
{
"id"
:
"n_age_gtandeq"
,
"dataType"
:
9
,
"getPSAppDEField"
:
{
"name"
:
"AGE"
,
"codeName"
:
"Age"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"常规条件"
,
"codeName"
:
"formpage1"
,
...
...
@@ -27,8 +64,155 @@
"detailType"
:
"FORMPAGE"
,
"mOSFilePath"
:
"psdeformdetail_formpages/formpage1"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"学员登记信息名称"
,
"codeName"
:
"n_reginfoname_like"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_reginfoname_like"
,
"name"
:
"n_reginfoname_like"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"REGINFONAME"
,
"codeName"
:
"ReginfoName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_reginfoname_like"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_reginfoname_like"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"n_studentid_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_studentid_eq"
,
"name"
:
"n_studentid_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"n_studentid_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_studentid_eq"
,
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"家庭住址"
,
"codeName"
:
"n_address_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_address_eq"
,
"name"
:
"n_address_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_address_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_address_eq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"单位"
,
"codeName"
:
"n_department_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_department_eq"
,
"name"
:
"n_department_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPARTMENT"
,
"codeName"
:
"DepartMent"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_department_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_department_eq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"年龄"
,
"codeName"
:
"n_age_gtandeq"
,
"dataType"
:
9
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_age_gtandeq"
,
"name"
:
"n_age_gtandeq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"AGE"
,
"codeName"
:
"Age"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_age_gtandeq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_age_gtandeq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColLG"
:
8
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
fd56c650
...
...
@@ -37,138 +37,6 @@
}
}
],
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule3"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"name"
:
"field2值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
}
],
"ruleInfo"
:
"只能写数字"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"ruleInfo"
:
"只能写数字"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
...
...
@@ -391,6 +259,138 @@
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule3"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"name"
:
"field2值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
}
],
"ruleInfo"
:
"只能写数字"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"ruleInfo"
:
"只能写数字"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301140652ChartView.json
浏览文件 @
fd56c650
...
...
@@ -13,6 +13,185 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSDEViewCodeName"
:
"Usr0301140652ChartView"
,
"getPSDEViewId"
:
"F52BDCAE-98EE-4BEA-8BF3-AB58E769B5C6"
,
"getPSViewLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"view_pagecaption"
}
],
"codeName"
:
"Usr0324535558"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"FLEX"
,
"logicName"
:
"Usr0301140652ChartViewDECHARTVIEW"
,
"mOSFilePath"
:
"psmodules/common/psdataentities/REGINFO/pssysviewlayoutpanels/Usr0324535558"
,
"memo"
:
"编辑视图"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
},
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/ReginfoUsr0301140652ChartView/psappviewctrls/layoutpanel"
,
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"page_container"
,
"getPSLayout"
:
{
"dir"
:
"column"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"栅格容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_grid1"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"grow"
:
6
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"页面标题"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"hAlignSelf"
:
"LEFT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"TABLE_24COL"
,
"widthMode"
:
"FULL"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"QUICKSEARCHBAR"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"quicksearchbar"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"TABLE_24COL"
},
"showCaption"
:
true
}
]
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_2"
,
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"TOOLBAR"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"TABLE_24COL"
},
"showCaption"
:
true
}
]
}
]
},
{
"caption"
:
"SEARCHFORM"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"searchform"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
},
{
"caption"
:
"CHART"
,
"contentHeight"
:
100.0
,
"height"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"chart"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"height"
:
100
,
"heightMode"
:
"PERCENTAGE"
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"viewProxyMode"
:
true
,
"modelid"
:
"C0689697-4526-42FA-A118-E3E2818FE5B4"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"ChartView"
,
...
...
@@ -93,6 +272,43 @@
"showBusyIndicator"
:
true
,
"id"
:
"SEARCHFORM"
},
"getPSDEFormItems"
:
[
{
"id"
:
"n_reginfoname_like"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"REGINFONAME"
,
"codeName"
:
"ReginfoName"
}
},
{
"id"
:
"n_studentid_eq"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
},
{
"id"
:
"n_address_eq"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
}
},
{
"id"
:
"n_department_eq"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"DEPARTMENT"
,
"codeName"
:
"DepartMent"
}
},
{
"id"
:
"n_age_gtandeq"
,
"dataType"
:
9
,
"getPSAppDEField"
:
{
"name"
:
"AGE"
,
"codeName"
:
"Age"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"常规条件"
,
"codeName"
:
"formpage1"
,
...
...
@@ -100,8 +316,155 @@
"detailType"
:
"FORMPAGE"
,
"mOSFilePath"
:
"psdeformdetail_formpages/formpage1"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"学员登记信息名称"
,
"codeName"
:
"n_reginfoname_like"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_reginfoname_like"
,
"name"
:
"n_reginfoname_like"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"REGINFONAME"
,
"codeName"
:
"ReginfoName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_reginfoname_like"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_reginfoname_like"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"n_studentid_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_studentid_eq"
,
"name"
:
"n_studentid_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"n_studentid_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_studentid_eq"
,
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"家庭住址"
,
"codeName"
:
"n_address_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_address_eq"
,
"name"
:
"n_address_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_address_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_address_eq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"单位"
,
"codeName"
:
"n_department_eq"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_department_eq"
,
"name"
:
"n_department_eq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"DEPARTMENT"
,
"codeName"
:
"DepartMent"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_department_eq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_department_eq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"年龄"
,
"codeName"
:
"n_age_gtandeq"
,
"dataType"
:
9
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_age_gtandeq"
,
"name"
:
"n_age_gtandeq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"AGE"
,
"codeName"
:
"Age"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"n_age_gtandeq"
},
"getPSLayoutPos"
:
{
"colLG"
:
8
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_age_gtandeq"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColLG"
:
8
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
...
...
@@ -323,24 +686,26 @@
"EC.textStyle"
:
"{
\"
color
\"
:
\"
#F5DF9D
\"
,
\"
fontSize
\"
:16}"
,
"EC.color"
:
"[
\"
#5470c6
\"
,
\"
#91cc75
\"
,
\"
#fac858
\"
,
\"
#ee6666
\"
,
\"
#73c0de
\"
,
\"
#3ba272
\"
,
\"
#fc8452
\"
,
\"
#9a60b4
\"
,
\"
#ea7ccc
\"
,
\"
#5470c6
\"
,
\"
#91cc75
\"
]"
}
}
],
"getPSDEViewCodeName"
:
"Usr0301140652ChartView"
,
"getPSDEViewId"
:
"F52BDCAE-98EE-4BEA-8BF3-AB58E769B5C6"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDECHARTVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"mOSFilePath"
:
"psmodules/common/psdataentities/REGINFO/pssysviewlayoutpanels/Layoutpanel"
,
"name"
:
"layoutpanel"
,
},
{
"controlType"
:
"SEARCHBAR"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSSEARCHBARS/.json"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
},
"getPSControlParam"
:
{
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/ReginfoUsr0301140652ChartView/psappviewctrls/layoutpanel"
,
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
"getPSControlParam"
:
{
"id"
:
"searchbar"
},
"quickGroupCount"
:
-1
,
"quickSearchMode"
:
0
,
"quickSearchWidth"
:
0
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/ReginfoUsr0301140652ChartView/psappviewctrls/searchbar"
,
"enableFilter"
:
false
,
"enableGroup"
:
false
,
"enableQuickSearch"
:
false
,
"mobileSearchBar"
:
false
,
"name"
:
"searchbar"
}
]
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/ReginfoUsr0301140652ChartView"
,
"title"
:
"饼图"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
fd56c650
...
...
@@ -166,138 +166,6 @@
"id"
:
"FORM"
},
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule3"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"name"
:
"field2值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
}
],
"ruleInfo"
:
"只能写数字"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"ruleInfo"
:
"只能写数字"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
...
...
@@ -520,6 +388,138 @@
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule3"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"name"
:
"field2值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
}
],
"ruleInfo"
:
"只能写数字"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"ruleInfo"
:
"只能写数字"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
fd56c650
...
...
@@ -17949,138 +17949,6 @@
"id" : "FORM"
},
"getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2",
"dEFName" : "FIELD",
"maxValue" : 20.0,
"minValue" : 10.0,
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "10<=field<=20",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "10<=field<=20"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "10<=field<=20",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule3",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"name" : "field2值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "REGEX",
"dEFName" : "FIELD2",
"name" : "[正则式](^[0-9]*$)",
"regExCode" : "^[0-9]*$",
"ruleInfo" : "只能写数字"
} ],
"ruleInfo" : "只能写数字"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"ruleInfo" : "只能写数字",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field2",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "amount值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) (100)",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "100",
"ruleInfo" : "amount等于100"
} ],
"ruleInfo" : "amount等于100"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
...
...
@@ -18303,6 +18171,138 @@
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2",
"dEFName" : "FIELD",
"maxValue" : 20.0,
"minValue" : 10.0,
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "10<=field<=20",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "10<=field<=20"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "10<=field<=20",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule3",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"name" : "field2值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "REGEX",
"dEFName" : "FIELD2",
"name" : "[正则式](^[0-9]*$)",
"regExCode" : "^[0-9]*$",
"ruleInfo" : "只能写数字"
} ],
"ruleInfo" : "只能写数字"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"ruleInfo" : "只能写数字",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field2",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "amount值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) (100)",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "100",
"ruleInfo" : "amount等于100"
} ],
"ruleInfo" : "amount等于100"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录