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

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

上级 36e2a286
...@@ -1255,6 +1255,22 @@ ...@@ -1255,6 +1255,22 @@
"uIActionTag" : "panel_Default_button_openview1_click", "uIActionTag" : "panel_Default_button_openview1_click",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"id" : "panel_Default_button_openview1_click@TEST" "id" : "panel_Default_button_openview1_click@TEST"
}, {
"actionTarget" : "NONE",
"caption" : "按钮1",
"codeName" : "panel_TestControlList_button1_click",
"fullCodeName" : "TEST_panel_TestControlList_button1_click",
"name" : "按钮1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuiactions/panel_TestControlList_button1_click",
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestControlList_button1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestControlList_button1_click@TEST"
} ], } ],
"getAllPSAppViews" : [ { "getAllPSAppViews" : [ {
"modelref" : true, "modelref" : true,
......
...@@ -19,6 +19,14 @@ ...@@ -19,6 +19,14 @@
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field1" "id" : "field1"
}, {
"id" : "field2"
}, {
"id" : "field3"
}, {
"id" : "field4"
}, {
"id" : "field5"
} ], } ],
"codeName" : "TestControlList", "codeName" : "TestControlList",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -30,6 +38,28 @@ ...@@ -30,6 +38,28 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"modelref" : true,
"id" : "panel_TestControlList_button1_click@TEST"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
...@@ -143,6 +173,259 @@ ...@@ -143,6 +173,259 @@
"rawContent" : "rawitem1" "rawContent" : "rawitem1"
} ], } ],
"showCaption" : true "showCaption" : true
}, {
"caption" : "测试面板分页动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem3",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field2>20时tabpage2出现",
"contentType" : "RAW",
"name" : "rawitem3"
},
"rawContent" : "field2>20时tabpage2出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field2",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
}, {
"caption" : "测试按钮动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field3不为空时按钮1出现",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rawContent" : "field3不为空时按钮1出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field3",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field3",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮1",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[button1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "ISNOTNULL",
"dstModelField" : "field3",
"logicType" : "SINGLE",
"name" : "field3 值不为空(NotNil)"
} ],
"relatedItemNames" : [ "field3" ],
"notMode" : false
} ],
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮1",
"codeName" : "panel_TestControlList_button1_click",
"fullCodeName" : "TEST_panel_TestControlList_button1_click",
"name" : "按钮1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuiactions/panel_TestControlList_button1_click",
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestControlList_button1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestControlList_button1_click@TEST"
},
"tooltip" : "按钮1",
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "测试面板属性动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem6",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现",
"contentType" : "RAW",
"name" : "rawitem6"
},
"rawContent" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field4",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field4",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field5",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field5",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "LIKE",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 文本包含(%) (show)",
"value" : "show"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "NOTIN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值不在范围中(NotIn) (4,5,6)",
"value" : "4,5,6"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "IN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值在范围中(In) (1,2,3)",
"value" : "1,2,3"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
} ], } ],
"showCaption" : true "showCaption" : true
}, { }, {
...@@ -162,6 +445,37 @@ ...@@ -162,6 +445,37 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[tabpage2][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "GT",
"dstModelField" : "field2",
"logicType" : "SINGLE",
"name" : "field2 大于(>) (20)",
"value" : "20"
} ],
"relatedItemNames" : [ "field2" ],
"notMode" : false
} ],
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem4",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "tabpage2xxxxxxxxxx",
"contentType" : "RAW",
"name" : "rawitem4"
},
"rawContent" : "tabpage2xxxxxxxxxx"
} ],
"showCaption" : true "showCaption" : true
} ] } ]
} ], } ],
......
{ {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field1" "id" : "field1"
}, {
"id" : "field2"
}, {
"id" : "field3"
}, {
"id" : "field4"
}, {
"id" : "field5"
} ], } ],
"codeName" : "TestControlList", "codeName" : "TestControlList",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -12,6 +20,28 @@ ...@@ -12,6 +20,28 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"modelref" : true,
"id" : "panel_TestControlList_button1_click@TEST"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
"childColMD" : 24, "childColMD" : 24,
...@@ -124,6 +154,259 @@ ...@@ -124,6 +154,259 @@
"rawContent" : "rawitem1" "rawContent" : "rawitem1"
} ], } ],
"showCaption" : true "showCaption" : true
}, {
"caption" : "测试面板分页动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem3",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field2>20时tabpage2出现",
"contentType" : "RAW",
"name" : "rawitem3"
},
"rawContent" : "field2>20时tabpage2出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field2",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
}, {
"caption" : "测试按钮动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field3不为空时按钮1出现",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rawContent" : "field3不为空时按钮1出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field3",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field3",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮1",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[button1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "ISNOTNULL",
"dstModelField" : "field3",
"logicType" : "SINGLE",
"name" : "field3 值不为空(NotNil)"
} ],
"relatedItemNames" : [ "field3" ],
"notMode" : false
} ],
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮1",
"codeName" : "panel_TestControlList_button1_click",
"fullCodeName" : "TEST_panel_TestControlList_button1_click",
"name" : "按钮1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuiactions/panel_TestControlList_button1_click",
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestControlList_button1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestControlList_button1_click@TEST"
},
"tooltip" : "按钮1",
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "测试面板属性动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem6",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现",
"contentType" : "RAW",
"name" : "rawitem6"
},
"rawContent" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field4",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field4",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field5",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field5",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "LIKE",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 文本包含(%) (show)",
"value" : "show"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "NOTIN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值不在范围中(NotIn) (4,5,6)",
"value" : "4,5,6"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "IN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值在范围中(In) (1,2,3)",
"value" : "1,2,3"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
} ], } ],
"showCaption" : true "showCaption" : true
}, { }, {
...@@ -143,6 +426,37 @@ ...@@ -143,6 +426,37 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[tabpage2][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "GT",
"dstModelField" : "field2",
"logicType" : "SINGLE",
"name" : "field2 大于(>) (20)",
"value" : "20"
} ],
"relatedItemNames" : [ "field2" ],
"notMode" : false
} ],
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem4",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "tabpage2xxxxxxxxxx",
"contentType" : "RAW",
"name" : "rawitem4"
},
"rawContent" : "tabpage2xxxxxxxxxx"
} ],
"showCaption" : true "showCaption" : true
} ] } ]
} ], } ],
......
...@@ -373,6 +373,14 @@ ...@@ -373,6 +373,14 @@
"getItemPSLayoutPanel" : { "getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field1" "id" : "field1"
}, {
"id" : "field2"
}, {
"id" : "field3"
}, {
"id" : "field4"
}, {
"id" : "field5"
} ], } ],
"codeName" : "TestControlList", "codeName" : "TestControlList",
"controlType" : "PANEL", "controlType" : "PANEL",
...@@ -384,6 +392,28 @@ ...@@ -384,6 +392,28 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}, },
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"modelref" : true,
"id" : "panel_TestControlList_button1_click@TEST"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { }, "getPSControlParam" : { },
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
...@@ -497,6 +527,259 @@ ...@@ -497,6 +527,259 @@
"rawContent" : "rawitem1" "rawContent" : "rawitem1"
} ], } ],
"showCaption" : true "showCaption" : true
}, {
"caption" : "测试面板分页动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem3",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field2>20时tabpage2出现",
"contentType" : "RAW",
"name" : "rawitem3"
},
"rawContent" : "field2>20时tabpage2出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field2",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
}, {
"caption" : "测试按钮动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field3不为空时按钮1出现",
"contentType" : "RAW",
"name" : "rawitem5"
},
"rawContent" : "field3不为空时按钮1出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field3",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field3",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"caption" : "按钮1",
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button1"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[button1][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "ISNOTNULL",
"dstModelField" : "field3",
"logicType" : "SINGLE",
"name" : "field3 值不为空(NotNil)"
} ],
"relatedItemNames" : [ "field3" ],
"notMode" : false
} ],
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮1",
"codeName" : "panel_TestControlList_button1_click",
"fullCodeName" : "TEST_panel_TestControlList_button1_click",
"name" : "按钮1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuiactions/panel_TestControlList_button1_click",
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_TestControlList_button1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_TestControlList_button1_click@TEST"
},
"tooltip" : "按钮1",
"showCaption" : true
} ],
"showCaption" : true
}, {
"caption" : "测试面板属性动态控制",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem6",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现",
"contentType" : "RAW",
"name" : "rawitem6"
},
"rawContent" : "field4包含show时field5出现\nfield4在1,2,3范围中时field5启用\nfield4不在4,5,6范围中时field5出现"
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field4",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field4",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"hidden" : false,
"showCaption" : false
}, {
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field5",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field5",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "LIKE",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 文本包含(%) (show)",
"value" : "show"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "NOTIN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值不在范围中(NotIn) (4,5,6)",
"value" : "4,5,6"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field5][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "IN",
"dstModelField" : "field4",
"logicType" : "SINGLE",
"name" : "field4 值在范围中(In) (1,2,3)",
"value" : "1,2,3"
} ],
"relatedItemNames" : [ "field4" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
} ],
"showCaption" : true
} ], } ],
"showCaption" : true "showCaption" : true
}, { }, {
...@@ -516,6 +799,37 @@ ...@@ -516,6 +799,37 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[tabpage2][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "GT",
"dstModelField" : "field2",
"logicType" : "SINGLE",
"name" : "field2 大于(>) (20)",
"value" : "20"
} ],
"relatedItemNames" : [ "field2" ],
"notMode" : false
} ],
"getPSPanelItems" : [ {
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "rawitem4",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "tabpage2xxxxxxxxxx",
"contentType" : "RAW",
"name" : "rawitem4"
},
"rawContent" : "tabpage2xxxxxxxxxx"
} ],
"showCaption" : true "showCaption" : true
} ] } ]
} ], } ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册