Commit b5b793cdc5d6e67a56875dc028f773b2ef46b7bc

Authored by ww
1 parent bd10a1a6

perf: 优化脚本管理查询表单样式

@@ -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();