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

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

上级 02e0e878
...@@ -63,16 +63,16 @@ ...@@ -63,16 +63,16 @@
"name" : "treeexpbar_load" "name" : "treeexpbar_load"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileExpViewtop_cm", "codeName" : "FileExpViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_file_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "top_cm" "id" : "node_file_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_file_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_file_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -187,16 +187,16 @@ ...@@ -187,16 +187,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewnode_file_cm", "codeName" : "FileExpViewfolder_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_file_cm", "name" : "folder_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node_file_cm" "id" : "folder_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction1" "id" : "folder_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction2" "id" : "folder_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -311,16 +311,16 @@ ...@@ -311,16 +311,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewfolder_cm", "codeName" : "FileExpViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "folder_cm", "name" : "top_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "folder_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -395,7 +395,7 @@ ...@@ -395,7 +395,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -872,6 +872,124 @@ ...@@ -872,6 +872,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "file_node_panel",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
}, {
"id" : "type",
"viewFieldName" : "TYPE"
} ],
"codeName" : "Usr1207074317",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1207074317.json",
"layoutMode" : "Flex",
"logicName" : "文件树节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "图片",
"contentHeight" : 50.0,
"contentType" : "IMAGE",
"contentWidth" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_image",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 50,
"widthMode" : "PX"
},
"getPSRawItem" : {
"contentType" : "IMAGE",
"name" : "static_image",
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"predefinedType" : "STATIC_IMAGE",
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0
},
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0,
"width" : 50.0,
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "filename",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "filename",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "FILENAME",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "type",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "type",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "TYPE",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "file_node_panel",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileExpViewnode_file_cm", "codeName" : "FileExpViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
...@@ -225,16 +225,16 @@ ...@@ -225,16 +225,16 @@
"id" : "treeexpbar_tree" "id" : "treeexpbar_tree"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileExpViewtop_cm", "codeName" : "FileExpViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_file_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "top_cm" "id" : "node_file_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_file_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_file_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -349,16 +349,16 @@ ...@@ -349,16 +349,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewnode_file_cm", "codeName" : "FileExpViewfolder_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_file_cm", "name" : "folder_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node_file_cm" "id" : "folder_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction1" "id" : "folder_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction2" "id" : "folder_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -473,16 +473,16 @@ ...@@ -473,16 +473,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewfolder_cm", "codeName" : "FileExpViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "folder_cm", "name" : "top_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "folder_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -492,7 +492,7 @@ ...@@ -492,7 +492,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -557,7 +557,7 @@ ...@@ -557,7 +557,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1034,6 +1034,124 @@ ...@@ -1034,6 +1034,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "file_node_panel",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
}, {
"id" : "type",
"viewFieldName" : "TYPE"
} ],
"codeName" : "Usr1207074317",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1207074317.json",
"layoutMode" : "Flex",
"logicName" : "文件树节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "图片",
"contentHeight" : 50.0,
"contentType" : "IMAGE",
"contentWidth" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_image",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 50,
"widthMode" : "PX"
},
"getPSRawItem" : {
"contentType" : "IMAGE",
"name" : "static_image",
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"predefinedType" : "STATIC_IMAGE",
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0
},
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0,
"width" : 50.0,
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "filename",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "filename",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "FILENAME",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "type",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "type",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "TYPE",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "file_node_panel",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileExpViewnode_file_cm", "codeName" : "FileExpViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
...@@ -232,16 +232,16 @@ ...@@ -232,16 +232,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileTreeViewtop_cm", "codeName" : "FileTreeViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_file_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "top_cm" "id" : "node_file_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_file_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_file_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -356,16 +356,16 @@ ...@@ -356,16 +356,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileTreeViewnode_file_cm", "codeName" : "FileTreeViewfolder_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_file_cm", "name" : "folder_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "node_file_cm" "id" : "folder_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction1" "id" : "folder_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -440,7 +440,7 @@ ...@@ -440,7 +440,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_file_cm_deuiaction2" "id" : "folder_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -480,16 +480,16 @@ ...@@ -480,16 +480,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileTreeViewfolder_cm", "codeName" : "FileTreeViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "folder_cm", "name" : "top_cm",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlParam" : { "getPSControlParam" : {
"id" : "folder_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"caption" : "网盘上传", "caption" : "网盘上传",
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -564,7 +564,7 @@ ...@@ -564,7 +564,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "folder_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -1041,6 +1041,124 @@ ...@@ -1041,6 +1041,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "file_node_panel",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
}, {
"id" : "type",
"viewFieldName" : "TYPE"
} ],
"codeName" : "Usr1207074317",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1207074317.json",
"layoutMode" : "Flex",
"logicName" : "文件树节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "图片",
"contentHeight" : 50.0,
"contentType" : "IMAGE",
"contentWidth" : 50.0,
"height" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_image",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 50,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 50,
"widthMode" : "PX"
},
"getPSRawItem" : {
"contentType" : "IMAGE",
"name" : "static_image",
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"predefinedType" : "STATIC_IMAGE",
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0
},
"getPSSysImage" : {
"glyph" : "xf07b@FontAwesome",
"cssClass" : "fa fa-folder"
},
"rawItemHeight" : 50.0,
"rawItemWidth" : 50.0,
"width" : 50.0,
"showCaption" : true
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "filename",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "filename",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "FILENAME",
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "type",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "type",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "TYPE",
"hidden" : false,
"showCaption" : false
} ]
} ],
"layoutPanel" : true,
"name" : "file_node_panel",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileTreeViewnode_file_cm", "codeName" : "FileTreeViewnode_file_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册