Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
955421c6
提交
955421c6
编写于
3月 28, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
69cb692a
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
837 行增加
和
670 行删除
+837
-670
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
TEST.json
...bizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json
+129
-52
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+186
-186
TESTCustomGridView.json
...ainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTCustomGridView.json
+13
-0
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+186
-186
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+319
-242
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
955421c6
...
@@ -1219,16 +1219,16 @@
...
@@ -1219,16 +1219,16 @@
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"name"
:
"视图消息组2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
},
{
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
}
],
}
],
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json
浏览文件 @
955421c6
...
@@ -1954,26 +1954,30 @@
...
@@ -1954,26 +1954,30 @@
"logicNodeType"
:
"BEGIN"
,
"logicNodeType"
:
"BEGIN"
,
"mOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"mOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"name"
:
"开始"
,
"name"
:
"开始"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"BINDPARAM1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"rTMOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"topPos"
:
200
,
"topPos"
:
200
,
"parallelOutput"
:
true
"parallelOutput"
:
true
},
{
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"codeName"
:
"END1"
,
"getInvokeCtrl"
:
{
"leftPos"
:
546
,
"modelref"
:
true
,
"logicNodeType"
:
"END"
,
"id"
:
"grid"
"mOSFilePath"
:
"psappdeuilogicnodes/END1"
,
},
"name"
:
"结束"
,
"invokeMethod"
:
"load"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"getInvokeParam"
:
{
"returnType"
:
"NONEVALUE"
,
"modelref"
:
true
,
"topPos"
:
726
"id"
:
"viewParams"
},
"leftPos"
:
370
,
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"mOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE2"
,
"name"
:
"表格部件加载"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE2"
,
"topPos"
:
572
},
{
},
{
"codeName"
:
"VIEWCTRLINVOKE1"
,
"codeName"
:
"VIEWCTRLINVOKE1"
,
"getInvokeCtrl"
:
{
"getInvokeCtrl"
:
{
...
@@ -1989,48 +1993,128 @@
...
@@ -1989,48 +1993,128 @@
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"mOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE1"
,
"mOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE1"
,
"name"
:
"搜索表单加载草稿"
,
"name"
:
"搜索表单加载草稿"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE1"
,
"getPSDEUILogicLinks"
:
[
{
"topPos"
:
420
"getDstPSDEUILogicNode"
:
{
},
{
"codeName"
:
"VIEWCTRLFIREEVENT1"
,
"eventName"
:
"onLoadSuccess"
,
"getEventParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"VIEWCTRLINVOKE2
"
},
},
"getFireCtrl"
:
{
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"grid"
"id"
:
"VIEWCTRLINVOKE1"
},
}
"leftPos"
:
790
,
}
],
"logicNodeType"
:
"VIEWCTRLFIREEVENT"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE1"
,
"mOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLFIREEVENT1"
,
"topPos"
:
420
"name"
:
"视图部件事件触发"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLFIREEVENT1"
,
"topPos"
:
430
},
{
},
{
"codeName"
:
"BINDPARAM1"
,
"codeName"
:
"BINDPARAM1"
,
"getDstPSDEUILogicParam"
:
{
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"searchForm"
"id"
:
"searchForm"
},
},
"leftPos"
:
639
,
"leftPos"
:
506
,
"logicNodeType"
:
"BINDPARAM"
,
"logicNodeType"
:
"BINDPARAM"
,
"mOSFilePath"
:
"psappdeuilogicnodes/BINDPARAM1"
,
"mOSFilePath"
:
"psappdeuilogicnodes/BINDPARAM1"
,
"name"
:
"绑定参数"
,
"name"
:
"绑定参数"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getPSDEUILogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"getPSDEUILogicLinkConds"
:
[
{
"condOP"
:
"ISNOTNULL"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"searchForm"
},
"logicType"
:
"SINGLE"
,
"name"
:
"searchForm 值不为空(NotNil)"
}
]
},
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"BINDPARAM1"
}
},
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE2"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getPSDEUILogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"getPSDEUILogicLinkConds"
:
[
{
"condOP"
:
"ISNULL"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"searchForm"
},
"logicType"
:
"SINGLE"
,
"name"
:
"searchForm 值为空(Nil)"
}
]
},
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"BINDPARAM1"
}
}
],
"rTMOSFilePath"
:
"psappdeuilogicnodes/BINDPARAM1"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/BINDPARAM1"
,
"getSrcPSDEUILogicParam"
:
{
"getSrcPSDEUILogicParam"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"view"
"id"
:
"view"
},
},
"topPos"
:
216
"topPos"
:
188
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"grid"
},
"invokeMethod"
:
"load"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParams"
},
"leftPos"
:
506
,
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"mOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE2"
,
"name"
:
"表格部件加载"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE2"
}
}
],
"rTMOSFilePath"
:
"psappdeuilogicnodes/VIEWCTRLINVOKE2"
,
"topPos"
:
572
}
],
}
],
"getPSDEUILogicParams"
:
[
{
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"grid"
,
"codeName"
:
"viewParams"
,
"logicName"
:
"表格部件"
,
"logicName"
:
"视图参数"
,
"mOSFilePath"
:
"psappdeuilogicparams/grid"
,
"mOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"name"
:
"表格部件"
,
"name"
:
"视图参数"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/grid"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"viewNavDataParam"
:
true
},
{
"codeName"
:
"searchForm"
,
"logicName"
:
"搜索表单部件"
,
"mOSFilePath"
:
"psappdeuilogicparams/searchForm"
,
"name"
:
"搜索表单部件"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/searchForm"
,
"ctrlParam"
:
true
"ctrlParam"
:
true
},
{
},
{
"codeName"
:
"view"
,
"codeName"
:
"view"
,
...
@@ -2048,19 +2132,12 @@
...
@@ -2048,19 +2132,12 @@
"default"
:
true
,
"default"
:
true
,
"entityParam"
:
true
"entityParam"
:
true
},
{
},
{
"codeName"
:
"
searchForm
"
,
"codeName"
:
"
grid
"
,
"logicName"
:
"
搜索表单
部件"
,
"logicName"
:
"
表格
部件"
,
"mOSFilePath"
:
"psappdeuilogicparams/
searchForm
"
,
"mOSFilePath"
:
"psappdeuilogicparams/
grid
"
,
"name"
:
"
搜索表单
部件"
,
"name"
:
"
表格
部件"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/
searchForm
"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/
grid
"
,
"ctrlParam"
:
true
"ctrlParam"
:
true
},
{
"codeName"
:
"viewParams"
,
"logicName"
:
"视图参数"
,
"mOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"name"
:
"视图参数"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"viewNavDataParam"
:
true
}
],
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/TEST/psappdeuilogics/CustomGridLoad"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/TEST/psappdeuilogics/CustomGridLoad"
,
"getStartPSDEUILogicNode"
:
{
"getStartPSDEUILogicNode"
:
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
955421c6
...
@@ -40,88 +40,62 @@
...
@@ -40,88 +40,62 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
8
"
,
"codeName"
:
"ValueRule
2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"name"
:
"field
7
值规则"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7
"
,
"dEFName"
:
"FIELD
"
,
"maxValue"
:
20.0
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"ruleInfo"
:
"10<=field<=20"
,
"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
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
"includeMinValue"
:
true
}
],
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
"ruleInfo"
:
"10<=field<=20"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"ruleInfo"
:
"
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
7
"
,
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
5
"
,
"codeName"
:
"ValueRule
3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"name"
:
"field
4
值规则"
,
"name"
:
"field
2
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD4"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[系统值规则]URL"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"getPSSysValueRule"
:
{
"regExCode"
:
"^[0-9]*$"
,
"codeName"
:
"ValueRule17"
,
"ruleInfo"
:
"只能写数字"
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
}
],
"ruleInfo"
:
"
内容必须为有效URL格式
"
"ruleInfo"
:
"
只能写数字
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"ruleInfo"
:
"
内容必须为有效URL格式
"
,
"ruleInfo"
:
"
只能写数字
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
4
"
,
"getPSDEFormItemName"
:
"field
2
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
...
@@ -158,238 +132,264 @@
...
@@ -158,238 +132,264 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
4
"
,
"codeName"
:
"ValueRule
9
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"name"
:
"field
3
值规则"
,
"name"
:
"field
8
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"STRINGLENGTH"
,
"condOp"
:
"AND"
,
"dEFName"
:
"FIELD3"
,
"condType"
:
"GROUP"
,
"maxValue"
:
15
,
"name"
:
"[条件组]AND"
,
"minValue"
:
5
,
"getPSDEFVRConditions"
:
[
{
"name"
:
"[字符长度] 大于等于 5 且 小于等于 15"
,
"condOp"
:
"AND"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"condType"
:
"GROUP"
,
"includeMaxValue"
:
true
,
"name"
:
"[条件组]AND"
,
"includeMinValue"
:
true
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 不等于(<>) (30)"
,
"paramValue"
:
"30"
}
]
},
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (35)"
,
"paramValue"
:
"35"
},
{
"condOp"
:
"LIKE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 文本包含(%) (2)"
,
"paramValue"
:
"2"
}
]
}
],
}
],
"ruleInfo"
:
"5<=field3字符长度<=15"
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
}
],
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
3
"
,
"getPSDEFormItemName"
:
"field
8
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
6
"
,
"codeName"
:
"ValueRule
7
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"name"
:
"field
5
值规则"
,
"name"
:
"field
6
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condOp"
:
"AND"
,
"dEFName"
:
"FIELD5"
,
"condType"
:
"GROUP"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"name"
:
"[条件组]AND"
,
"getPSSysValueRule"
:
{
"getPSDEFVRConditions"
:
[
{
"codeName"
:
"ValueRule20"
,
"condOp"
:
"NOTEQ"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"condType"
:
"SIMPLE"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"脚本值规则测试"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"paramValue"
:
"20"
"ruleInfo"
:
"脚本校验"
,
},
{
"ruleType"
:
"SCRIPT"
,
"condOp"
:
"GT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"condType"
:
"SIMPLE"
,
"enableBackend"
:
true
,
"dEFName"
:
"FIELD6"
,
"enableFront"
:
true
"name"
:
"[常规条件] 大于(>) (5)"
,
},
"paramValue"
:
"5"
"ruleInfo"
:
"脚本校验"
}
],
}
],
"ruleInfo"
:
"脚本校验"
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"ruleInfo"
:
"
脚本校验
"
,
"ruleInfo"
:
"
>5并且不等于20
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
5
"
,
"getPSDEFormItemName"
:
"field
6
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
2
"
,
"codeName"
:
"ValueRule
8
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"name"
:
"field值规则"
,
"name"
:
"field
7
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD
"
,
"dEFName"
:
"FIELD7
"
,
"maxValue"
:
20.0
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"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
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
"includeMinValue"
:
true
}
],
}
],
"ruleInfo"
:
"10<=field<=20"
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"ruleInfo"
:
"
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field"
,
"getPSDEFormItemName"
:
"field
7
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
3
"
,
"codeName"
:
"ValueRule
5
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"name"
:
"field
2
值规则"
,
"name"
:
"field
4
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD2"
,
"dEFName"
:
"FIELD4"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"name"
:
"[系统值规则]URL"
,
"regExCode"
:
"^[0-9]*$"
,
"getPSSysValueRule"
:
{
"ruleInfo"
:
"只能写数字"
"codeName"
:
"ValueRule17"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
}
],
"ruleInfo"
:
"
只能写数字
"
"ruleInfo"
:
"
内容必须为有效URL格式
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"ruleInfo"
:
"
只能写数字
"
,
"ruleInfo"
:
"
内容必须为有效URL格式
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
2
"
,
"getPSDEFormItemName"
:
"field
4
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
9
"
,
"codeName"
:
"ValueRule
4
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"name"
:
"field
8
值规则"
,
"name"
:
"field
3
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"STRINGLENGTH"
,
"condType"
:
"GROUP"
,
"dEFName"
:
"FIELD3"
,
"name"
:
"[条件组]AND"
,
"maxValue"
:
15
,
"getPSDEFVRConditions"
:
[
{
"minValue"
:
5
,
"condOp"
:
"AND"
,
"name"
:
"[字符长度] 大于等于 5 且 小于等于 15"
,
"condType"
:
"GROUP"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"name"
:
"[条件组]AND"
,
"includeMaxValue"
:
true
,
"getPSDEFVRConditions"
:
[
{
"includeMinValue"
:
true
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 不等于(<>) (30)"
,
"paramValue"
:
"30"
}
]
},
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (35)"
,
"paramValue"
:
"35"
},
{
"condOp"
:
"LIKE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 文本包含(%) (2)"
,
"paramValue"
:
"2"
}
]
}
],
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
}
],
}
],
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
"ruleInfo"
:
"
5<=field3字符长度<=15
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
8
"
,
"getPSDEFormItemName"
:
"field
3
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
7
"
,
"codeName"
:
"ValueRule
6
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"name"
:
"field
6
值规则"
,
"name"
:
"field
5
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"SYSVALUERULE"
,
"condType"
:
"GROUP"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSDEFVRConditions"
:
[
{
"getPSSysValueRule"
:
{
"condOp"
:
"NOTEQ"
,
"codeName"
:
"ValueRule20"
,
"condType"
:
"SIMPLE"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"dEFName"
:
"FIELD6"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"name"
:
"脚本值规则测试"
,
"paramValue"
:
"20"
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
},
{
"ruleInfo"
:
"脚本校验"
,
"condOp"
:
"GT"
,
"ruleType"
:
"SCRIPT"
,
"condType"
:
"SIMPLE"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"dEFName"
:
"FIELD6"
,
"enableBackend"
:
true
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"enableFront"
:
true
"paramValue"
:
"5"
},
}
],
"ruleInfo"
:
"脚本校验"
"ruleInfo"
:
">5并且不等于20"
}
],
}
],
"ruleInfo"
:
"
>5并且不等于20
"
"ruleInfo"
:
"
脚本校验
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"ruleInfo"
:
"
>5并且不等于20
"
,
"ruleInfo"
:
"
脚本校验
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
6
"
,
"getPSDEFormItemName"
:
"field
5
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTCustomGridView.json
浏览文件 @
955421c6
...
@@ -173,6 +173,19 @@
...
@@ -173,6 +173,19 @@
"id"
:
"customtoolbar_deuiaction2"
"id"
:
"customtoolbar_deuiaction2"
},
},
"getPSViewCtrlName"
:
"customtoolbar"
"getPSViewCtrlName"
:
"customtoolbar"
},
{
"eventNames"
:
"onViewMounted"
,
"logicTrigger"
:
"VIEWEVENT"
,
"logicType"
:
"DEUILOGIC"
,
"name"
:
"LOADGRID"
,
"getPSAppDEUILogic"
:
{
"modelref"
:
true
,
"id"
:
"CustomGridLoad"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}
}
],
}
],
"getPSAppViewRefs"
:
[
{
"getPSAppViewRefs"
:
[
{
"name"
:
"NEWDATA"
,
"name"
:
"NEWDATA"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
955421c6
...
@@ -169,88 +169,62 @@
...
@@ -169,88 +169,62 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
8
"
,
"codeName"
:
"ValueRule
2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"name"
:
"field
7
值规则"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD7
"
,
"dEFName"
:
"FIELD
"
,
"maxValue"
:
20.0
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"数值必须大于等于[10.0]且小于等于[20.0]"
,
"ruleInfo"
:
"10<=field<=20"
,
"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
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
"includeMinValue"
:
true
}
],
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
"ruleInfo"
:
"10<=field<=20"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"ruleInfo"
:
"
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
7
"
,
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
5
"
,
"codeName"
:
"ValueRule
3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"name"
:
"field
4
值规则"
,
"name"
:
"field
2
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD4"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[系统值规则]URL"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"getPSSysValueRule"
:
{
"regExCode"
:
"^[0-9]*$"
,
"codeName"
:
"ValueRule17"
,
"ruleInfo"
:
"只能写数字"
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
}
],
"ruleInfo"
:
"
内容必须为有效URL格式
"
"ruleInfo"
:
"
只能写数字
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"ruleInfo"
:
"
内容必须为有效URL格式
"
,
"ruleInfo"
:
"
只能写数字
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
4
"
,
"getPSDEFormItemName"
:
"field
2
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
...
@@ -287,238 +261,264 @@
...
@@ -287,238 +261,264 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
4
"
,
"codeName"
:
"ValueRule
9
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"name"
:
"field
3
值规则"
,
"name"
:
"field
8
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"STRINGLENGTH"
,
"condOp"
:
"AND"
,
"dEFName"
:
"FIELD3"
,
"condType"
:
"GROUP"
,
"maxValue"
:
15
,
"name"
:
"[条件组]AND"
,
"minValue"
:
5
,
"getPSDEFVRConditions"
:
[
{
"name"
:
"[字符长度] 大于等于 5 且 小于等于 15"
,
"condOp"
:
"AND"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"condType"
:
"GROUP"
,
"includeMaxValue"
:
true
,
"name"
:
"[条件组]AND"
,
"includeMinValue"
:
true
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 不等于(<>) (30)"
,
"paramValue"
:
"30"
}
]
},
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (35)"
,
"paramValue"
:
"35"
},
{
"condOp"
:
"LIKE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 文本包含(%) (2)"
,
"paramValue"
:
"2"
}
]
}
],
}
],
"ruleInfo"
:
"5<=field3字符长度<=15"
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
}
],
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
3
"
,
"getPSDEFormItemName"
:
"field
8
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
6
"
,
"codeName"
:
"ValueRule
7
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"name"
:
"field
5
值规则"
,
"name"
:
"field
6
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condOp"
:
"AND"
,
"dEFName"
:
"FIELD5"
,
"condType"
:
"GROUP"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"name"
:
"[条件组]AND"
,
"getPSSysValueRule"
:
{
"getPSDEFVRConditions"
:
[
{
"codeName"
:
"ValueRule20"
,
"condOp"
:
"NOTEQ"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"condType"
:
"SIMPLE"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"dEFName"
:
"FIELD6"
,
"name"
:
"脚本值规则测试"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"paramValue"
:
"20"
"ruleInfo"
:
"脚本校验"
,
},
{
"ruleType"
:
"SCRIPT"
,
"condOp"
:
"GT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"condType"
:
"SIMPLE"
,
"enableBackend"
:
true
,
"dEFName"
:
"FIELD6"
,
"enableFront"
:
true
"name"
:
"[常规条件] 大于(>) (5)"
,
},
"paramValue"
:
"5"
"ruleInfo"
:
"脚本校验"
}
],
}
],
"ruleInfo"
:
"脚本校验"
"ruleInfo"
:
">5并且不等于20"
}
],
"ruleInfo"
:
">5并且不等于20"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"ruleInfo"
:
"
脚本校验
"
,
"ruleInfo"
:
"
>5并且不等于20
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
5
"
,
"getPSDEFormItemName"
:
"field
6
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
2
"
,
"codeName"
:
"ValueRule
8
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"name"
:
"field值规则"
,
"name"
:
"field
7
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD
"
,
"dEFName"
:
"FIELD7
"
,
"maxValue"
:
20.0
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"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
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
"includeMinValue"
:
true
}
],
}
],
"ruleInfo"
:
"10<=field<=20"
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
}
],
"ruleInfo"
:
"(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"ruleInfo"
:
"
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field"
,
"getPSDEFormItemName"
:
"field
7
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
3
"
,
"codeName"
:
"ValueRule
5
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"name"
:
"field
2
值规则"
,
"name"
:
"field
4
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD2"
,
"dEFName"
:
"FIELD4"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"name"
:
"[系统值规则]URL"
,
"regExCode"
:
"^[0-9]*$"
,
"getPSSysValueRule"
:
{
"ruleInfo"
:
"只能写数字"
"codeName"
:
"ValueRule17"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
}
],
"ruleInfo"
:
"
只能写数字
"
"ruleInfo"
:
"
内容必须为有效URL格式
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"ruleInfo"
:
"
只能写数字
"
,
"ruleInfo"
:
"
内容必须为有效URL格式
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
2
"
,
"getPSDEFormItemName"
:
"field
4
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
9
"
,
"codeName"
:
"ValueRule
4
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"name"
:
"field
8
值规则"
,
"name"
:
"field
3
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"STRINGLENGTH"
,
"condType"
:
"GROUP"
,
"dEFName"
:
"FIELD3"
,
"name"
:
"[条件组]AND"
,
"maxValue"
:
15
,
"getPSDEFVRConditions"
:
[
{
"minValue"
:
5
,
"condOp"
:
"AND"
,
"name"
:
"[字符长度] 大于等于 5 且 小于等于 15"
,
"condType"
:
"GROUP"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"name"
:
"[条件组]AND"
,
"includeMaxValue"
:
true
,
"getPSDEFVRConditions"
:
[
{
"includeMinValue"
:
true
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (20)"
,
"paramValue"
:
"20"
},
{
"condOp"
:
"NOTEQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 不等于(<>) (30)"
,
"paramValue"
:
"30"
}
]
},
{
"condOp"
:
"OR"
,
"condType"
:
"GROUP"
,
"name"
:
"[条件组]OR"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"GT"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 大于(>) (35)"
,
"paramValue"
:
"35"
},
{
"condOp"
:
"LIKE"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"FIELD8"
,
"name"
:
"[常规条件] 文本包含(%) (2)"
,
"paramValue"
:
"2"
}
]
}
],
"ruleInfo"
:
"20<field8并且不等于30,并且在35以上或者文本包含2"
}
],
}
],
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
"ruleInfo"
:
"
5<=field3字符长度<=15
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"ruleInfo"
:
"
20<field8并且不等于30,并且在35以上或者文本包含2
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
8
"
,
"getPSDEFormItemName"
:
"field
3
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
7
"
,
"codeName"
:
"ValueRule
6
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"name"
:
"field
6
值规则"
,
"name"
:
"field
5
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"AND"
,
"condType"
:
"SYSVALUERULE"
,
"condType"
:
"GROUP"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[条件组]AND"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSDEFVRConditions"
:
[
{
"getPSSysValueRule"
:
{
"condOp"
:
"NOTEQ"
,
"codeName"
:
"ValueRule20"
,
"condType"
:
"SIMPLE"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"dEFName"
:
"FIELD6"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"[常规条件] 不等于(<>) (20)"
,
"name"
:
"脚本值规则测试"
,
"paramValue"
:
"20"
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
},
{
"ruleInfo"
:
"脚本校验"
,
"condOp"
:
"GT"
,
"ruleType"
:
"SCRIPT"
,
"condType"
:
"SIMPLE"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"dEFName"
:
"FIELD6"
,
"enableBackend"
:
true
,
"name"
:
"[常规条件] 大于(>) (5)"
,
"enableFront"
:
true
"paramValue"
:
"5"
},
}
],
"ruleInfo"
:
"脚本校验"
"ruleInfo"
:
">5并且不等于20"
}
],
}
],
"ruleInfo"
:
"
>5并且不等于20
"
"ruleInfo"
:
"
脚本校验
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
"
,
"ruleInfo"
:
"
>5并且不等于20
"
,
"ruleInfo"
:
"
脚本校验
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"field
6
"
,
"getPSDEFormItemName"
:
"field
5
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
955421c6
...
@@ -2400,16 +2400,16 @@
...
@@ -2400,16 +2400,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息
2
",
"name" : "视图消息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
3
"
"id" : "ViewMsg
2
"
}
}
}, {
}, {
"name" : "视图消息",
"name" : "视图消息
2
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
2
"
"id" : "ViewMsg
3
"
}
}
} ],
} ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
...
@@ -18010,88 +18010,62 @@
...
@@ -18010,88 +18010,62 @@
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
8
",
"codeName" : "ValueRule
2
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
",
"name" : "field
7
值规则",
"name" : "field值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "OR",
"condType" : "GROUP",
"name" : "[条件组]OR",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2",
"condType" : "VALUERANGE2",
"dEFName" : "FIELD7
",
"dEFName" : "FIELD
",
"maxValue" : 20.0,
"maxValue" : 20.0,
"minValue" : 10.0,
"minValue" : 10.0,
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "数值必须大于等于[10.0]且小于等于[20.0]",
"ruleInfo" : "10<=field<=20",
"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,
"includeMaxValue" : true,
"includeMinValue" : true
"includeMinValue" : true
} ],
} ],
"ruleInfo" : "(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
"ruleInfo" : "10<=field<=20"
} ],
"ruleInfo" : "(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
",
"ruleInfo" : "
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
",
"ruleInfo" : "
10<=field<=20
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
7
",
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
5
",
"codeName" : "ValueRule
3
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
",
"name" : "field
4
值规则",
"name" : "field
2
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"condType" : "REGEX",
"dEFName" : "FIELD4",
"dEFName" : "FIELD2",
"name" : "[系统值规则]URL",
"name" : "[正则式](^[0-9]*$)",
"getPSSysValueRule" : {
"regExCode" : "^[0-9]*$",
"codeName" : "ValueRule17",
"ruleInfo" : "只能写数字"
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
} ],
"ruleInfo" : "
内容必须为有效URL格式
"
"ruleInfo" : "
只能写数字
"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
",
"ruleInfo" : "
内容必须为有效URL格式
",
"ruleInfo" : "
只能写数字
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
4
",
"getPSDEFormItemName" : "field
2
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
...
@@ -18128,238 +18102,264 @@
...
@@ -18128,238 +18102,264 @@
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
4
",
"codeName" : "ValueRule
9
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
",
"name" : "field
3
值规则",
"name" : "field
8
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"condOp" : "AND",
"dEFName" : "FIELD3",
"condType" : "GROUP",
"maxValue" : 15,
"name" : "[条件组]AND",
"minValue" : 5,
"getPSDEFVRConditions" : [ {
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"condOp" : "AND",
"ruleInfo" : "5<=field3字符长度<=15",
"condType" : "GROUP",
"includeMaxValue" : true,
"name" : "[条件组]AND",
"includeMinValue" : true
"getPSDEFVRConditions" : [ {
"condOp" : "GT",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 大于(>) (20)",
"paramValue" : "20"
}, {
"condOp" : "NOTEQ",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 不等于(<>) (30)",
"paramValue" : "30"
} ]
}, {
"condOp" : "OR",
"condType" : "GROUP",
"name" : "[条件组]OR",
"getPSDEFVRConditions" : [ {
"condOp" : "GT",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 大于(>) (35)",
"paramValue" : "35"
}, {
"condOp" : "LIKE",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 文本包含(%) (2)",
"paramValue" : "2"
} ]
} ],
} ],
"ruleInfo" : "5<=field3字符长度<=15"
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2"
} ],
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
",
"ruleInfo" : "
5<=field3字符长度<=15
",
"ruleInfo" : "
20<field8并且不等于30,并且在35以上或者文本包含2
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
3
",
"getPSDEFormItemName" : "field
8
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
6
",
"codeName" : "ValueRule
7
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
",
"name" : "field
5
值规则",
"name" : "field
6
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"condOp" : "AND",
"dEFName" : "FIELD5",
"condType" : "GROUP",
"name" : "[系统值规则]脚本值规则测试",
"name" : "[条件组]AND",
"getPSSysValueRule" : {
"getPSDEFVRConditions" : [ {
"codeName" : "ValueRule20",
"condOp" : "NOTEQ",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"condType" : "SIMPLE",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"dEFName" : "FIELD6",
"name" : "脚本值规则测试",
"name" : "[常规条件] 不等于(<>) (20)",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"paramValue" : "20"
"ruleInfo" : "脚本校验",
}, {
"ruleType" : "SCRIPT",
"condOp" : "GT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"condType" : "SIMPLE",
"enableBackend" : true,
"dEFName" : "FIELD6",
"enableFront" : true
"name" : "[常规条件] 大于(>) (5)",
},
"paramValue" : "5"
"ruleInfo" : "脚本校验"
} ],
} ],
"ruleInfo" : "脚本校验"
"ruleInfo" : ">5并且不等于20"
} ],
"ruleInfo" : ">5并且不等于20"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
",
"ruleInfo" : "
脚本校验
",
"ruleInfo" : "
>5并且不等于20
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
5
",
"getPSDEFormItemName" : "field
6
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
2
",
"codeName" : "ValueRule
8
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
",
"name" : "field值规则",
"name" : "field
7
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "OR",
"condType" : "GROUP",
"name" : "[条件组]OR",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2",
"condType" : "VALUERANGE2",
"dEFName" : "FIELD
",
"dEFName" : "FIELD7
",
"maxValue" : 20.0,
"maxValue" : 20.0,
"minValue" : 10.0,
"minValue" : 10.0,
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "10<=field<=20",
"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,
"includeMaxValue" : true,
"includeMinValue" : true
"includeMinValue" : true
} ],
} ],
"ruleInfo" : "10<=field<=20"
"ruleInfo" : "(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
} ],
"ruleInfo" : "(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
7/psdefvaluerules/ValueRule8
",
"ruleInfo" : "
10<=field<=20
",
"ruleInfo" : "
(数值必须大于等于[10.0]且小于等于[20.0] 或者 数值必须大于等于[30.0]且小于等于[40.0])
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field",
"getPSDEFormItemName" : "field
7
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
3
",
"codeName" : "ValueRule
5
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
",
"name" : "field
2
值规则",
"name" : "field
4
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "REGEX",
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD2",
"dEFName" : "FIELD4",
"name" : "[正则式](^[0-9]*$)",
"name" : "[系统值规则]URL",
"regExCode" : "^[0-9]*$",
"getPSSysValueRule" : {
"ruleInfo" : "只能写数字"
"codeName" : "ValueRule17",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule17.json",
"mOSFilePath" : "pssysvaluerules/ValueRule17",
"name" : "URL",
"rTMOSFilePath" : "pssysvaluerules/ValueRule17",
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "内容必须为有效URL格式"
} ],
} ],
"ruleInfo" : "
只能写数字
"
"ruleInfo" : "
内容必须为有效URL格式
"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
",
"ruleInfo" : "
只能写数字
",
"ruleInfo" : "
内容必须为有效URL格式
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
2
",
"getPSDEFormItemName" : "field
4
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
9
",
"codeName" : "ValueRule
4
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
",
"name" : "field
8
值规则",
"name" : "field
3
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "STRINGLENGTH",
"condType" : "GROUP",
"dEFName" : "FIELD3",
"name" : "[条件组]AND",
"maxValue" : 15,
"getPSDEFVRConditions" : [ {
"minValue" : 5,
"condOp" : "AND",
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"condType" : "GROUP",
"ruleInfo" : "5<=field3字符长度<=15",
"name" : "[条件组]AND",
"includeMaxValue" : true,
"getPSDEFVRConditions" : [ {
"includeMinValue" : true
"condOp" : "GT",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 大于(>) (20)",
"paramValue" : "20"
}, {
"condOp" : "NOTEQ",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 不等于(<>) (30)",
"paramValue" : "30"
} ]
}, {
"condOp" : "OR",
"condType" : "GROUP",
"name" : "[条件组]OR",
"getPSDEFVRConditions" : [ {
"condOp" : "GT",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 大于(>) (35)",
"paramValue" : "35"
}, {
"condOp" : "LIKE",
"condType" : "SIMPLE",
"dEFName" : "FIELD8",
"name" : "[常规条件] 文本包含(%) (2)",
"paramValue" : "2"
} ]
} ],
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2"
} ],
} ],
"ruleInfo" : "
20<field8并且不等于30,并且在35以上或者文本包含2
"
"ruleInfo" : "
5<=field3字符长度<=15
"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
8/psdefvaluerules/ValueRule9
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
",
"ruleInfo" : "
20<field8并且不等于30,并且在35以上或者文本包含2
",
"ruleInfo" : "
5<=field3字符长度<=15
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
8
",
"getPSDEFormItemName" : "field
3
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule
7
",
"codeName" : "ValueRule
6
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
",
"name" : "field
6
值规则",
"name" : "field
5
值规则",
"getPSDEFVRGroupCondition" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "SYSVALUERULE",
"condType" : "GROUP",
"dEFName" : "FIELD5",
"name" : "[条件组]AND",
"name" : "[系统值规则]脚本值规则测试",
"getPSDEFVRConditions" : [ {
"getPSSysValueRule" : {
"condOp" : "NOTEQ",
"codeName" : "ValueRule20",
"condType" : "SIMPLE",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"dEFName" : "FIELD6",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "[常规条件] 不等于(<>) (20)",
"name" : "脚本值规则测试",
"paramValue" : "20"
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
}, {
"ruleInfo" : "脚本校验",
"condOp" : "GT",
"ruleType" : "SCRIPT",
"condType" : "SIMPLE",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"dEFName" : "FIELD6",
"enableBackend" : true,
"name" : "[常规条件] 大于(>) (5)",
"enableFront" : true
"paramValue" : "5"
},
} ],
"ruleInfo" : "脚本校验"
"ruleInfo" : ">5并且不等于20"
} ],
} ],
"ruleInfo" : "
>5并且不等于20
"
"ruleInfo" : "
脚本校验
"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
6/psdefvaluerules/ValueRule7
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD
5/psdefvaluerules/ValueRule6
",
"ruleInfo" : "
>5并且不等于20
",
"ruleInfo" : "
脚本校验
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "field
6
",
"getPSDEFormItemName" : "field
5
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
} ],
} ],
"getPSDEFormItems" : [ {
"getPSDEFormItems" : [ {
...
@@ -28551,26 +28551,30 @@
...
@@ -28551,26 +28551,30 @@
"logicNodeType" : "BEGIN",
"logicNodeType" : "BEGIN",
"mOSFilePath" : "psappdeuilogicnodes/Begin",
"mOSFilePath" : "psappdeuilogicnodes/Begin",
"name" : "开始",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"rTMOSFilePath" : "psappdeuilogicnodes/Begin",
"rTMOSFilePath" : "psappdeuilogicnodes/Begin",
"topPos" : 200,
"topPos" : 200,
"parallelOutput" : true
"parallelOutput" : true
}, {
}, {
"codeName" : "VIEWCTRLINVOKE2",
"codeName" : "END1",
"getInvokeCtrl" : {
"leftPos" : 546,
"modelref" : true,
"logicNodeType" : "END",
"id" : "grid"
"mOSFilePath" : "psappdeuilogicnodes/END1",
},
"name" : "结束",
"invokeMethod" : "load",
"rTMOSFilePath" : "psappdeuilogicnodes/END1",
"getInvokeParam" : {
"returnType" : "NONEVALUE",
"modelref" : true,
"topPos" : 726
"id" : "viewParams"
},
"leftPos" : 370,
"logicNodeType" : "VIEWCTRLINVOKE",
"mOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE2",
"name" : "表格部件加载",
"rTMOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE2",
"topPos" : 572
}, {
}, {
"codeName" : "VIEWCTRLINVOKE1",
"codeName" : "VIEWCTRLINVOKE1",
"getInvokeCtrl" : {
"getInvokeCtrl" : {
...
@@ -28586,48 +28590,128 @@
...
@@ -28586,48 +28590,128 @@
"logicNodeType" : "VIEWCTRLINVOKE",
"logicNodeType" : "VIEWCTRLINVOKE",
"mOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE1",
"mOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE1",
"name" : "搜索表单加载草稿",
"name" : "搜索表单加载草稿",
"rTMOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE1",
"getPSDEUILogicLinks" : [ {
"topPos" : 420
"getDstPSDEUILogicNode" : {
}, {
"codeName" : "VIEWCTRLFIREEVENT1",
"eventName" : "onLoadSuccess",
"getEventParam" : {
"modelref" : true,
"modelref" : true,
"id" : "Default
"
"id" : "VIEWCTRLINVOKE2
"
},
},
"getFireCtrl" : {
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"modelref" : true,
"id" : "grid"
"id" : "VIEWCTRLINVOKE1"
},
}
"leftPos" : 790,
} ],
"logicNodeType" : "VIEWCTRLFIREEVENT",
"rTMOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE1",
"mOSFilePath" : "psappdeuilogicnodes/VIEWCTRLFIREEVENT1",
"topPos" : 420
"name" : "视图部件事件触发",
"rTMOSFilePath" : "psappdeuilogicnodes/VIEWCTRLFIREEVENT1",
"topPos" : 430
}, {
}, {
"codeName" : "BINDPARAM1",
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"getDstPSDEUILogicParam" : {
"modelref" : true,
"modelref" : true,
"id" : "searchForm"
"id" : "searchForm"
},
},
"leftPos" :
639
,
"leftPos" :
506
,
"logicNodeType" : "BINDPARAM",
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psappdeuilogicnodes/BINDPARAM1",
"mOSFilePath" : "psappdeuilogicnodes/BINDPARAM1",
"name" : "绑定参数",
"name" : "绑定参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE1"
},
"linkMode" : 0,
"name" : "连接名称",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "ISNOTNULL",
"getDstLogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicType" : "SINGLE",
"name" : "searchForm 值不为空(NotNil)"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
}, {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
},
"linkMode" : 0,
"name" : "连接名称",
"getPSDEUILogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"getPSDEUILogicLinkConds" : [ {
"condOP" : "ISNULL",
"getDstLogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"logicType" : "SINGLE",
"name" : "searchForm 值为空(Nil)"
} ]
},
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"rTMOSFilePath" : "psappdeuilogicnodes/BINDPARAM1",
"rTMOSFilePath" : "psappdeuilogicnodes/BINDPARAM1",
"getSrcPSDEUILogicParam" : {
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"modelref" : true,
"id" : "view"
"id" : "view"
},
},
"topPos" : 216
"topPos" : 188
}, {
"codeName" : "VIEWCTRLINVOKE2",
"getInvokeCtrl" : {
"modelref" : true,
"id" : "grid"
},
"invokeMethod" : "load",
"getInvokeParam" : {
"modelref" : true,
"id" : "viewParams"
},
"leftPos" : 506,
"logicNodeType" : "VIEWCTRLINVOKE",
"mOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE2",
"name" : "表格部件加载",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "VIEWCTRLINVOKE2"
}
} ],
"rTMOSFilePath" : "psappdeuilogicnodes/VIEWCTRLINVOKE2",
"topPos" : 572
} ],
} ],
"getPSDEUILogicParams" : [ {
"getPSDEUILogicParams" : [ {
"codeName" : "grid",
"codeName" : "viewParams",
"logicName" : "表格部件",
"logicName" : "视图参数",
"mOSFilePath" : "psappdeuilogicparams/grid",
"mOSFilePath" : "psappdeuilogicparams/viewParams",
"name" : "表格部件",
"name" : "视图参数",
"rTMOSFilePath" : "psappdeuilogicparams/grid",
"rTMOSFilePath" : "psappdeuilogicparams/viewParams",
"viewNavDataParam" : true
}, {
"codeName" : "searchForm",
"logicName" : "搜索表单部件",
"mOSFilePath" : "psappdeuilogicparams/searchForm",
"name" : "搜索表单部件",
"rTMOSFilePath" : "psappdeuilogicparams/searchForm",
"ctrlParam" : true
"ctrlParam" : true
}, {
}, {
"codeName" : "view",
"codeName" : "view",
...
@@ -28645,19 +28729,12 @@
...
@@ -28645,19 +28729,12 @@
"default" : true,
"default" : true,
"entityParam" : true
"entityParam" : true
}, {
}, {
"codeName" : "
searchForm
",
"codeName" : "
grid
",
"logicName" : "
搜索表单
部件",
"logicName" : "
表格
部件",
"mOSFilePath" : "psappdeuilogicparams/
searchForm
",
"mOSFilePath" : "psappdeuilogicparams/
grid
",
"name" : "
搜索表单
部件",
"name" : "
表格
部件",
"rTMOSFilePath" : "psappdeuilogicparams/
searchForm
",
"rTMOSFilePath" : "psappdeuilogicparams/
grid
",
"ctrlParam" : true
"ctrlParam" : true
}, {
"codeName" : "viewParams",
"logicName" : "视图参数",
"mOSFilePath" : "psappdeuilogicparams/viewParams",
"name" : "视图参数",
"rTMOSFilePath" : "psappdeuilogicparams/viewParams",
"viewNavDataParam" : true
} ],
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuilogics/CustomGridLoad",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuilogics/CustomGridLoad",
"getStartPSDEUILogicNode" : {
"getStartPSDEUILogicNode" : {
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录