|
|
@ -338,6 +338,8 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'declarer', |
|
|
|
sort: 'custom', |
|
|
|
isDetail: false, |
|
|
|
isForm: false, |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: '150', |
|
|
|
}, |
|
|
@ -345,20 +347,6 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
return userListAll.find((account) => account.id == cellValue)?.nickname |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Select', |
|
|
|
api: () => userListAll, |
|
|
|
componentProps: { |
|
|
|
disabled: true, |
|
|
|
optionsAlias: { |
|
|
|
labelField: 'nickname', |
|
|
|
valueField: 'id' |
|
|
|
}, |
|
|
|
filterable: true, |
|
|
|
placeholder: "请先选择设备" |
|
|
|
}, |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
search: { |
|
|
|
component: 'Select', |
|
|
|
api: () => userListAll, |
|
|
@ -390,6 +378,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
label: '报修人意见', |
|
|
|
field: 'applyContent', |
|
|
|
sort: 'custom', |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
} |
|
|
@ -399,6 +388,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'verifyer', |
|
|
|
sort: 'custom', |
|
|
|
isDetail: false, |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: '150', |
|
|
|
}, |
|
|
@ -406,19 +396,6 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
return userListAll.find((account) => account.id == cellValue)?.nickname |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Select', |
|
|
|
api: () => userListAll, |
|
|
|
componentProps: { |
|
|
|
disabled: true, |
|
|
|
optionsAlias: { |
|
|
|
labelField: 'nickname', |
|
|
|
valueField: 'id' |
|
|
|
}, |
|
|
|
filterable: true, |
|
|
|
placeholder: "请先选择设备" |
|
|
|
}, |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
search: { |
|
|
|
component: 'Select', |
|
|
@ -451,6 +428,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
label: '验证人意见', |
|
|
|
field: 'verifyContent', |
|
|
|
sort: 'custom', |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
} |
|
|
|