|
|
@ -32,28 +32,28 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isTable: true, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
width: 180, |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
component: 'TimePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'time', |
|
|
|
dateFormat: 'HH:mm:ss', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
search: { |
|
|
|
show: true, |
|
|
|
component: 'DatePicker', |
|
|
|
component: 'TimePicker', |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'daterange', |
|
|
|
valueFormat: 'HH:mm:ss', |
|
|
|
type: 'timeSelect', |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -63,28 +63,28 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isTable: true, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'HH:mm:ss', |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
component: 'TimePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'time', |
|
|
|
dateFormat: 'HH:mm:ss', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
search: { |
|
|
|
show: true, |
|
|
|
component: 'DatePicker', |
|
|
|
component: 'TimePicker', |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'daterange', |
|
|
|
valueFormat: 'HH:mm:ss', |
|
|
|
type: 'timeSelect', |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|