提交 5861f31c 编写于 作者: ibizdev's avatar ibizdev

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

上级 14d62216
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
"id" : "Get" "id" : "Get"
}, },
"getPSDEFIUpdateDetails" : [ { "getPSDEFIUpdateDetails" : [ {
"name" : "field11"
}, {
"name" : "field8"
}, {
"name" : "type" "name" : "type"
}, { }, {
"name" : "field17" "name" : "field14"
}, {
"name" : "field11"
}, { }, {
"name" : "field13" "name" : "field13"
}, { }, {
"name" : "field14" "name" : "field17"
}, {
"name" : "field8"
} ], } ],
"rTMOSFilePath" : "psdefiupdates/updateA" "rTMOSFilePath" : "psdefiupdates/updateA"
} ], } ],
...@@ -341,6 +341,9 @@ ...@@ -341,6 +341,9 @@
"name" : "FIELD22", "name" : "FIELD22",
"codeName" : "Field22" "codeName" : "Field22"
} }
}, {
"id" : "formitem2",
"dataType" : 25
}, { }, {
"id" : "createman", "id" : "createman",
"dataType" : 25, "dataType" : 25,
...@@ -3953,6 +3956,34 @@ ...@@ -3953,6 +3956,34 @@
"needSave" : false, "needSave" : false,
"refreshItemsSetParamOnly" : false, "refreshItemsSetParamOnly" : false,
"showCaption" : true "showCaption" : true
}, {
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem2",
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"ischange" : "false",
"language" : "json",
"xxxxx" : "xxxx"
},
"editorType" : "CODEEIDT",
"name" : "formitem2"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -37,6 +37,78 @@ ...@@ -37,6 +37,78 @@
} }
} ], } ],
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"name" : "field3值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
...@@ -97,37 +169,6 @@ ...@@ -97,37 +169,6 @@
}, },
"getPSDEFormItemName" : "field2", "getPSDEFormItemName" : "field2",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "amount值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) (100)",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "100",
"ruleInfo" : "amount等于100"
} ],
"ruleInfo" : "amount等于100"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
...@@ -195,42 +236,32 @@ ...@@ -195,42 +236,32 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule7", "codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "field6值规则", "name" : "amount值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condOp" : "AND", "condOp" : "EQ",
"condType" : "GROUP", "condType" : "SIMPLE",
"name" : "[条件组]AND", "dEFName" : "AMOUNT",
"getPSDEFVRConditions" : [ { "name" : "[常规条件] 等于(=) (100)",
"condOp" : "NOTEQ", "paramType" : "SRCENTITYFIELD",
"condType" : "SIMPLE", "paramValue" : "100",
"dEFName" : "FIELD6", "ruleInfo" : "amount等于100"
"name" : "[常规条件] 不等于(<>) (20)",
"paramValue" : "20"
}, {
"condOp" : "GT",
"condType" : "SIMPLE",
"dEFName" : "FIELD6",
"name" : "[常规条件] 大于(>) (5)",
"paramValue" : "5"
} ],
"ruleInfo" : ">5并且不等于20"
} ], } ],
"ruleInfo" : ">5并且不等于20" "ruleInfo" : "amount等于100"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : ">5并且不等于20", "ruleInfo" : "amount等于100",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field6", "getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -323,73 +354,42 @@ ...@@ -323,73 +354,42 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule7",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7",
"name" : "field3值规则", "name" : "field6值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD3",
"maxValue" : 15,
"minValue" : 5,
"name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"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" : ">5并且不等于20"
} ], } ],
"ruleInfo" : "脚本校验" "ruleInfo" : ">5并且不等于20"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD6/psdefvaluerules/ValueRule7",
"ruleInfo" : "脚本校验", "ruleInfo" : ">5并且不等于20",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field5", "getPSDEFormItemName" : "field6",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
......
...@@ -1381,17 +1381,17 @@ ...@@ -1381,17 +1381,17 @@
"id" : "Get" "id" : "Get"
}, },
"getPSDEFIUpdateDetails" : [ { "getPSDEFIUpdateDetails" : [ {
"name" : "field11"
}, {
"name" : "field8"
}, {
"name" : "type" "name" : "type"
}, { }, {
"name" : "field17" "name" : "field14"
}, {
"name" : "field11"
}, { }, {
"name" : "field13" "name" : "field13"
}, { }, {
"name" : "field14" "name" : "field17"
}, {
"name" : "field8"
} ], } ],
"rTMOSFilePath" : "psdefiupdates/updateA" "rTMOSFilePath" : "psdefiupdates/updateA"
} ], } ],
...@@ -1677,6 +1677,9 @@ ...@@ -1677,6 +1677,9 @@
"name" : "FIELD22", "name" : "FIELD22",
"codeName" : "Field22" "codeName" : "Field22"
} }
}, {
"id" : "formitem2",
"dataType" : 25
}, { }, {
"id" : "createman", "id" : "createman",
"dataType" : 25, "dataType" : 25,
...@@ -5289,6 +5292,34 @@ ...@@ -5289,6 +5292,34 @@
"needSave" : false, "needSave" : false,
"refreshItemsSetParamOnly" : false, "refreshItemsSetParamOnly" : false,
"showCaption" : true "showCaption" : true
}, {
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem2",
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"ischange" : "false",
"language" : "json",
"xxxxx" : "xxxx"
},
"editorType" : "CODEEIDT",
"name" : "formitem2"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册