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

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

上级 656aa8c7
...@@ -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" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
...@@ -447,6 +447,25 @@ ...@@ -447,6 +447,25 @@
"name" : "FIELD32", "name" : "FIELD32",
"codeName" : "Field32" "codeName" : "Field32"
} }
}, {
"id" : "formitem9",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD34",
"codeName" : "Field34"
}
}, {
"id" : "formitem10",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD38",
"codeName" : "Field38"
}
}, {
"id" : "formitemex1",
"dataType" : 25
}, { }, {
"id" : "createman", "id" : "createman",
"dataType" : 25, "dataType" : 25,
...@@ -2678,6 +2697,87 @@ ...@@ -2678,6 +2697,87 @@
"detailType" : "GROUPPANEL", "detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel6", "mOSFilePath" : "psdeformdetail_grouppanels/grouppanel6",
"name" : "grouppanel6", "name" : "grouppanel6",
"getPSDEFormDetails" : [ {
"codeName" : "formitemex1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitemices/formitemex1",
"name" : "formitemex1",
"noPrivDisplayMode" : 1,
"getPSDEFormItems" : [ {
"caption" : "属性34",
"codeName" : "formitem9",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem9",
"name" : "formitem9",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD34",
"codeName" : "Field34"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem9"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem9",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"caption" : "属性38",
"codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD38",
"codeName" : "Field38"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem10"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSEditor" : {
"editorType" : "NUMBERRANGE",
"name" : "formitemex1",
"getPSEditorItems" : [ {
"name" : "formitem9"
}, {
"name" : "formitem10"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitemices/formitemex1",
"allowEmpty" : true,
"compositeItem" : true,
"showCaption" : true
} ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
"childColMD" : 24, "childColMD" : 24,
......
...@@ -37,109 +37,6 @@ ...@@ -37,109 +37,6 @@
} }
} ], } ],
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"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,
"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" : {
...@@ -359,6 +256,37 @@ ...@@ -359,6 +256,37 @@
}, },
"getPSDEFormItemName" : "field6", "getPSDEFormItemName" : "field6",
"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" : "field", "getPSDEFormItemName" : "field",
"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",
......
...@@ -19,10 +19,6 @@ ...@@ -19,10 +19,6 @@
"mOSFilePath" : "pssysapps/Web/psappdeviews/ReginfoUsr0301727282ChartView/psappviewengines/engine", "mOSFilePath" : "pssysapps/Web/psappdeviews/ReginfoUsr0301727282ChartView/psappviewengines/engine",
"name" : "engine", "name" : "engine",
"getPSUIEngineParams" : [ { "getPSUIEngineParams" : [ {
"ctrlName" : "chart",
"name" : "CHART",
"paramType" : "CTRL"
}, {
"ctrlName" : "searchform", "ctrlName" : "searchform",
"name" : "SEARCHFORM", "name" : "SEARCHFORM",
"paramType" : "CTRL" "paramType" : "CTRL"
...@@ -129,278 +125,6 @@ ...@@ -129,278 +125,6 @@
"name" : "searchform", "name" : "searchform",
"modelid" : "DC09016E-CD44-40C0-BA02-6D49349808AD", "modelid" : "DC09016E-CD44-40C0-BA02-6D49349808AD",
"modeltype" : "PSDEFORM_SEARCHFORM" "modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"codeName" : "Usr0301355514",
"controlType" : "CHART",
"coordinateSystem" : "XY",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Usr0301355514.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"height" : 500.0,
"hookEventNames" : [ "LOAD", "BEFORELOAD" ],
"logicName" : "Chart3",
"mOSFilePath" : "psmodules/common/psdataentities/REGINFO/psdecharts/Usr0301355514",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
},
"getPSChartCoordinateSystems" : [ {
"eChartsType" : "cartesian2d",
"index" : 0,
"name" : "[bar_0]直角坐标系[0]",
"getPSChartGrid" : {
"index" : 0,
"name" : "[bar_0]直角坐标系[0]",
"getPSChartCoordinateSystem" : {
"modelref" : true,
"id" : "0"
},
"getPSChartGridXAxis0" : {
"modelref" : true,
"id" : "0"
},
"getPSChartGridYAxis0" : {
"modelref" : true,
"id" : "0"
},
"type" : "grid",
"id" : "0"
},
"type" : "XY",
"id" : "0"
} ],
"getPSChartDataSetGroups" : [ {
"index" : 0,
"name" : "DEFAULT",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
},
"id" : "0"
} ],
"getPSChartDataSets" : [ {
"index" : 0,
"name" : "bar_0-DEFAULT",
"getPSChartDataSetFields" : [ {
"index" : 0,
"name" : "NAME",
"getPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"groupField" : true,
"id" : "0"
}, {
"index" : 1,
"name" : "DEPARTMENT",
"groupField" : true,
"id" : "1"
}, {
"index" : 2,
"name" : "AGE",
"groupField" : false,
"id" : "2"
} ],
"id" : "0"
} ],
"getPSChartGrids" : [ {
"index" : 0,
"name" : "[bar_0]直角坐标系[0]",
"getPSChartCoordinateSystem" : {
"modelref" : true,
"id" : "0"
},
"getPSChartGridXAxis0" : {
"modelref" : true,
"id" : "0"
},
"getPSChartGridYAxis0" : {
"modelref" : true,
"id" : "0"
},
"type" : "grid",
"id" : "0"
} ],
"getPSChartXAxises" : [ {
"eChartsPos" : "xAxis",
"eChartsType" : "category",
"index" : 0,
"name" : "axis_xAxis_0",
"position" : "bottom",
"type" : "category",
"id" : "0"
} ],
"getPSChartYAxises" : [ {
"eChartsPos" : "yAxis",
"eChartsType" : "value",
"index" : 0,
"name" : "axis_yAxis_0",
"position" : "left",
"type" : "numeric",
"id" : "0"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "图形控件处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;BEFORELOAD",
"logicTag" : "chart",
"logicType" : "APPVIEWENGINE",
"name" : "engine_chart",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"height" : 500.0,
"width" : 1000.0,
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "CHART"
},
"getPSDEChartLegend" : {
"index" : 0,
"legendPos" : "LEFT",
"showLegend" : true,
"id" : "0"
},
"getPSDEChartSerieses" : [ {
"caption" : "学生年龄信息",
"catalogField" : "NAME",
"getCatalogPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"eChartsType" : "bar",
"index" : 0,
"name" : "bar_0",
"getPSChartCoordinateSystem" : {
"modelref" : true,
"id" : "0"
},
"getPSChartDataSet" : {
"modelref" : true,
"id" : "0"
},
"getPSChartSeriesEncode" : {
"index" : 0,
"itemId" : "DEPARTMENT",
"itemName" : "DEPARTMENT",
"name" : "坐标系编码",
"getPSChartXAxis" : {
"modelref" : true,
"id" : "0"
},
"getPSChartYAxis" : {
"modelref" : true,
"id" : "0"
},
"type" : "XY",
"x" : [ "NAME" ],
"y" : [ "AGE" ],
"id" : "0"
},
"seriesField" : "DEPARTMENT",
"seriesLayoutBy" : "column",
"seriesType" : "bar",
"valueField" : "AGE",
"enableChartDataSet" : true,
"stack" : true
} ],
"getPSDEChartTitle" : {
"index" : 0,
"subTitle" : "学生年龄信息",
"title" : "柱状图_图表",
"titlePos" : "BOTTOM",
"showTitle" : true,
"id" : "0"
},
"getPSSysCss" : {
"cssName" : "test3"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/ReginfoUsr0301727282ChartView/psappviewctrls/chart",
"width" : 1000.0,
"readOnly" : true,
"name" : "chart",
"modelid" : "A1BCD468-3027-4DAF-A36E-F8900BF586DA",
"modeltype" : "PSDECHART",
"getUserParam" : {
"EC.textStyle" : "{\"color\":\"#B8F4BD\",\"fontSize\":16}",
"EC.color" : "[\"#5470c6\",\"#91cc75\",\"#fac858\",\"#ee6666\",\"#73c0de\",\"#3ba272\",\"#fc8452\",\"#9a60b4\",\"#ea7ccc\",\"#5470c6\",\"#91cc75\"]"
}
} ], } ],
"getPSDEViewCodeName" : "Usr0301727282ChartView", "getPSDEViewCodeName" : "Usr0301727282ChartView",
"getPSDEViewId" : "9759019C-5EE6-43BD-AA8B-7ED10969FAC5", "getPSDEViewId" : "9759019C-5EE6-43BD-AA8B-7ED10969FAC5",
......
...@@ -166,109 +166,6 @@ ...@@ -166,109 +166,6 @@
"id" : "FORM" "id" : "FORM"
}, },
"getPSDEFormItemVRs" : [ { "getPSDEFormItemVRs" : [ {
"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,
"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" : {
...@@ -488,6 +385,37 @@ ...@@ -488,6 +385,37 @@
}, },
"getPSDEFormItemName" : "field6", "getPSDEFormItemName" : "field6",
"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" : "field", "getPSDEFormItemName" : "field",
"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",
......
...@@ -1783,6 +1783,25 @@ ...@@ -1783,6 +1783,25 @@
"name" : "FIELD32", "name" : "FIELD32",
"codeName" : "Field32" "codeName" : "Field32"
} }
}, {
"id" : "formitem9",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD34",
"codeName" : "Field34"
}
}, {
"id" : "formitem10",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "FIELD38",
"codeName" : "Field38"
}
}, {
"id" : "formitemex1",
"dataType" : 25
}, { }, {
"id" : "createman", "id" : "createman",
"dataType" : 25, "dataType" : 25,
...@@ -4014,6 +4033,87 @@ ...@@ -4014,6 +4033,87 @@
"detailType" : "GROUPPANEL", "detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel6", "mOSFilePath" : "psdeformdetail_grouppanels/grouppanel6",
"name" : "grouppanel6", "name" : "grouppanel6",
"getPSDEFormDetails" : [ {
"codeName" : "formitemex1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitemices/formitemex1",
"name" : "formitemex1",
"noPrivDisplayMode" : 1,
"getPSDEFormItems" : [ {
"caption" : "属性34",
"codeName" : "formitem9",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem9",
"name" : "formitem9",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD34",
"codeName" : "Field34"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem9"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem9",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"caption" : "属性38",
"codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "FIELD38",
"codeName" : "Field38"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem10"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSEditor" : {
"editorType" : "NUMBERRANGE",
"name" : "formitemex1",
"getPSEditorItems" : [ {
"name" : "formitem9"
}, {
"name" : "formitem10"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitemices/formitemex1",
"allowEmpty" : true,
"compositeItem" : true,
"showCaption" : true
} ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
"childColMD" : 24, "childColMD" : 24,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册