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

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

上级 d0e67874
......@@ -222,6 +222,9 @@
}, {
"name" : "AMOUNT",
"codeName" : "Amount"
}, {
"name" : "FIELD",
"codeName" : "Field"
} ],
"codeName" : "Table",
"dynaModelFilePath" : "PSMODULES/Test/PSDATAENTITIES/TEST/PSDETABLES/Table.json",
......@@ -946,7 +949,15 @@
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组"
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) 数据对象属性(100)",
"paramType" : "ENTITYFIELD",
"paramValue" : "100"
} ]
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "值规则",
......@@ -991,6 +1002,95 @@
"serviceCodeName" : "Amount",
"stdDataType" : 6,
"valueFormat" : "%1$,.2f"
}, {
"getAllPSDEFDTColumns" : [ {
"columnName" : "FIELD",
"dBType" : "MYSQL5",
"name" : "FIELD",
"queryCodeExp" : "t1.`FIELD`",
"standardColumnName" : "`FIELD`"
} ],
"getAllPSDEFUIModes" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefuimodes/Default",
"name" : "[FIELD][属性]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "TEXTBOX",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/Default",
"name" : "[FIELD][属性]",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/Default",
"stringLength" : 100,
"uIMode" : "DEFAULT"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefuimodes/Default",
"type" : "DEFAULT"
}, {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefuimodes/MobileDefault",
"name" : "[FIELD][属性]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBTEXT",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/MobileDefault",
"name" : "[FIELD][属性]移动端默认",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/MobileDefault",
"stringLength" : 100,
"uIMode" : "MOBILEDEFAULT",
"mobileMode" : true
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
} ],
"getAllPSDEFValueRules" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/Default",
"name" : "默认规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "FIELD",
"maxValue" : 100,
"name" : "默认字符串长度",
"ruleInfo" : "内容长度必须小于等于[100]",
"includeMaxValue" : true,
"includeMinValue" : false,
"keyCond" : true
} ],
"ruleInfo" : "内容长度必须小于等于[100]"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/Default",
"ruleInfo" : "内容长度必须小于等于[100]",
"checkDefault" : true,
"defaultMode" : true,
"enableBackend" : true,
"enableFront" : true
} ],
"codeName" : "Field",
"dEFType" : 1,
"dataType" : "TEXT",
"importOrder" : 1000,
"length" : 100,
"logicName" : "属性",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD",
"name" : "FIELD",
"getPSDEDBTable" : {
"modelref" : true,
"path" : "PSMODULES/Test/PSDATAENTITIES/TEST/PSDETABLES/Table.json"
},
"getPSSysDBColumn" : {
"modelref" : true,
"id" : "FIELD"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD",
"serviceCodeName" : "Field",
"stdDataType" : 25,
"stringLength" : 100,
"valueFormat" : "%1$s"
} ],
"getAllPSDELogics" : [ {
"codeName" : "logic1",
......@@ -1106,6 +1206,18 @@
"type" : "SIMPLE",
"allowEmpty" : false,
"readOnly" : true
}, {
"logicName" : "属性",
"name" : "Field",
"getPSDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdemethoddtos/TESTDTO/psdemethoddtofields/Field",
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, {
"logicName" : "测试实体标识",
"name" : "TESTId",
......@@ -1349,6 +1461,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/EditView3_modal",
"realModelSubType" : "DEEDITVIEW3",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "TestRulesEditView",
"logicName" : "测试实体值规则实体编辑视图",
"mOSFilePath" : "psmodeldata$psdataentities/TestRulesEditView",
"name" : "测试实体值规则实体编辑视图",
"rTMOSFilePath" : "psmodeldata$psdataentities/TestRulesEditView",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "EditView2",
"logicName" : "测试实体实体编辑视图(左右关系)",
......@@ -1415,6 +1535,15 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/noTabForm",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "testRules",
"logicName" : "测试值规则",
"mOSFilePath" : "psmodeldata$psdataentities/testRules",
"modelTag2" : "0",
"name" : "测试值规则",
"rTMOSFilePath" : "psmodeldata$psdataentities/testRules",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Main",
"logicName" : "主编辑表单",
......
......@@ -11,6 +11,9 @@
}, {
"expression" : "t1.`CREATEMAN`",
"name" : "CREATEMAN"
}, {
"expression" : "t1.`FIELD`",
"name" : "FIELD"
}, {
"expression" : "t1.`TESTID`",
"name" : "TESTID"
......@@ -24,7 +27,7 @@
"expression" : "t1.`UPDATEMAN`",
"name" : "UPDATEMAN"
} ],
"queryCode" : "SELECT\nt1.`AMOUNT`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`TESTID`,\nt1.`TESTNAME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_TEST` t1 \n",
"queryCode" : "SELECT\nt1.`AMOUNT`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`FIELD`,\nt1.`TESTID`,\nt1.`TESTNAME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_TEST` t1 \n",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdedataqueries/DEFAULT/psdedqcodes/MYSQL5",
"id" : "PSMODULES/Test/PSDATAENTITIES/TEST/PSDEDATAQUERIES/Default/PSDEDQCODES/MYSQL5.json"
}
\ No newline at end of file
......@@ -11,6 +11,9 @@
}, {
"expression" : "t1.`CREATEMAN`",
"name" : "CREATEMAN"
}, {
"expression" : "t1.`FIELD`",
"name" : "FIELD"
}, {
"expression" : "t1.`TESTID`",
"name" : "TESTID"
......@@ -24,7 +27,7 @@
"expression" : "t1.`UPDATEMAN`",
"name" : "UPDATEMAN"
} ],
"queryCode" : "SELECT\nt1.`AMOUNT`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`TESTID`,\nt1.`TESTNAME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_TEST` t1 \n",
"queryCode" : "SELECT\nt1.`AMOUNT`,\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`FIELD`,\nt1.`TESTID`,\nt1.`TESTNAME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_TEST` t1 \n",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdedataqueries/VIEW/psdedqcodes/MYSQL5",
"id" : "PSMODULES/Test/PSDATAENTITIES/TEST/PSDEDATAQUERIES/View/PSDEDQCODES/MYSQL5.json"
}
\ No newline at end of file
......@@ -627,6 +627,46 @@
"precision" : 2,
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Amount",
"stdDataType" : 6
}, {
"getAllPSAppDEFUIModes" : [ {
"codeName" : "Default",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psappdefuimodes/Default",
"name" : "[FIELD][属性]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "TEXTBOX",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/Default",
"name" : "[FIELD][属性]",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Field/psdefformitems/Default",
"stringLength" : 100,
"uIMode" : "DEFAULT"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Field/psappdefuimodes/Default",
"type" : "DEFAULT"
}, {
"codeName" : "MobileDefault",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psappdefuimodes/MobileDefault",
"name" : "[FIELD][属性]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBTEXT",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefformitems/MobileDefault",
"name" : "[FIELD][属性]移动端默认",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Field/psdefformitems/MobileDefault",
"stringLength" : 100,
"uIMode" : "MOBILEDEFAULT",
"mobileMode" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Field/psappdefuimodes/MobileDefault",
"type" : "MOBILEDEFAULT",
"mobileMode" : true
} ],
"codeName" : "Field",
"logicName" : "属性",
"name" : "FIELD",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdefields/Field",
"stdDataType" : 25,
"stringLength" : 100
} ],
"getAllPSAppDELogics" : [ {
"codeName" : "logic1",
......@@ -745,6 +785,18 @@
"stdDataType" : 25,
"type" : "SIMPLE",
"allowEmpty" : false
}, {
"codeName" : "Field",
"logicName" : "属性",
"name" : "Field",
"getPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdemethoddtos/TESTDTO/psappdemethoddtofields/Field",
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, {
"codeName" : "TESTId",
"logicName" : "测试实体标识",
......@@ -1347,6 +1399,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTListView.json",
"viewType" : "DELISTVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json",
"viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGridView_drawer.json",
......
{
"codeName" : "TestRules",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
"logicName" : "测试值规则",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdeform_editforms/TestRules",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"getPSControlLogics" : [ {
"eventNames" : "LOAD;SAVE;REMOVE",
"logicTag" : "form",
"logicType" : "APPVIEWENGINE",
"name" : "engine_form",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEFormItemVRs" : [ {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) 数据对象属性(100)",
"paramType" : "ENTITYFIELD",
"paramValue" : "100"
} ]
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "值规则",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTID",
"codeName" : "TESTId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTNAME",
"codeName" : "TESTName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "amount",
"dataType" : 6,
"getPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
}
}, {
"id" : "testid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTID",
"codeName" : "TESTId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"mOSFilePath" : "psdeformdetail_formpages/formpage1",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "属性值规则",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/group1",
"name" : "group1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "常规条件",
"codeName" : "grouppanel1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel1",
"name" : "grouppanel1",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem1",
"contentType" : "RAW",
"detailStyle" : "DEFAULT",
"detailType" : "RAWITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem1",
"name" : "rawitem1",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "金额=100",
"contentType" : "RAW",
"name" : "rawitem1"
},
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem1",
"rawContent" : "金额=100",
"rawItemHeight" : -1.0,
"rawItemWidth" : -1.0,
"showCaption" : true
}, {
"caption" : "金额",
"codeName" : "amount",
"dataType" : 6,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/amount",
"name" : "amount",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "AMOUNT",
"codeName" : "Amount"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "amount",
"precision" : 2
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/amount",
"unitName" : "元",
"allowEmpty" : true,
"enableUnitName" : 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/grouppanel1",
"infoGroupMode" : false,
"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/group1",
"infoGroupMode" : false,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formpages/formpage1",
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/TESTTestRulesEditView/psappviewctrls/form",
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : true,
"modelid" : "7B47734B-2D57-44E6-A6B0-045EE4FFB8A7",
"modeltype" : "PSDEFORM_EDITFORM"
}
\ No newline at end of file
......@@ -2666,6 +2666,12 @@
"viewType" : "DETABEXPVIEW",
"resource" : "Phone",
"view" : "TabExpView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json",
"viewType" : "DEEDITVIEW",
"resource" : "TEST",
"view" : "TestRulesEditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentGridView.json",
......
......@@ -1343,6 +1343,15 @@
"rTMOSFilePath" : "pssysdbschemes/A869db62931b97a65fd/pssysdbtables/T_TEST/pssysdbcolumns/CREATEMAN",
"stdDataType" : 25,
"nullable" : true
}, {
"codeName" : "FIELD",
"length" : 100,
"logicName" : "属性",
"mOSFilePath" : "pssysdbschemes/A869db62931b97a65fd/pssysdbtables/T_TEST/pssysdbcolumns/FIELD",
"name" : "FIELD",
"rTMOSFilePath" : "pssysdbschemes/A869db62931b97a65fd/pssysdbtables/T_TEST/pssysdbcolumns/FIELD",
"stdDataType" : 25,
"nullable" : true
}, {
"codeName" : "TESTID",
"length" : 100,
......
......@@ -1279,6 +1279,21 @@
"enableModify" : true,
"keyField" : false,
"majorField" : false
}, {
"codeName" : "Field",
"codeName2" : "Field",
"logicName" : "属性",
"mOSFilePath" : "pssysserviceapis/TrainSys/psdeserviceapis/TEST/psdeserviceapifields/Field",
"name" : "FIELD",
"orderValue" : 1000,
"rTMOSFilePath" : "pssysserviceapis/TrainSys/psdeserviceapis/TEST/psdeserviceapifields/Field",
"stdDataType" : 25,
"stringLength" : 100,
"allowEmpty" : true,
"enableCreate" : true,
"enableModify" : true,
"keyField" : false,
"majorField" : false
} ],
"getPSDEServiceAPIMethods" : [ {
"dataAccessAction" : "CREATE",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册