提交 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,9 +237,6 @@ ...@@ -235,9 +237,6 @@
}, },
"viewFieldName" : "UPDATEMAN" "viewFieldName" : "UPDATEMAN"
} ] } ]
} ],
"predefinedType" : "CONTAINER_GROUP",
"showCaption" : true
}, { }, {
"caption" : "多项数据容器", "caption" : "多项数据容器",
"dataRegionType" : "MULTIDATA", "dataRegionType" : "MULTIDATA",
...@@ -318,9 +317,58 @@ ...@@ -318,9 +317,58 @@
}, },
"viewFieldName" : "UPDATEMAN", "viewFieldName" : "UPDATEMAN",
"width" : 50.0 "width" : 50.0
}, {
"caption" : "时间选择",
"contentWidth" : 50.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_datepicker",
"getPSControlAttributes" : [ {
"attrName" : "format",
"attrValue" : "'YYYY-MM'",
"name" : "logic_format_date"
}, {
"attrName" : "type",
"attrValue" : "'month'",
"name" : "logic_type_sale_date"
}, {
"attrName" : "valueFormat",
"attrValue" : "'YYYY-MM'",
"name" : "logic_valueformat_valueformat"
} ],
"getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : {
"TIMEFMT" : "YYYY-MM-DD HH:mm:ss"
},
"editorType" : "DATEPICKER",
"editorWidth" : 50.0,
"name" : "field_datepicker",
"predefinedType" : "FIELD_DATEPICKER"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 50,
"widthMode" : "PERCENTAGE"
},
"valueFormat" : "YYYY-MM",
"width" : 50.0
} ], } ],
"predefinedType" : "CONTAINER_MULTIDATA" "predefinedType" : "CONTAINER_MULTIDATA"
}, { }, {
"caption" : "部件",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_group2",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "数据视图", "caption" : "数据视图",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS", "itemType" : "CTRLPOS",
...@@ -330,6 +378,10 @@ ...@@ -330,6 +378,10 @@
"layout" : "FLEX" "layout" : "FLEX"
}, },
"showCaption" : true "showCaption" : true
} ],
"predefinedType" : "CONTAINER_GROUP",
"titleBarCloseMode" : 2,
"showCaption" : true
}, { }, {
"caption" : "分割线", "caption" : "分割线",
"contentType" : "DIVIDER", "contentType" : "DIVIDER",
...@@ -550,6 +602,9 @@ ...@@ -550,6 +602,9 @@
} ], } ],
"predefinedType" : "CONTAINER_GRID" "predefinedType" : "CONTAINER_GRID"
} ], } ],
"predefinedType" : "CONTAINER_GROUP",
"showCaption" : true
} ],
"layoutBodyOnly" : false, "layoutBodyOnly" : false,
"layoutPanel" : true, "layoutPanel" : true,
"useDefaultLayout" : false, "useDefaultLayout" : false,
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册