|
|
@ -186,6 +186,31 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema |
|
|
|
width: '300', |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '审批意见', |
|
|
|
field: 'approveOpinion', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: '300', |
|
|
|
}, |
|
|
|
},{ |
|
|
|
label: '点检时间', |
|
|
|
field: 'createTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
type: 'daterange', |
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
} |
|
|
|
},table: { |
|
|
|
width: '150', |
|
|
|
}, |
|
|
|
isForm:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
|