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

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

上级 f578d395
...@@ -822,7 +822,6 @@ ...@@ -822,7 +822,6 @@
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefformitems/MobileDefault", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT", "uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"allowEmpty" : false,
"mobileMode" : true "mobileMode" : true
}, },
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefuimodes/MobileDefault", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefuimodes/MobileDefault",
...@@ -839,8 +838,7 @@ ...@@ -839,8 +838,7 @@
"name" : "[END][结束时间]", "name" : "[END][结束时间]",
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefformitems/Default", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefformitems/Default",
"uIMode" : "DEFAULT", "uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
"allowEmpty" : false
}, },
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefuimodes/Default", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END/psdefuimodes/Default",
"type" : "DEFAULT" "type" : "DEFAULT"
...@@ -879,8 +877,7 @@ ...@@ -879,8 +877,7 @@
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdefields/END",
"serviceCodeName" : "End", "serviceCodeName" : "End",
"stdDataType" : 5, "stdDataType" : 5,
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
"allowEmpty" : false
}, { }, {
"getAllPSDEFDTColumns" : [ { "getAllPSDEFDTColumns" : [ {
"columnName" : "BOOKNAME", "columnName" : "BOOKNAME",
...@@ -4382,8 +4379,7 @@ ...@@ -4382,8 +4379,7 @@
"rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdemethoddtos/BookDTO/psdemethoddtofields/End", "rTMOSFilePath" : "psmodules/common/psdataentities/BOOK/psdemethoddtos/BookDTO/psdemethoddtofields/End",
"sourceType" : "DEFIELD", "sourceType" : "DEFIELD",
"stdDataType" : 5, "stdDataType" : 5,
"type" : "SIMPLE", "type" : "SIMPLE"
"allowEmpty" : false
}, { }, {
"logicName" : "书标识", "logicName" : "书标识",
"name" : "BookId", "name" : "BookId",
......
...@@ -1209,16 +1209,16 @@ ...@@ -1209,16 +1209,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" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
...@@ -605,7 +605,6 @@ ...@@ -605,7 +605,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/MobileDefault", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT", "uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"allowEmpty" : false,
"mobileMode" : true "mobileMode" : true
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/MobileDefault", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/MobileDefault",
...@@ -622,8 +621,7 @@ ...@@ -622,8 +621,7 @@
"name" : "[END][结束时间]", "name" : "[END][结束时间]",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/Default",
"uIMode" : "DEFAULT", "uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
"allowEmpty" : false
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/Default",
"type" : "DEFAULT" "type" : "DEFAULT"
...@@ -2180,8 +2178,7 @@ ...@@ -2180,8 +2178,7 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdemethoddtos/BookDTO/psappdemethoddtofields/End", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdemethoddtos/BookDTO/psappdemethoddtofields/End",
"sourceType" : "DEFIELD", "sourceType" : "DEFIELD",
"stdDataType" : 5, "stdDataType" : 5,
"type" : "SIMPLE", "type" : "SIMPLE"
"allowEmpty" : false
}, { }, {
"codeName" : "BookId", "codeName" : "BookId",
"logicName" : "书标识", "logicName" : "书标识",
......
...@@ -739,10 +739,9 @@ ...@@ -739,10 +739,9 @@
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"AC" : "TRUE", "AC" : "TRUE",
"TRIGGER" : "TRUE", "PICKUPVIEW" : "TRUE"
"PICKUPVIEW" : "FALSE"
}, },
"editorType" : "PICKEREX_TRIGGER", "editorType" : "PICKER",
"handlerType" : "PickupText", "handlerType" : "PickupText",
"getLinkPSAppView" : { "getLinkPSAppView" : {
"modelref" : true, "modelref" : true,
...@@ -772,7 +771,7 @@ ...@@ -772,7 +771,7 @@
}, },
"valueItemName" : "field16", "valueItemName" : "field16",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : false, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
"showTrigger" : true, "showTrigger" : true,
"singleSelect" : true "singleSelect" : true
......
...@@ -40,73 +40,32 @@ ...@@ -40,73 +40,32 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "field3值规则", "name" : "amount值规则",
"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" : "EQ",
"dEFName" : "FIELD5", "condType" : "SIMPLE",
"name" : "[系统值规则]脚本值规则测试", "dEFName" : "AMOUNT",
"getPSSysValueRule" : { "name" : "[常规条件] 等于(=) (100)",
"codeName" : "ValueRule20", "paramType" : "SRCENTITYFIELD",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json", "paramValue" : "100",
"mOSFilePath" : "pssysvaluerules/ValueRule20", "ruleInfo" : "amount等于100"
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ], } ],
"ruleInfo" : "脚本校验" "ruleInfo" : "amount等于100"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "脚本校验", "ruleInfo" : "amount等于100",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field5", "getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -169,37 +128,6 @@ ...@@ -169,37 +128,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" : "表单项值规则",
...@@ -391,6 +319,78 @@ ...@@ -391,6 +319,78 @@
}, },
"getPSDEFormItemName" : "field7", "getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"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"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -169,73 +169,32 @@ ...@@ -169,73 +169,32 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "field3值规则", "name" : "amount值规则",
"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" : "EQ",
"dEFName" : "FIELD5", "condType" : "SIMPLE",
"name" : "[系统值规则]脚本值规则测试", "dEFName" : "AMOUNT",
"getPSSysValueRule" : { "name" : "[常规条件] 等于(=) (100)",
"codeName" : "ValueRule20", "paramType" : "SRCENTITYFIELD",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json", "paramValue" : "100",
"mOSFilePath" : "pssysvaluerules/ValueRule20", "ruleInfo" : "amount等于100"
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ], } ],
"ruleInfo" : "脚本校验" "ruleInfo" : "amount等于100"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "脚本校验", "ruleInfo" : "amount等于100",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field5", "getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -298,37 +257,6 @@ ...@@ -298,37 +257,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" : "表单项值规则",
...@@ -520,6 +448,78 @@ ...@@ -520,6 +448,78 @@
}, },
"getPSDEFormItemName" : "field7", "getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"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"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
......
...@@ -946,10 +946,9 @@ ...@@ -946,10 +946,9 @@
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"AC" : "TRUE", "AC" : "TRUE",
"TRIGGER" : "TRUE", "PICKUPVIEW" : "TRUE"
"PICKUPVIEW" : "FALSE"
}, },
"editorType" : "PICKEREX_TRIGGER", "editorType" : "PICKER",
"handlerType" : "PickupText", "handlerType" : "PickupText",
"getLinkPSAppView" : { "getLinkPSAppView" : {
"modelref" : true, "modelref" : true,
...@@ -979,7 +978,7 @@ ...@@ -979,7 +978,7 @@
}, },
"valueItemName" : "field16", "valueItemName" : "field16",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : false, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
"showTrigger" : true, "showTrigger" : true,
"singleSelect" : true "singleSelect" : true
......
...@@ -2311,16 +2311,16 @@ ...@@ -2311,16 +2311,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" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
...@@ -17197,73 +17197,32 @@ ...@@ -17197,73 +17197,32 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "field3值规则", "name" : "amount值规则",
"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" : "EQ",
"dEFName" : "FIELD5", "condType" : "SIMPLE",
"name" : "[系统值规则]脚本值规则测试", "dEFName" : "AMOUNT",
"getPSSysValueRule" : { "name" : "[常规条件] 等于(=) (100)",
"codeName" : "ValueRule20", "paramType" : "SRCENTITYFIELD",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json", "paramValue" : "100",
"mOSFilePath" : "pssysvaluerules/ValueRule20", "ruleInfo" : "amount等于100"
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ], } ],
"ruleInfo" : "脚本校验" "ruleInfo" : "amount等于100"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "脚本校验", "ruleInfo" : "amount等于100",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field5", "getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -17326,37 +17285,6 @@ ...@@ -17326,37 +17285,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" : "表单项值规则",
...@@ -17548,6 +17476,78 @@ ...@@ -17548,6 +17476,78 @@
}, },
"getPSDEFormItemName" : "field7", "getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, {
"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"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
...@@ -21927,7 +21927,6 @@ ...@@ -21927,7 +21927,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/MobileDefault", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/MobileDefault",
"uIMode" : "MOBILEDEFAULT", "uIMode" : "MOBILEDEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS",
"allowEmpty" : false,
"mobileMode" : true "mobileMode" : true
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/MobileDefault", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/MobileDefault",
...@@ -21944,8 +21943,7 @@ ...@@ -21944,8 +21943,7 @@
"name" : "[END][结束时间]", "name" : "[END][结束时间]",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psdefformitems/Default",
"uIMode" : "DEFAULT", "uIMode" : "DEFAULT",
"valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS", "valueFormat" : "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
"allowEmpty" : false
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdefields/End/psappdefuimodes/Default",
"type" : "DEFAULT" "type" : "DEFAULT"
...@@ -23502,8 +23500,7 @@ ...@@ -23502,8 +23500,7 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdemethoddtos/BookDTO/psappdemethoddtofields/End", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/Book/psappdemethoddtos/BookDTO/psappdemethoddtofields/End",
"sourceType" : "DEFIELD", "sourceType" : "DEFIELD",
"stdDataType" : 5, "stdDataType" : 5,
"type" : "SIMPLE", "type" : "SIMPLE"
"allowEmpty" : false
}, { }, {
"codeName" : "BookId", "codeName" : "BookId",
"logicName" : "书标识", "logicName" : "书标识",
......
...@@ -2515,7 +2515,7 @@ ...@@ -2515,7 +2515,7 @@
"orderValue" : 300, "orderValue" : 300,
"rTMOSFilePath" : "pssysserviceapis/TrainSys/psdeserviceapis/Book/psdeserviceapifields/End", "rTMOSFilePath" : "pssysserviceapis/TrainSys/psdeserviceapis/Book/psdeserviceapifields/End",
"stdDataType" : 5, "stdDataType" : 5,
"allowEmpty" : false, "allowEmpty" : true,
"enableCreate" : true, "enableCreate" : true,
"enableModify" : true, "enableModify" : true,
"keyField" : false, "keyField" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册