perf: 日期区间查询 增加起始和结束默认时间
parent
f789fa4df1
commit
bea5189943
|
@ -1,5 +1,6 @@
|
|||
import { h } from 'vue'
|
||||
import { Switch } from 'ant-design-vue'
|
||||
import dayjs from 'dayjs'
|
||||
import { useMessage } from '@/hooks/web/useMessage'
|
||||
import { listSimpleDept } from '@/api/system/dept'
|
||||
import { listSimplePosts } from '@/api/system/post'
|
||||
|
@ -110,7 +111,9 @@ export const searchFormSchema: FormSchema[] = [
|
|||
field: 'createTime',
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
format: 'YYYY-MM-DD HH:mm:ss',
|
||||
showTime: {
|
||||
defaultValue: [dayjs('00:00:00', 'HH:mm:ss'), dayjs('23:59:59', 'HH:mm:ss')],
|
||||
},
|
||||
},
|
||||
colProps: { span: 8 },
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue