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

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

上级 568e79a3
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
"attrValue" : "'YYYY-MM'", "attrValue" : "'YYYY-MM'",
"name" : "logic_valueformat_valueformat" "name" : "logic_valueformat_valueformat"
} ], } ],
"valueFormat" : "YYYY-MM-DD", "valueFormat" : "YYYY-MM",
"width" : 150, "width" : 150,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true, "enableRowEdit" : true,
...@@ -696,7 +696,7 @@ ...@@ -696,7 +696,7 @@
"codeName" : "Field4" "codeName" : "Field4"
} }
}, { }, {
"format" : "YYYY-MM-DD", "format" : "YYYY-MM",
"dataType" : 5, "dataType" : 5,
"name" : "date", "name" : "date",
"getPSAppDEField" : { "getPSAppDEField" : {
...@@ -1094,11 +1094,11 @@ ...@@ -1094,11 +1094,11 @@
"codeName" : "Date" "codeName" : "Date"
}, },
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : { "editorParams" : {
"TIMEFMT" : "YYYY-MM-DD" "TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
}, },
"editorType" : "DATEPICKEREX_NOTIME", "editorType" : "DATEPICKER",
"name" : "date" "name" : "date"
}, },
"allowEmpty" : true "allowEmpty" : true
......
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
}, { }, {
"id" : "field_picker", "id" : "field_picker",
"viewFieldName" : "UPDATEMAN" "viewFieldName" : "UPDATEMAN"
}, {
"id" : "field_datepicker"
}, { }, {
"id" : "field_picker1" "id" : "field_picker1"
}, { }, {
...@@ -235,320 +237,373 @@ ...@@ -235,320 +237,373 @@
}, },
"viewFieldName" : "UPDATEMAN" "viewFieldName" : "UPDATEMAN"
} ] } ]
} ], }, {
"predefinedType" : "CONTAINER_GROUP", "caption" : "多项数据容器",
"showCaption" : true "dataRegionType" : "MULTIDATA",
}, { "dataSourceType" : "DEDATASET",
"caption" : "多项数据容器",
"dataRegionType" : "MULTIDATA",
"dataSourceType" : "DEDATASET",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_multidata",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TESTGRID.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"contentWidth" : 50.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "field_text_dynamic", "name" : "container_multidata",
"getPSEditor" : { "getPSAppDEMethod" : {
"editorStyle" : "CUSTOMEDIT", "modelref" : true,
"editorType" : "TEXTBOX", "id" : "FetchDefault"
"editorWidth" : 50.0,
"name" : "field_text_dynamic",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "CUSTOMEDIT",
"runtimeObject" : true
},
"predefinedType" : "FIELD_TEXT_DYNAMIC"
}, },
"getPSLayoutPos" : { "getPSAppDataEntity" : {
"grow" : -1, "modelref" : true,
"layout" : "FLEX", "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TESTGRID.json"
"width" : 50,
"widthMode" : "PERCENTAGE"
}, },
"viewFieldName" : "UPDATEMAN", "getPSLayout" : {
"width" : 50.0, "layout" : "FLEX"
"convertToCodeItemText" : true
}, {
"caption" : "数据选择",
"contentWidth" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_picker",
"getPSEditor" : {
"editorParams" : {
"readonly" : "true",
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"editorWidth" : 50.0,
"name" : "field_picker",
"predefinedType" : "FIELD_PICKER",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"readOnly" : true,
"showTrigger" : true,
"singleSelect" : true
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"layout" : "FLEX", "layout" : "FLEX"
"width" : 50,
"widthMode" : "PERCENTAGE"
}, },
"viewFieldName" : "UPDATEMAN", "getPSPanelItems" : [ {
"width" : 50.0 "caption" : "文本(动态)",
} ], "contentWidth" : 50.0,
"predefinedType" : "CONTAINER_MULTIDATA" "itemStyle" : "DEFAULT",
}, { "itemType" : "FIELD",
"caption" : "数据视图", "name" : "field_text_dynamic",
"itemStyle" : "DEFAULT", "getPSEditor" : {
"itemType" : "CTRLPOS", "editorStyle" : "CUSTOMEDIT",
"name" : "dataview", "editorType" : "TEXTBOX",
"getPSLayoutPos" : { "editorWidth" : 50.0,
"grow" : -1, "name" : "field_text_dynamic",
"layout" : "FLEX" "getPSSysPFPlugin" : {
}, "pluginType" : "EDITOR_CUSTOMSTYLE",
"showCaption" : true "pluginCode" : "CUSTOMEDIT",
}, { "runtimeObject" : true
"caption" : "分割线", },
"contentType" : "DIVIDER", "predefinedType" : "FIELD_TEXT_DYNAMIC"
"itemStyle" : "DEFAULT", },
"itemType" : "RAWITEM", "getPSLayoutPos" : {
"name" : "divider1", "grow" : -1,
"getPSLayoutPos" : { "layout" : "FLEX",
"grow" : -1, "width" : 50,
"layout" : "FLEX" "widthMode" : "PERCENTAGE"
}, },
"getPSRawItem" : { "viewFieldName" : "UPDATEMAN",
"contentType" : "DIVIDER", "width" : 50.0,
"name" : "divider1", "convertToCodeItemText" : true
"predefinedType" : "DIVIDER" }, {
}, "caption" : "数据选择",
"showCaption" : true "contentWidth" : 50.0,
}, { "itemStyle" : "DEFAULT",
"caption" : "列表", "itemType" : "FIELD",
"itemStyle" : "DEFAULT", "name" : "field_picker",
"itemType" : "CTRLPOS", "getPSEditor" : {
"name" : "list", "editorParams" : {
"getPSControlRenders" : [ { "readonly" : "true",
"layoutPanelModel" : "`<span>部件测试绘制器通过面板项绘制器绘制</span>`", "AC" : "TRUE",
"name" : "logic", "PICKUPVIEW" : "TRUE"
"renderType" : "LAYOUTPANEL_MODEL" },
} ], "editorType" : "PICKER",
"getPSLayoutPos" : { "editorWidth" : 50.0,
"grow" : -1, "name" : "field_picker",
"layout" : "FLEX" "predefinedType" : "FIELD_PICKER",
}, "enableAC" : true,
"showCaption" : true "enablePickupView" : true,
}, { "forceSelection" : true,
"caption" : "分割线", "readOnly" : true,
"contentType" : "DIVIDER", "showTrigger" : true,
"itemStyle" : "DEFAULT", "singleSelect" : true
"itemType" : "RAWITEM", },
"name" : "divider", "getPSLayoutPos" : {
"getPSLayoutPos" : { "grow" : -1,
"grow" : -1, "layout" : "FLEX",
"layout" : "FLEX" "width" : 50,
}, "widthMode" : "PERCENTAGE"
"getPSRawItem" : { },
"contentType" : "DIVIDER", "viewFieldName" : "UPDATEMAN",
"name" : "divider", "width" : 50.0
"predefinedType" : "DIVIDER" }, {
}, "caption" : "时间选择",
"showCaption" : true "contentWidth" : 50.0,
}, { "itemStyle" : "DEFAULT",
"caption" : "列表", "itemType" : "FIELD",
"itemStyle" : "DEFAULT", "name" : "field_datepicker",
"itemType" : "CTRLPOS", "getPSControlAttributes" : [ {
"name" : "list1", "attrName" : "format",
"getPSLayoutPos" : { "attrValue" : "'YYYY-MM'",
"grow" : -1, "name" : "logic_format_date"
"layout" : "FLEX" }, {
}, "attrName" : "type",
"showCaption" : true "attrValue" : "'month'",
}, { "name" : "logic_type_sale_date"
"caption" : "栅格容器", }, {
"itemStyle" : "DEFAULT", "attrName" : "valueFormat",
"itemType" : "CONTAINER", "attrValue" : "'YYYY-MM'",
"name" : "container_grid", "name" : "logic_valueformat_valueformat"
"getPSLayout" : { } ],
"layout" : "SIMPLEFLEX" "getPSEditor" : {
}, "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"getPSLayoutPos" : { "editorParams" : {
"grow" : -1, "TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
"layout" : "FLEX" },
}, "editorType" : "DATEPICKER",
"getPSPanelItems" : [ { "editorWidth" : 50.0,
"caption" : "面板容器", "name" : "field_datepicker",
"predefinedType" : "FIELD_DATEPICKER"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 50,
"widthMode" : "PERCENTAGE"
},
"valueFormat" : "YYYY-MM",
"width" : 50.0
} ],
"predefinedType" : "CONTAINER_MULTIDATA"
}, {
"caption" : "部件",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container", "name" : "container_group2",
"getPSLayout" : { "getPSLayout" : {
"childColMD" : 24, "layout" : "FLEX"
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 8, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "FLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "文本", "caption" : "数据视图",
"contentType" : "RAW",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "RAWITEM", "itemType" : "CTRLPOS",
"name" : "static_text", "name" : "dataview",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "grow" : -1,
"layout" : "TABLE_24COL" "layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "文本内容",
"contentType" : "RAW",
"name" : "static_text",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
}, },
"rawContent" : "文本内容",
"showCaption" : true "showCaption" : true
} ] } ],
"predefinedType" : "CONTAINER_GROUP",
"titleBarCloseMode" : 2,
"showCaption" : true
}, {
"caption" : "分割线",
"contentType" : "DIVIDER",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "divider1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"contentType" : "DIVIDER",
"name" : "divider1",
"predefinedType" : "DIVIDER"
},
"showCaption" : true
}, {
"caption" : "列表",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "list",
"getPSControlRenders" : [ {
"layoutPanelModel" : "`<span>部件测试绘制器通过面板项绘制器绘制</span>`",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
}, {
"caption" : "分割线",
"contentType" : "DIVIDER",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "divider",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"contentType" : "DIVIDER",
"name" : "divider",
"predefinedType" : "DIVIDER"
},
"showCaption" : true
}, { }, {
"caption" : "面板容器", "caption" : "列表",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "list1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"showCaption" : true
}, {
"caption" : "栅格容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container1", "name" : "container_grid",
"getPSLayout" : { "getPSLayout" : {
"childColMD" : 24, "layout" : "SIMPLEFLEX"
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 4, "grow" : -1,
"layout" : "SIMPLEFLEX" "layout" : "FLEX"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "容器", "caption" : "面板容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container3", "name" : "container",
"getPSLayout" : { "getPSLayout" : {
"dir" : "row", "childColMD" : 24,
"layout" : "FLEX" "columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "grow" : 8,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "文本内容",
"contentType" : "RAW",
"name" : "static_text",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "文本内容",
"showCaption" : true
} ]
}, {
"caption" : "面板容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"childColMD" : 24,
"columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSLayoutPos" : {
"grow" : 4,
"layout" : "SIMPLEFLEX"
},
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "容器", "caption" : "容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container4", "name" : "container3",
"getPSLayout" : { "getPSLayout" : {
"dir" : "row",
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 2, "colMD" : 24,
"layout" : "FLEX" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "数据选择", "caption" : "容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "FIELD", "itemType" : "CONTAINER",
"name" : "field_picker1", "name" : "container4",
"getPSEditor" : { "getPSLayout" : {
"editorParams" : { "layout" : "FLEX"
"AC" : "TRUE", },
"TRIGGER" : "TRUE", "getPSLayoutPos" : {
"PICKUPVIEW" : "FALSE" "grow" : 2,
}, "layout" : "FLEX"
"editorStyle" : "PERSONEL_SELECT_PROJECT", },
"editorType" : "PICKEREX_TRIGGER", "getPSPanelItems" : [ {
"caption" : "数据选择",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_picker1", "name" : "field_picker1",
"getPSSysPFPlugin" : { "getPSEditor" : {
"pluginType" : "EDITOR_CUSTOMSTYLE", "editorParams" : {
"pluginCode" : "PERSON_SELECT", "AC" : "TRUE",
"runtimeObject" : true "TRIGGER" : "TRUE",
"PICKUPVIEW" : "FALSE"
},
"editorStyle" : "PERSONEL_SELECT_PROJECT",
"editorType" : "PICKEREX_TRIGGER",
"name" : "field_picker1",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "PERSON_SELECT",
"runtimeObject" : true
},
"predefinedType" : "FIELD_PICKER",
"enableAC" : true,
"enablePickupView" : false,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
}, },
"predefinedType" : "FIELD_PICKER", "getPSLayoutPos" : {
"enableAC" : true, "grow" : -1,
"enablePickupView" : false, "hAlignSelf" : "LEFT",
"forceSelection" : true, "layout" : "FLEX",
"showTrigger" : true, "spacingLeft" : "OUTERSMALL",
"singleSelect" : true "vAlignSelf" : "TOP"
}
} ]
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container5",
"getPSLayout" : {
"layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : 2,
"hAlignSelf" : "LEFT", "layout" : "FLEX"
"layout" : "FLEX", },
"spacingLeft" : "OUTERSMALL", "getPSPanelItems" : [ {
"vAlignSelf" : "TOP" "caption" : "下拉列表框",
} "itemStyle" : "DEFAULT",
} ] "itemType" : "FIELD",
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container5",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : 2,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "下拉列表框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_dropdownlist",
"getPSEditor" : {
"editorParams" : {
"codeListMap" : "{\"followed\":[20],\"notFollowing\":[10]}",
"defaultSelected" : "10"
},
"editorType" : "DROPDOWNLIST",
"name" : "field_dropdownlist", "name" : "field_dropdownlist",
"getPSAppCodeList" : { "getPSEditor" : {
"modelref" : true, "editorParams" : {
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Follow_state.json" "codeListMap" : "{\"followed\":[20],\"notFollowing\":[10]}",
"defaultSelected" : "10"
},
"editorType" : "DROPDOWNLIST",
"name" : "field_dropdownlist",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Follow_state.json"
},
"predefinedType" : "FIELD_DROPDOWNLIST",
"singleSelect" : true
}, },
"predefinedType" : "FIELD_DROPDOWNLIST", "getPSLayoutPos" : {
"singleSelect" : true "grow" : -1,
}, "hAlignSelf" : "RIGHT",
"getPSLayoutPos" : { "layout" : "FLEX",
"grow" : -1, "spacingRight" : "OUTERSMALL",
"hAlignSelf" : "RIGHT", "vAlignSelf" : "TOP"
"layout" : "FLEX", }
"spacingRight" : "OUTERSMALL", } ]
"vAlignSelf" : "TOP"
}
} ] } ]
} ] } ]
} ] } ],
"predefinedType" : "CONTAINER_GRID"
} ], } ],
"predefinedType" : "CONTAINER_GRID" "predefinedType" : "CONTAINER_GROUP",
"showCaption" : true
} ], } ],
"layoutBodyOnly" : false, "layoutBodyOnly" : false,
"layoutPanel" : true, "layoutPanel" : true,
......
...@@ -1368,7 +1368,7 @@ ...@@ -1368,7 +1368,7 @@
"attrValue" : "'YYYY-MM'", "attrValue" : "'YYYY-MM'",
"name" : "logic_valueformat_valueformat" "name" : "logic_valueformat_valueformat"
} ], } ],
"valueFormat" : "YYYY-MM-DD", "valueFormat" : "YYYY-MM",
"width" : 150, "width" : 150,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableRowEdit" : true, "enableRowEdit" : true,
...@@ -1747,7 +1747,7 @@ ...@@ -1747,7 +1747,7 @@
"codeName" : "Field4" "codeName" : "Field4"
} }
}, { }, {
"format" : "YYYY-MM-DD", "format" : "YYYY-MM",
"dataType" : 5, "dataType" : 5,
"name" : "date", "name" : "date",
"getPSAppDEField" : { "getPSAppDEField" : {
...@@ -2145,11 +2145,11 @@ ...@@ -2145,11 +2145,11 @@
"codeName" : "Date" "codeName" : "Date"
}, },
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : { "editorParams" : {
"TIMEFMT" : "YYYY-MM-DD" "TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
}, },
"editorType" : "DATEPICKEREX_NOTIME", "editorType" : "DATEPICKER",
"name" : "date" "name" : "date"
}, },
"allowEmpty" : true "allowEmpty" : true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册