Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
c985b304
提交
c985b304
编写于
2月 17, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
8abec334
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
279 行增加
和
303 行删除
+279
-303
TEST.json
.../ibizlab/trainsys/PSMODULES/Test/PSDATAENTITIES/TEST.json
+3
-9
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+92
-98
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+92
-98
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+92
-98
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/Test/PSDATAENTITIES/TEST.json
浏览文件 @
c985b304
...
@@ -1809,12 +1809,6 @@
...
@@ -1809,12 +1809,6 @@
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (10)"
,
"paramValue"
:
"10"
},
{
"condOp"
:
"NOTEQ"
,
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"dEFName"
:
"FIELD6"
,
...
@@ -1827,12 +1821,12 @@
...
@@ -1827,12 +1821,12 @@
"name"
:
"[常规条件] 大于(>) (5)"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
"paramValue"
:
"5"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5 并且不等于
10和
20"
,
"ruleInfo"
:
">5 并且不等于20"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
c985b304
...
@@ -37,6 +37,93 @@
...
@@ -37,6 +37,93 @@
}
}
}
],
}
],
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -153,12 +240,6 @@
...
@@ -153,12 +240,6 @@
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (10)"
,
"paramValue"
:
"10"
},
{
"condOp"
:
"NOTEQ"
,
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"dEFName"
:
"FIELD6"
,
...
@@ -171,12 +252,12 @@
...
@@ -171,12 +252,12 @@
"name"
:
"[常规条件] 大于(>) (5)"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
"paramValue"
:
"5"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5 并且不等于
10和
20"
,
"ruleInfo"
:
">5 并且不等于20"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
...
@@ -247,93 +328,6 @@
...
@@ -247,93 +328,6 @@
},
},
"getPSDEFormItemName"
:
"amount"
,
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
@@ -925,12 +919,12 @@
...
@@ -925,12 +919,12 @@
"layout"
:
"TABLE_24COL"
"layout"
:
"TABLE_24COL"
},
},
"getPSRawItem"
:
{
"getPSRawItem"
:
{
"caption"
:
">5 并且不等于
10和
20"
,
"caption"
:
">5 并且不等于20"
,
"contentType"
:
"RAW"
,
"contentType"
:
"RAW"
,
"name"
:
"rawitem7"
"name"
:
"rawitem7"
},
},
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rawContent"
:
">5 并且不等于
10和
20"
,
"rawContent"
:
">5 并且不等于20"
,
"rawItemHeight"
:
-1.0
,
"rawItemHeight"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"showCaption"
:
true
"showCaption"
:
true
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
c985b304
...
@@ -166,6 +166,93 @@
...
@@ -166,6 +166,93 @@
"id"
:
"FORM"
"id"
:
"FORM"
},
},
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -282,12 +369,6 @@
...
@@ -282,12 +369,6 @@
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (10)"
,
"paramValue"
:
"10"
},
{
"condOp"
:
"NOTEQ"
,
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"dEFName"
:
"FIELD6"
,
...
@@ -300,12 +381,12 @@
...
@@ -300,12 +381,12 @@
"name"
:
"[常规条件] 大于(>) (5)"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
"paramValue"
:
"5"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5 并且不等于
10和
20"
,
"ruleInfo"
:
">5 并且不等于20"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
...
@@ -376,93 +457,6 @@
...
@@ -376,93 +457,6 @@
},
},
"getPSDEFormItemName"
:
"amount"
,
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
@@ -1054,12 +1048,12 @@
...
@@ -1054,12 +1048,12 @@
"layout"
:
"TABLE_24COL"
"layout"
:
"TABLE_24COL"
},
},
"getPSRawItem"
:
{
"getPSRawItem"
:
{
"caption"
:
">5 并且不等于
10和
20"
,
"caption"
:
">5 并且不等于20"
,
"contentType"
:
"RAW"
,
"contentType"
:
"RAW"
,
"name"
:
"rawitem7"
"name"
:
"rawitem7"
},
},
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rawContent"
:
">5 并且不等于
10和
20"
,
"rawContent"
:
">5 并且不等于20"
,
"rawItemHeight"
:
-1.0
,
"rawItemHeight"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"showCaption"
:
true
"showCaption"
:
true
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
c985b304
...
@@ -16388,6 +16388,93 @@
...
@@ -16388,6 +16388,93 @@
"id"
:
"FORM"
"id"
:
"FORM"
},
},
"getPSDEFormItemVRs"
:
[
{
"getPSDEFormItemVRs"
:
[
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
...
@@ -16504,12 +16591,6 @@
...
@@ -16504,12 +16591,6 @@
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[条件组]AND"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"[常规条件] 不等于(<>) (10)"
,
"paramValue"
:
"10"
},
{
"condOp"
:
"NOTEQ"
,
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD6"
,
"dEFName"
:
"FIELD6"
,
...
@@ -16522,12 +16603,12 @@
...
@@ -16522,12 +16603,12 @@
"name"
:
"[常规条件] 大于(>) (5)"
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"paramValue"
:
"5"
"paramValue"
:
"5"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
}
],
}
],
"ruleInfo"
:
">5 并且不等于
10和
20"
"ruleInfo"
:
">5 并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7"
,
"ruleInfo"
:
">5 并且不等于
10和
20"
,
"ruleInfo"
:
">5 并且不等于20"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
...
@@ -16598,93 +16679,6 @@
...
@@ -16598,93 +16679,6 @@
},
},
"getPSDEFormItemName"
:
"amount"
,
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule8"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"name"
:
"field7值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
},
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7"
,
"maxValue"
:
40.0
,
"minValue"
:
30.0
,
"name"
:
"[数值范围] 大于等于 30.0 且 小于等于 40.0"
,
"ruleInfo"
:
"数值必须大于等于[30.0]且小于等于[40.0]"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD7/psdefvaluerules/ValueRule8"
,
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field7"
,
"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"
:
"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"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
@@ -17276,12 +17270,12 @@
...
@@ -17276,12 +17270,12 @@
"layout"
:
"TABLE_24COL"
"layout"
:
"TABLE_24COL"
},
},
"getPSRawItem"
:
{
"getPSRawItem"
:
{
"caption"
:
">5 并且不等于
10和
20"
,
"caption"
:
">5 并且不等于20"
,
"contentType"
:
"RAW"
,
"contentType"
:
"RAW"
,
"name"
:
"rawitem7"
"name"
:
"rawitem7"
},
},
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem7"
,
"rawContent"
:
">5 并且不等于
10和
20"
,
"rawContent"
:
">5 并且不等于20"
,
"rawItemHeight"
:
-1.0
,
"rawItemHeight"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"showCaption"
:
true
"showCaption"
:
true
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录