|
@ -34,7 +34,7 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'HH:mm:ss' |
|
|
dateFormat: 'HH:mm:ss' |
|
|
}, |
|
|
}, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 180, |
|
|
width: 180, |
|
|
}, |
|
|
}, |
|
@ -47,9 +47,9 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
show: true, |
|
|
show: false, |
|
|
component: 'TimePicker', |
|
|
component: 'TimePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
valueFormat: 'HH:mm:ss', |
|
|
valueFormat: 'HH:mm:ss', |
|
@ -78,9 +78,9 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
show: true, |
|
|
show: false, |
|
|
component: 'TimePicker', |
|
|
component: 'TimePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
valueFormat: 'HH:mm:ss', |
|
|
valueFormat: 'HH:mm:ss', |
|
@ -249,4 +249,4 @@ export const ShiftRules = reactive({ |
|
|
available: [ |
|
|
available: [ |
|
|
{ required: true, message: '请选择是否可用', trigger: 'change' } |
|
|
{ required: true, message: '请选择是否可用', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|