Commit 33eb4e26d3467aeddac6e205312bb28bc6783488

Authored by fengwotao
1 parent a6aaef3e

pref:优化设备列表 事件管理筛选查询换行

... ... @@ -68,6 +68,7 @@ export const formSchemas: FormSchema[] = [
68 68 componentProps: {
69 69 placeholder: '请输入标识符',
70 70 },
  71 + colProps: { span: 6 },
71 72 },
72 73 {
73 74 field: 'eventType',
... ... @@ -82,16 +83,17 @@ export const formSchemas: FormSchema[] = [
82 83 labelField: 'itemText',
83 84 valueField: 'itemValue',
84 85 },
  86 + colProps: { span: 6 },
85 87 },
86 88 {
87 89 field: 'dateRange',
88 90 label: '时间范围',
89 91 component: 'RangePicker',
90   - colProps: { span: 10 },
91 92 componentProps: {
92 93 showTime: {
93 94 defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')],
94 95 },
95 96 },
  97 + colProps: { span: 6 },
96 98 },
97 99 ];
... ...
... ... @@ -25,9 +25,7 @@
25 25 listField: 'data',
26 26 },
27 27 formConfig: {
28   - layout: 'inline',
29   - baseColProps: { span: 6 },
30   - labelWidth: 80,
  28 + labelWidth: 120,
31 29 schemas: formSchemas,
32 30 fieldMapToTime: [['dateRange', ['startTime', 'endTime'], 'YYYY-MM-DD HH:mm:ss']],
33 31 },
... ...