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

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

上级 44a2aff0
...@@ -106,6 +106,50 @@ ...@@ -106,6 +106,50 @@
"enableFront" : true "enableFront" : true
}, },
"valueRuleType" : "SYSVALUERULE" "valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "formitem11",
"getPSSysValueRule" : {
"codeName" : "ValueRule4",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule4.json",
"name" : "正整数",
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "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"
},
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "formitem12",
"valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
...@@ -195,6 +239,15 @@ ...@@ -195,6 +239,15 @@
}, { }, {
"id" : "formitem10", "id" : "formitem10",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem11",
"dataType" : 25
}, {
"id" : "formitem12",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, { }, {
"id" : "testid", "id" : "testid",
"hidden" : true, "hidden" : true,
...@@ -862,6 +915,169 @@ ...@@ -862,6 +915,169 @@
}, },
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "系统值规则",
"codeName" : "grouppanel11",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel11",
"getPSDEFormDetails" : [ {
"caption" : "正整数",
"codeName" : "formitem11",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem11",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem11"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "属性值规则",
"codeName" : "grouppanel12",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel12",
"getPSDEFormDetails" : [ {
"caption" : "等于100",
"codeName" : "formitem12",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem12",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem12"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "预定义值规则",
"codeName" : "grouppanel13",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel13",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem2",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"name" : "rawitem2",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "最大值:20\n最小值:10\n精度:2\n最大长度 :10\n最小长度: 1",
"contentType" : "RAW",
"name" : "rawitem2",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0
},
"rawContent" : "最大值:20\n最小值:10\n精度:2\n最大长度 :10\n最小长度: 1",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "数值",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"precision" : "2",
"minvalue" : "10",
"maxvalue" : "20",
"maxlength" : "10",
"minlength" : "1"
},
"editorType" : "NUMBER",
"maxValue" : 20.0,
"minValue" : 10.0,
"name" : "formitem14",
"precision" : 2
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -229,6 +229,50 @@ ...@@ -229,6 +229,50 @@
"enableFront" : true "enableFront" : true
}, },
"valueRuleType" : "SYSVALUERULE" "valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFormItemName" : "formitem11",
"getPSSysValueRule" : {
"codeName" : "ValueRule4",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule4.json",
"name" : "正整数",
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"enableBackend" : true,
"enableFront" : true
},
"valueRuleType" : "SYSVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "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"
},
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "formitem12",
"valueRuleType" : "DEFVALUERULE"
} ], } ],
"getPSDEFormItems" : [ { "getPSDEFormItems" : [ {
"id" : "srfupdatedate", "id" : "srfupdatedate",
...@@ -318,6 +362,15 @@ ...@@ -318,6 +362,15 @@
}, { }, {
"id" : "formitem10", "id" : "formitem10",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem11",
"dataType" : 25
}, {
"id" : "formitem12",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, { }, {
"id" : "testid", "id" : "testid",
"hidden" : true, "hidden" : true,
...@@ -985,6 +1038,169 @@ ...@@ -985,6 +1038,169 @@
}, },
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "系统值规则",
"codeName" : "grouppanel11",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel11",
"getPSDEFormDetails" : [ {
"caption" : "正整数",
"codeName" : "formitem11",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem11",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem11"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "属性值规则",
"codeName" : "grouppanel12",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel12",
"getPSDEFormDetails" : [ {
"caption" : "等于100",
"codeName" : "formitem12",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem12",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem12"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "预定义值规则",
"codeName" : "grouppanel13",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "grouppanel13",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem2",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"name" : "rawitem2",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "最大值:20\n最小值:10\n精度:2\n最大长度 :10\n最小长度: 1",
"contentType" : "RAW",
"name" : "rawitem2",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0
},
"rawContent" : "最大值:20\n最小值:10\n精度:2\n最大长度 :10\n最小长度: 1",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "数值",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"precision" : "2",
"minvalue" : "10",
"maxvalue" : "20",
"maxlength" : "10",
"minlength" : "1"
},
"editorType" : "NUMBER",
"maxValue" : 20.0,
"minValue" : 10.0,
"name" : "formitem14",
"precision" : 2
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册