Commit d88d23904d66ca1066fc5f7cdce26ca0e3dc0f73
Merge branch 'perf/rule-script' into 'main_dev'
perf: 优化脚本管理查询表单样式 See merge request yunteng/thingskit-front!1315
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -102,7 +102,7 @@ export const searchFormSchema = (syncValue: Fn): FormSchema[] => { | @@ -102,7 +102,7 @@ export const searchFormSchema = (syncValue: Fn): FormSchema[] => { | ||
102 | field: 'createTime', | 102 | field: 'createTime', |
103 | label: '创建时间', | 103 | label: '创建时间', |
104 | component: 'RangePicker', | 104 | component: 'RangePicker', |
105 | - colProps: { span: 10 }, | 105 | + colProps: { span: 8 }, |
106 | componentProps: { | 106 | componentProps: { |
107 | showTime: { | 107 | showTime: { |
108 | defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')], | 108 | defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')], |
@@ -27,6 +27,7 @@ | @@ -27,6 +27,7 @@ | ||
27 | labelWidth: 120, | 27 | labelWidth: 120, |
28 | showAdvancedButton: true, | 28 | showAdvancedButton: true, |
29 | compact: true, | 29 | compact: true, |
30 | + actionColOptions: { span: 4 }, | ||
30 | fieldMapToTime: [['createTime', ['startTime', 'endTime'], 'x']], | 31 | fieldMapToTime: [['createTime', ['startTime', 'endTime'], 'x']], |
31 | submitFunc: async () => { | 32 | submitFunc: async () => { |
32 | const value = getFieldsValue(); | 33 | const value = getFieldsValue(); |