|
@ -157,23 +157,45 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
},{ |
|
|
}, |
|
|
|
|
|
{ |
|
|
label: '生效时间', |
|
|
label: '生效时间', |
|
|
field: 'effectiveDate', |
|
|
field: 'effectiveDate', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
table: { |
|
|
isForm: false, |
|
|
width: 180 |
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: { width: '100%' }, |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
},{ |
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
label: '失效时间', |
|
|
label: '失效时间', |
|
|
field: 'expirationDate', |
|
|
field: 'expirationDate', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
table: { |
|
|
isForm: false, |
|
|
width: 180 |
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: { width: '100%' }, |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
}, |
|
|
// {
|
|
|
// {
|
|
|
// label: '是否可用',
|
|
|
// label: '是否可用',
|
|
|
// field: 'available',
|
|
|
// field: 'available',
|
|
|