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

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

上级 60a26399
...@@ -1318,10 +1318,10 @@ ...@@ -1318,10 +1318,10 @@
"dEFName" : "FIELD3", "dEFName" : "FIELD3",
"maxValue" : 15, "maxValue" : 15,
"minValue" : 5, "minValue" : 5,
"name" : "[字符长度] 大于 5 且 小于 15", "name" : "[字符长度] 大于等于 5 且 小于等于 15",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "5<=field3字符长度<=15",
"includeMaxValue" : false, "includeMaxValue" : true,
"includeMinValue" : false "includeMinValue" : true
} ], } ],
"ruleInfo" : "5<=field3字符长度<=15" "ruleInfo" : "5<=field3字符长度<=15"
}, },
...@@ -1421,6 +1421,40 @@ ...@@ -1421,6 +1421,40 @@
"type" : "DEFAULT" "type" : "DEFAULT"
} ], } ],
"getAllPSDEFValueRules" : [ { "getAllPSDEFValueRules" : [ {
"codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field4值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD4",
"name" : "[系统值规则]URL",
"getPSSysValueRule" : {
"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" : "内容必须为有效URL格式"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
}, {
"codeName" : "Default", "codeName" : "Default",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/Default", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/Default",
"name" : "默认规则", "name" : "默认规则",
......
...@@ -40,62 +40,73 @@ ...@@ -40,62 +40,73 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule3", "codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field2值规则", "name" : "field4值规则",
"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/FIELD2/psdefvaluerules/ValueRule3", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "只能写数字", "ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field2", "getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field3值规则", "name" : "field值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH", "condType" : "VALUERANGE2",
"dEFName" : "FIELD3", "dEFName" : "FIELD",
"maxValue" : 15, "maxValue" : 20.0,
"minValue" : 5, "minValue" : 10.0,
"name" : "[字符长度] 大于 5 且 小于 15", "name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"includeMaxValue" : false, "includeMaxValue" : true,
"includeMinValue" : false "includeMinValue" : true
} ], } ],
"ruleInfo" : "5<=field3字符长度<=15" "ruleInfo" : "10<=field<=20"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field3", "getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -132,33 +143,62 @@ ...@@ -132,33 +143,62 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule2", "codeName" : "ValueRule3",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"name" : "field值规则", "name" : "field2值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2", "condType" : "REGEX",
"dEFName" : "FIELD", "dEFName" : "FIELD2",
"maxValue" : 20.0, "name" : "[正则式](^[0-9]*$)",
"minValue" : 10.0, "regExCode" : "^[0-9]*$",
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0", "ruleInfo" : "只能写数字"
"ruleInfo" : "10<=field<=20", } ],
"ruleInfo" : "只能写数字"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"ruleInfo" : "只能写数字",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field2",
"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, "includeMaxValue" : true,
"includeMinValue" : true "includeMinValue" : true
} ], } ],
"ruleInfo" : "10<=field<=20" "ruleInfo" : "5<=field3字符长度<=15"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "10<=field<=20", "ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field", "getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
...@@ -233,6 +273,13 @@ ...@@ -233,6 +273,13 @@
"name" : "FIELD3", "name" : "FIELD3",
"codeName" : "Field3" "codeName" : "Field3"
} }
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, { }, {
"id" : "testid", "id" : "testid",
"hidden" : true, "hidden" : true,
...@@ -555,6 +602,80 @@ ...@@ -555,6 +602,80 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "系统值规则",
"codeName" : "grouppanel5",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"name" : "grouppanel5",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem5",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "有效url",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"rawContent" : "有效url",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "属性4",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/field4",
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field4"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/field4",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -169,62 +169,73 @@ ...@@ -169,62 +169,73 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule3", "codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field2值规则", "name" : "field4值规则",
"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/FIELD2/psdefvaluerules/ValueRule3", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "只能写数字", "ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field2", "getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field3值规则", "name" : "field值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH", "condType" : "VALUERANGE2",
"dEFName" : "FIELD3", "dEFName" : "FIELD",
"maxValue" : 15, "maxValue" : 20.0,
"minValue" : 5, "minValue" : 10.0,
"name" : "[字符长度] 大于 5 且 小于 15", "name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"includeMaxValue" : false, "includeMaxValue" : true,
"includeMinValue" : false "includeMinValue" : true
} ], } ],
"ruleInfo" : "5<=field3字符长度<=15" "ruleInfo" : "10<=field<=20"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field3", "getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -261,33 +272,62 @@ ...@@ -261,33 +272,62 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule2", "codeName" : "ValueRule3",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"name" : "field值规则", "name" : "field2值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2", "condType" : "REGEX",
"dEFName" : "FIELD", "dEFName" : "FIELD2",
"maxValue" : 20.0, "name" : "[正则式](^[0-9]*$)",
"minValue" : 10.0, "regExCode" : "^[0-9]*$",
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0", "ruleInfo" : "只能写数字"
"ruleInfo" : "10<=field<=20", } ],
"ruleInfo" : "只能写数字"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"ruleInfo" : "只能写数字",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field2",
"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, "includeMaxValue" : true,
"includeMinValue" : true "includeMinValue" : true
} ], } ],
"ruleInfo" : "10<=field<=20" "ruleInfo" : "5<=field3字符长度<=15"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "10<=field<=20", "ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field", "getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
...@@ -362,6 +402,13 @@ ...@@ -362,6 +402,13 @@
"name" : "FIELD3", "name" : "FIELD3",
"codeName" : "Field3" "codeName" : "Field3"
} }
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, { }, {
"id" : "testid", "id" : "testid",
"hidden" : true, "hidden" : true,
...@@ -684,6 +731,80 @@ ...@@ -684,6 +731,80 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "系统值规则",
"codeName" : "grouppanel5",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"name" : "grouppanel5",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem5",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "有效url",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"rawContent" : "有效url",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "属性4",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/field4",
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field4"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/field4",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -16391,62 +16391,73 @@ ...@@ -16391,62 +16391,73 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule3", "codeName" : "ValueRule5",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"name" : "field2值规则", "name" : "field4值规则",
"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/FIELD2/psdefvaluerules/ValueRule3", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5",
"ruleInfo" : "只能写数字", "ruleInfo" : "内容必须为有效URL格式",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field2", "getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule4", "codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field3值规则", "name" : "field值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH", "condType" : "VALUERANGE2",
"dEFName" : "FIELD3", "dEFName" : "FIELD",
"maxValue" : 15, "maxValue" : 20.0,
"minValue" : 5, "minValue" : 10.0,
"name" : "[字符长度] 大于 5 且 小于 15", "name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"includeMaxValue" : false, "includeMaxValue" : true,
"includeMinValue" : false "includeMinValue" : true
} ], } ],
"ruleInfo" : "5<=field3字符长度<=15" "ruleInfo" : "10<=field<=20"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "5<=field3字符长度<=15", "ruleInfo" : "10<=field<=20",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field3", "getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
}, { }, {
"checkMode" : 3, "checkMode" : 3,
...@@ -16483,33 +16494,62 @@ ...@@ -16483,33 +16494,62 @@
"checkMode" : 3, "checkMode" : 3,
"name" : "表单项值规则", "name" : "表单项值规则",
"getPSDEFValueRule" : { "getPSDEFValueRule" : {
"codeName" : "ValueRule2", "codeName" : "ValueRule3",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"name" : "field值规则", "name" : "field2值规则",
"getPSDEFVRGroupCondition" : { "getPSDEFVRGroupCondition" : {
"condOp" : "AND", "condOp" : "AND",
"condType" : "GROUP", "condType" : "GROUP",
"name" : "默认组", "name" : "默认组",
"getPSDEFVRConditions" : [ { "getPSDEFVRConditions" : [ {
"condType" : "VALUERANGE2", "condType" : "REGEX",
"dEFName" : "FIELD", "dEFName" : "FIELD2",
"maxValue" : 20.0, "name" : "[正则式](^[0-9]*$)",
"minValue" : 10.0, "regExCode" : "^[0-9]*$",
"name" : "[数值范围] 大于等于 10.0 且 小于等于 20.0", "ruleInfo" : "只能写数字"
"ruleInfo" : "10<=field<=20", } ],
"ruleInfo" : "只能写数字"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3",
"ruleInfo" : "只能写数字",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field2",
"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, "includeMaxValue" : true,
"includeMinValue" : true "includeMinValue" : true
} ], } ],
"ruleInfo" : "10<=field<=20" "ruleInfo" : "5<=field3字符长度<=15"
}, },
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2", "rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "10<=field<=20", "ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false, "checkDefault" : false,
"defaultMode" : false, "defaultMode" : false,
"enableBackend" : true, "enableBackend" : true,
"enableFront" : true "enableFront" : true
}, },
"getPSDEFormItemName" : "field", "getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE" "valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
...@@ -16584,6 +16624,13 @@ ...@@ -16584,6 +16624,13 @@
"name" : "FIELD3", "name" : "FIELD3",
"codeName" : "Field3" "codeName" : "Field3"
} }
}, {
"id" : "field4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
}
}, { }, {
"id" : "testid", "id" : "testid",
"hidden" : true, "hidden" : true,
...@@ -16906,6 +16953,80 @@ ...@@ -16906,6 +16953,80 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel4",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "系统值规则",
"codeName" : "grouppanel5",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"name" : "grouppanel5",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem5",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "有效url",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem5",
"rawContent" : "有效url",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "属性4",
"codeName" : "field4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/field4",
"name" : "field4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD4",
"codeName" : "Field4"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "field4"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/field4",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册