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

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

上级 c584133f
......@@ -416,30 +416,6 @@
"rSMode" : 2
} ],
"getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部",
"codeName" : "AddAll",
"fullCodeName" : "AddAll",
......@@ -459,18 +435,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "AddSelection",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消",
"codeName" : "Cancel",
......@@ -491,6 +455,26 @@
"uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
......@@ -543,18 +527,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
......@@ -596,6 +568,26 @@
"uIActionMode" : "SYS",
"uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
......@@ -1164,18 +1156,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER"
......@@ -1824,564 +1804,6 @@
"refMode" : "DEMETHOD",
"refTag" : "FETCH"
} ],
"getAllPSAppViewMsgs" : [ {
"codeName" : "UsrViewMsg0428894909",
"enableMode" : "DELOGIC",
"message" : "视图消息测试111111",
"messageType" : "INFO",
"name" : "静态视图消息测试",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "bookname"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "title"
} ],
"codeName" : "Usr0426273938",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book/PSPANELS/Usr0426273938.json",
"layoutMode" : "Flex",
"logicName" : "视图消息布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "panel"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"align" : "flex-start",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "bookname"
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "视图消息test",
"contentType" : "RAW",
"name" : "static_label",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "视图消息test",
"showCaption" : true
}, {
"caption" : "单项数据容器",
"dataRegionType" : "SINGLEDATA",
"dataSourceType" : "DELOGIC",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_singledata",
"getPSAppDELogic" : {
"modelref" : true,
"id" : "getEnv"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "title"
} ],
"predefinedType" : "CONTAINER_SINGLEDATA"
} ]
} ]
} ],
"layoutPanel" : true,
"name" : "panel",
"modelid" : "CC977A64-273B-444D-82C7-CEF1E36AD636",
"modeltype" : "PSSYSVIEWPANEL"
},
"position" : "POPUP",
"removeMode" : 1,
"getTestPSAppDELogic" : {
"modelref" : true,
"id" : "view_msg_logic"
},
"title" : "视图消息测试1111",
"uniqueTag" : "UsrViewMsg0428894909",
"enableRemove" : true
}, {
"codeName" : "UsrViewMsg0429405499",
"messageType" : "INFO",
"name" : "视图消息111",
"position" : "TOP",
"removeMode" : 1,
"title" : "1111",
"uniqueTag" : "UsrViewMsg0429405499",
"enableRemove" : true
}, {
"cacheScope" : "GLOBAL",
"cacheTimeout" : -1,
"codeName" : "UsrViewMsg0429526234",
"getContentPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
},
"getContentPSLanguageRes" : {
"lanResTag" : "PAGE.TITLE.TESTGRID.EDITVIEW"
},
"dynamicMode" : 1,
"enableMode" : "DELOGIC",
"messageType" : "INFO",
"getMsgPosPSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
},
"getMsgTypePSAppDEField" : {
"name" : "FIELD2",
"codeName" : "Field2"
},
"name" : "动态视图消息测试",
"getOrderValuePSAppDEField" : {
"name" : "FIELD9",
"codeName" : "Field9"
},
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "bookname"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "title"
} ],
"codeName" : "Usr0426273938",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book/PSPANELS/Usr0426273938.json",
"layoutMode" : "Flex",
"logicName" : "视图消息布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "panel"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"align" : "flex-start",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "bookname"
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "视图消息test",
"contentType" : "RAW",
"name" : "static_label",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "视图消息test",
"showCaption" : true
}, {
"caption" : "单项数据容器",
"dataRegionType" : "SINGLEDATA",
"dataSourceType" : "DELOGIC",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_singledata",
"getPSAppDELogic" : {
"modelref" : true,
"id" : "getEnv"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "title"
} ],
"predefinedType" : "CONTAINER_SINGLEDATA"
} ]
} ]
} ],
"layoutPanel" : true,
"name" : "panel",
"modelid" : "CC977A64-273B-444D-82C7-CEF1E36AD636",
"modeltype" : "PSSYSVIEWPANEL"
},
"getPSSysCss" : {
"cssName" : "view-msg-test"
},
"position" : "BODY",
"getRemoveFlagPSAppDEField" : {
"name" : "FIELD",
"codeName" : "Field"
},
"removeMode" : 0,
"getTestPSAppDELogic" : {
"modelref" : true,
"id" : "deLogicReturnFalse"
},
"title" : "动态视图消息测试1",
"getTitleLanResTagPSAppDEField" : {
"name" : "BOOKCHILD1S",
"codeName" : "Bookchild1s"
},
"getTitlePSAppDEField" : {
"name" : "FIELD41",
"codeName" : "Field41"
},
"uniqueTag" : "UsrViewMsg0429526234",
"enableCache" : true,
"enableRemove" : false
}, {
"codeName" : "ViewMsg2",
"message" : "视图消息上方11",
"messageType" : "ERROR",
"name" : "视图消息",
"position" : "TOP",
"removeMode" : 0,
"title" : "视图消息上方",
"uniqueTag" : "ViewMsg2",
"enableRemove" : false
}, {
"cacheTimeout" : -1,
"codeName" : "ViewMsg3",
"dynamicMode" : 1,
"message" : "content",
"messageType" : "WARN",
"name" : "视图消息2",
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "bookname"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "title"
} ],
"codeName" : "Usr0426273938",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book/PSPANELS/Usr0426273938.json",
"layoutMode" : "Flex",
"logicName" : "视图消息布局面板",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/Book.json"
},
"getPSControlParam" : {
"id" : "panel"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"dir" : "column",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"align" : "flex-start",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "bookname"
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "视图消息test",
"contentType" : "RAW",
"name" : "static_label",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "视图消息test",
"showCaption" : true
}, {
"caption" : "单项数据容器",
"dataRegionType" : "SINGLEDATA",
"dataSourceType" : "DELOGIC",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_singledata",
"getPSAppDELogic" : {
"modelref" : true,
"id" : "getEnv"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/TEST.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "title"
} ],
"predefinedType" : "CONTAINER_SINGLEDATA"
} ]
} ]
} ],
"layoutPanel" : true,
"name" : "panel",
"modelid" : "CC977A64-273B-444D-82C7-CEF1E36AD636",
"modeltype" : "PSSYSVIEWPANEL"
},
"position" : "BOTTOM",
"removeMode" : 1,
"title" : "title11",
"getTitlePSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"uniqueTag" : "ViewMsg3",
"enableCache" : false,
"enableRemove" : true
}, {
"codeName" : "ViewMsg31",
"memo" : "备注消息位置-弹出",
"message" : "消息位置-弹出消息位置-弹出消息位置-弹出消息位置-弹出消息位置-弹出",
"messageType" : "INFO",
"name" : "消息位置-弹出",
"position" : "POPUP",
"removeMode" : 2,
"title" : "标题",
"uniqueTag" : "ViewMsg31",
"userTag" : "user1",
"userTag2" : "user2",
"enableRemove" : true
}, {
"codeName" : "ViewMsg8",
"message" : "消息位置-视图下方",
"messageType" : "WARN",
"name" : "消息位置-视图下方",
"position" : "BOTTOM",
"removeMode" : 1,
"title" : "消息位置-视图下方",
"uniqueTag" : "ViewMsg8",
"enableRemove" : true
}, {
"codeName" : "ViewMsg9",
"message" : "消息位置-视图内容区",
"name" : "消息位置-视图内容区",
"position" : "BODY",
"removeMode" : 1,
"title" : "消息位置-视图内容区",
"uniqueTag" : "ViewMsg9",
"enableRemove" : true
} ],
"getAllPSAppViews" : [ {
"modelref" : true,
"path" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/TESTUsr07063055MobListView.json",
......@@ -58,10 +58,6 @@
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realTitle" : "测试实体编辑视图",
......
......@@ -44,10 +44,6 @@
"editMode" : true
}
} ],
"getPSAppViewMsgGroup" : {
"modelref" : true,
"id" : "VMGroup2"
},
"getPSControls" : [ {
"codeName" : "ListExpViewlistexpbar",
"controlType" : "LISTEXPBAR",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册