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

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

上级 93d45f39
{ {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "pfilename", "id" : "filename",
"viewFieldName" : "PFILENAME" "viewFieldName" : "FILENAME"
}, { }, {
"id" : "type", "id" : "type",
"viewFieldName" : "TYPE" "viewFieldName" : "TYPE"
...@@ -70,10 +70,10 @@ ...@@ -70,10 +70,10 @@
"caption" : "文本(动态)", "caption" : "文本(动态)",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "FIELD",
"name" : "pfilename", "name" : "filename",
"getPSEditor" : { "getPSEditor" : {
"editorType" : "SPAN", "editorType" : "SPAN",
"name" : "pfilename", "name" : "filename",
"predefinedType" : "FIELD_TEXT_DYNAMIC", "predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC", "renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false "enableLinkView" : false
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
"grow" : -1, "grow" : -1,
"layout" : "FLEX" "layout" : "FLEX"
}, },
"viewFieldName" : "PFILENAME", "viewFieldName" : "FILENAME",
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
}, { }, {
......
{
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
} ],
"codeName" : "Usr1208194853",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1208194853.json",
"layoutMode" : "Flex",
"logicName" : "文件测试节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"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
} ]
} ],
"layoutPanel" : true,
"modelid" : "3C67F043-5C87-47AB-BA2A-87120EB40AE0",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
...@@ -63,16 +63,16 @@ ...@@ -63,16 +63,16 @@
"name" : "treeexpbar_load" "name" : "treeexpbar_load"
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileExpViewtop_cm", "codeName" : "FileExpViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_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_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -203,16 +203,16 @@ ...@@ -203,16 +203,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewnode_cm", "codeName" : "FileExpViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_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" : "node_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -461,6 +461,66 @@ ...@@ -461,6 +461,66 @@
"name" : "默认根节点", "name" : "默认根节点",
"nodeType" : "ROOT", "nodeType" : "ROOT",
"nodeValue" : "root", "nodeValue" : "root",
"getPSControlRenders" : [ {
"name" : "top_render",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
} ],
"codeName" : "Usr1208194853",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1208194853.json",
"layoutMode" : "Flex",
"logicName" : "文件测试节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"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
} ]
} ],
"layoutPanel" : true,
"name" : "top_render",
"modelid" : "3C67F043-5C87-47AB-BA2A-87120EB40AE0",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"text" : "默认根节点", "text" : "默认根节点",
"treeNodeType" : "STATIC", "treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true, "hasPSDETreeNodeRSs" : true,
...@@ -501,6 +561,124 @@ ...@@ -501,6 +561,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "test_render",
"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" : "test_render",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileExpViewnode_cm", "codeName" : "FileExpViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
...@@ -217,16 +217,16 @@ ...@@ -217,16 +217,16 @@
"id" : "treeexpbar_tree" "id" : "treeexpbar_tree"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileExpViewtop_cm", "codeName" : "FileExpViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_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_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -357,16 +357,16 @@ ...@@ -357,16 +357,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileExpViewnode_cm", "codeName" : "FileExpViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_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" : "node_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -445,7 +445,7 @@ ...@@ -445,7 +445,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -615,6 +615,66 @@ ...@@ -615,6 +615,66 @@
"name" : "默认根节点", "name" : "默认根节点",
"nodeType" : "ROOT", "nodeType" : "ROOT",
"nodeValue" : "root", "nodeValue" : "root",
"getPSControlRenders" : [ {
"name" : "top_render",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
} ],
"codeName" : "Usr1208194853",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1208194853.json",
"layoutMode" : "Flex",
"logicName" : "文件测试节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"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
} ]
} ],
"layoutPanel" : true,
"name" : "top_render",
"modelid" : "3C67F043-5C87-47AB-BA2A-87120EB40AE0",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"text" : "默认根节点", "text" : "默认根节点",
"treeNodeType" : "STATIC", "treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true, "hasPSDETreeNodeRSs" : true,
...@@ -655,6 +715,124 @@ ...@@ -655,6 +715,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "test_render",
"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" : "test_render",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileExpViewnode_cm", "codeName" : "FileExpViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
...@@ -269,16 +269,16 @@ ...@@ -269,16 +269,16 @@
"id" : "TREE" "id" : "TREE"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "FileTreeViewtop_cm", "codeName" : "FileTreeViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "top_cm", "name" : "node_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_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction1" "id" : "node_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "top_cm_deuiaction2" "id" : "node_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -409,16 +409,16 @@ ...@@ -409,16 +409,16 @@
"modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8", "modelid" : "0E53AD66-35B9-471D-96A2-EF2333CF2DF8",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, { }, {
"codeName" : "FileTreeViewnode_cm", "codeName" : "FileTreeViewtop_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
"logicName" : "树节点上下文菜单测试", "logicName" : "树节点上下文菜单测试",
"name" : "node_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" : "node_cm" "id" : "top_cm"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -435,7 +435,7 @@ ...@@ -435,7 +435,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction1" "id" : "top_cm_deuiaction1"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0f6@FontAwesome",
...@@ -497,7 +497,7 @@ ...@@ -497,7 +497,7 @@
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "node_cm_deuiaction2" "id" : "top_cm_deuiaction2"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf00d@FontAwesome", "glyph" : "xf00d@FontAwesome",
...@@ -667,6 +667,66 @@ ...@@ -667,6 +667,66 @@
"name" : "默认根节点", "name" : "默认根节点",
"nodeType" : "ROOT", "nodeType" : "ROOT",
"nodeValue" : "root", "nodeValue" : "root",
"getPSControlRenders" : [ {
"name" : "top_render",
"getPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "filename",
"viewFieldName" : "FILENAME"
} ],
"codeName" : "Usr1208194853",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE/PSPANELS/Usr1208194853.json",
"layoutMode" : "Flex",
"logicName" : "文件测试节点",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"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
} ]
} ],
"layoutPanel" : true,
"name" : "top_render",
"modelid" : "3C67F043-5C87-47AB-BA2A-87120EB40AE0",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"text" : "默认根节点", "text" : "默认根节点",
"treeNodeType" : "STATIC", "treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true, "hasPSDETreeNodeRSs" : true,
...@@ -707,6 +767,124 @@ ...@@ -707,6 +767,124 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
}, },
"getPSControlRenders" : [ {
"name" : "test_render",
"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" : "test_render",
"modelid" : "DD79A689-6DAB-4B08-A523-E744EE4F5A84",
"modeltype" : "PSSYSVIEWPANEL"
},
"renderType" : "LAYOUTPANEL"
} ],
"getPSDEContextMenu" : { "getPSDEContextMenu" : {
"codeName" : "FileTreeViewnode_cm", "codeName" : "FileTreeViewnode_cm",
"controlType" : "CONTEXTMENU", "controlType" : "CONTEXTMENU",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册