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

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

上级 4b62dd34
...@@ -212,8 +212,6 @@ ...@@ -212,8 +212,6 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field", "rTMOSFilePath" : "psdeformdetail_formitems/field",
"resetItemName" : "field3",
"resetItemNames" : [ "field3", "field4" ],
"valueItemName" : "field2", "valueItemName" : "field2",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
...@@ -287,6 +285,8 @@ ...@@ -287,6 +285,8 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field4", "rTMOSFilePath" : "psdeformdetail_formitems/field4",
"resetItemName" : "field",
"resetItemNames" : [ "field" ],
"allowEmpty" : true, "allowEmpty" : true,
"hidden" : true, "hidden" : true,
"showCaption" : true "showCaption" : true
......
...@@ -1548,8 +1548,6 @@ ...@@ -1548,8 +1548,6 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field", "rTMOSFilePath" : "psdeformdetail_formitems/field",
"resetItemName" : "field3",
"resetItemNames" : [ "field3", "field4" ],
"valueItemName" : "field2", "valueItemName" : "field2",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
...@@ -1623,6 +1621,8 @@ ...@@ -1623,6 +1621,8 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field4", "rTMOSFilePath" : "psdeformdetail_formitems/field4",
"resetItemName" : "field",
"resetItemNames" : [ "field" ],
"allowEmpty" : true, "allowEmpty" : true,
"hidden" : true, "hidden" : true,
"showCaption" : true "showCaption" : true
......
...@@ -212,8 +212,6 @@ ...@@ -212,8 +212,6 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field", "rTMOSFilePath" : "psdeformdetail_formitems/field",
"resetItemName" : "field3",
"resetItemNames" : [ "field3", "field4" ],
"valueItemName" : "field2", "valueItemName" : "field2",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
...@@ -299,6 +297,8 @@ ...@@ -299,6 +297,8 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field4", "rTMOSFilePath" : "psdeformdetail_formitems/field4",
"resetItemName" : "field",
"resetItemNames" : [ "field" ],
"allowEmpty" : true, "allowEmpty" : true,
"hidden" : true, "hidden" : true,
"showCaption" : true "showCaption" : true
......
...@@ -40,41 +40,96 @@ ...@@ -40,41 +40,96 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule6", "codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field5值规则", "name" : "field值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE", "condType" : "VALUERANGE2",
"dEFName" : "FIELD5", "dEFName" : "FIELD",
"name" : "[系统值规则]脚本值规则测试", "maxValue" : 20.0,
"getPSSysValueRule" : { "minValue" : 10.0,
"codeName" : "ValueRule20", "name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json", "ruleInfo" : "10<=field<=20",
"mOSFilePath" : "pssysvaluerules/ValueRule20", "includeMaxValue" : true,
"name" : "脚本值规则测试", "includeMinValue" : true
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ], } ],
"ruleInfo" : "脚本校验" "ruleInfo" : "10<=field<=20"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "脚本校验", "ruleInfo" : "10<=field<=20",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field5", "getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule9",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD8/psdefvaluerules/ValueRule9",
"name" : "field8值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "[条件组]AND",
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "[条件组]AND",
"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" : "20<field8并且不等于30,并且在35以上或者文本包含2"
} ],
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD8/psdefvaluerules/ValueRule9",
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field8",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -116,6 +171,46 @@ ...@@ -116,6 +171,46 @@
}, },
"getPSDEFormItemName" : "field4", "getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
...@@ -296,101 +391,6 @@ ...@@ -296,101 +391,6 @@
}, },
"getPSDEFormItemName" : "amount", "getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2",
"dEFName" : "FIELD",
"maxValue" : 20.0,
"minValue" : 10.0,
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "10<=field<=20",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "10<=field<=20"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "10<=field<=20",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule9",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD8/psdefvaluerules/ValueRule9",
"name" : "field8值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "[条件组]AND",
"getPSDEFVRConditions" : [ {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "[条件组]AND",
"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" : "20<field8并且不等于30,并且在35以上或者文本包含2"
} ],
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD8/psdefvaluerules/ValueRule9",
"ruleInfo" : "20<field8并且不等于30,并且在35以上或者文本包含2",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field8",
"valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -1548,8 +1548,6 @@ ...@@ -1548,8 +1548,6 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field", "rTMOSFilePath" : "psdeformdetail_formitems/field",
"resetItemName" : "field3",
"resetItemNames" : [ "field3", "field4" ],
"valueItemName" : "field2", "valueItemName" : "field2",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
...@@ -1635,6 +1633,8 @@ ...@@ -1635,6 +1633,8 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/field4", "rTMOSFilePath" : "psdeformdetail_formitems/field4",
"resetItemName" : "field",
"resetItemNames" : [ "field" ],
"allowEmpty" : true, "allowEmpty" : true,
"hidden" : true, "hidden" : true,
"showCaption" : true "showCaption" : true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册