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

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

上级 833646b9
......@@ -601,7 +601,7 @@
},
"getPSSysPFPlugin" : {
"pluginType" : "CUSTOM",
"pluginCode" : "Test",
"pluginCode" : "runtime_widget_out",
"runtimeObject" : true
},
"getRemovePSControlAction" : {
......
......@@ -900,6 +900,699 @@
} ],
"modelid" : "a4eb00b17f8652bdf677cb4ed5231e63",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "Main",
"controlStyle" : "runtime_widget_not_out",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSFORMS/Main.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"logicName" : "主编辑表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "FORM2"
},
"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" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
}, {
"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" : "phonename",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
}, {
"id" : "phonetype",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
}
}, {
"id" : "createman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
}
}, {
"id" : "createdate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
}
}, {
"id" : "updateman",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"id" : "updatedate",
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "deptid",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTID",
"codeName" : "DeptId"
}
}, {
"id" : "orgid",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "ORGID",
"codeName" : "OrgId"
}
}, {
"id" : "phoneid",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"id" : "formitem",
"dataType" : 25
}, {
"id" : "formitem2",
"dataType" : 25
}, {
"id" : "formitem1",
"dataType" : 25
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "手机基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "手机名称",
"codeName" : "phonename",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "phonename",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 200,
"name" : "phonename"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "手机型号",
"codeName" : "phonetype",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "phonetype",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
},
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[phonetype][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "phonename",
"logicType" : "SINGLE",
"name" : "phonename 等于(=) (10)",
"value" : "10"
} ],
"relatedDetailNames" : [ "phonename" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 100,
"name" : "phonetype"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "其它",
"codeName" : "formpage2",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage2",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "操作信息",
"codeName" : "group2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group2",
"getPSDEFormDetails" : [ {
"caption" : "建立人",
"codeName" : "createman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEMAN",
"codeName" : "CreateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "建立时间",
"codeName" : "createdate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "createdate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "CREATEDATE",
"codeName" : "CreateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "createdate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "更新人",
"codeName" : "updateman",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updateman",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"convertToCodeItemText" : true,
"showCaption" : true
}, {
"caption" : "更新时间",
"codeName" : "updatedate",
"dataType" : 5,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 3,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "updatedate",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "表单分页",
"codeName" : "formpage3",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage3",
"getPSDEFormDetails" : [ {
"caption" : "组织部门标识",
"codeName" : "deptid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTID",
"codeName" : "DeptId"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 60,
"name" : "deptid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "组织机构标识",
"codeName" : "orgid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "orgid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "ORGID",
"codeName" : "OrgId"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"maxLength" : 60,
"name" : "orgid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "手机标识",
"codeName" : "phoneid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "phoneid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "phoneid",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "formitem",
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
}, {
"caption" : "表单分页",
"codeName" : "formpage4",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage4",
"getPSDEFormDetails" : [ {
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 0,
"ignoreInput" : 4,
"itemWidth" : 290.0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 160.0,
"name" : "formitem2"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSDEFDGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "表单成员[formitem1][表单项启用]逻辑",
"getPSDEFDLogics" : [ {
"condOP" : "EQ",
"dEFDName" : "createdate",
"logicType" : "SINGLE",
"name" : "createdate 等于(=) (100)",
"value" : "100"
} ],
"relatedDetailNames" : [ "createdate" ],
"notMode" : false
} ],
"getPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "formitem1",
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSSysPFPlugin" : {
"pluginType" : "CUSTOM",
"pluginCode" : "runtime_widget_not_out",
"runtimeObject" : true
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"noTabHeader" : false,
"name" : "form2",
"modelid" : "a3ece2843bcddbc92a85087bdad4ecef",
"modeltype" : "PSDEFORM_EDITFORM"
}, {
"codeName" : "Main",
"controlType" : "FORM",
......@@ -1587,7 +2280,7 @@
},
"getPSSysPFPlugin" : {
"pluginType" : "CUSTOM",
"pluginCode" : "Test",
"pluginCode" : "runtime_widget_out",
"runtimeObject" : true
},
"getRemovePSControlAction" : {
......
......@@ -1051,22 +1051,29 @@
"controlType" : "APPMENU"
} ],
"getAllPSAppPFPluginRefs" : [ {
"name" : "Test",
"pluginCode" : "Test",
"name" : "bujian",
"pluginCode" : "bujian",
"pluginType" : "CUSTOM",
"refMode" : "CONTROL",
"refTag" : "FORM",
"templCode" : "<template>\r\n<div class='plugin'>插件</div>\r\n</template>\r\n<script>\r\nexport default {\r\n\r\n}\r\n</script>\r\n<style>\r\n.plugin {\r\n color: red;\r\n}\r\n</style>",
"templCode" : "<template>\r\n <button class='xx' @click='add'>xxx</button>\r\n </template>\r\n <script>\r\n export default {\r\n methods:{\r\n add(){\r\n alert('add')\r\n }\r\n }\r\n }\r\n </script>\r\n <style>\r\n .xx{\r\n color:red;\r\n }\r\n </style>\r\n",
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c(\\\"div\\\")}\\n}\",\"script\":\"\",\"style\":\"\"}",
"runtimeObject" : true
}, {
"name" : "bujian",
"pluginCode" : "bujian",
"name" : "运行时部件(出来)",
"pluginCode" : "runtime_widget_out",
"pluginType" : "CUSTOM",
"refMode" : "CONTROL",
"refTag" : "FORM",
"templCode" : "<template>\n <div class='messagecolor'>{{message}}</div>\n</template>\n<script>\nexport default {\n data() {\n return {\n message:'示例-出来'\n }\n },\n}\n</script>\n<style>\n.messagecolor{\n color:red;\n}\n</style>",
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c('div',{staticClass:\\\"messagecolor\\\"},[_v(_s(message))])}\\n}\",\"script\":\"\\nexport default {\\n data() {\\n return {\\n message:'示例-chulai'\\n }\\n },\\n}\\n\",\"style\":\"\\n.messagecolor{\\n color:red;\\n}\\n\"}",
"runtimeObject" : true
}, {
"name" : "运行时部件(未出来)",
"pluginCode" : "runtime_widget_not_out",
"pluginType" : "CUSTOM",
"refMode" : "CONTROL",
"refTag" : "FORM",
"templCode" : "<template>\r\n <button class='xx' @click='add'>xxx</button>\r\n </template>\r\n <script>\r\n export default {\r\n methods:{\r\n add(){\r\n alert('add')\r\n }\r\n }\r\n }\r\n </script>\r\n <style>\r\n .xx{\r\n color:red;\r\n }\r\n </style>\r\n",
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c(\\\"div\\\")}\\n}\",\"script\":\"\",\"style\":\"\"}",
"runtimeObject" : true
}, {
"name" : "门户部件插件测试",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册