Commit a79ecc2668853b3a20a554b1df22a2d5b3e89b42

Authored by fengwotao
1 parent 7fb79221

pref:优化设备列表 事件管理时间筛选

  1 +import moment from 'moment';
1 import { findDictItemByCode } from '/@/api/system/dict'; 2 import { findDictItemByCode } from '/@/api/system/dict';
2 import { BasicColumn, FormSchema } from '/@/components/Table'; 3 import { BasicColumn, FormSchema } from '/@/components/Table';
3 4
@@ -55,7 +56,9 @@ export const formSchemas: FormSchema[] = [ @@ -55,7 +56,9 @@ export const formSchemas: FormSchema[] = [
55 component: 'RangePicker', 56 component: 'RangePicker',
56 colProps: { span: 10 }, 57 colProps: { span: 10 },
57 componentProps: { 58 componentProps: {
58 - showTime: true, 59 + showTime: {
  60 + defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')],
  61 + },
59 }, 62 },
60 }, 63 },
61 ]; 64 ];