|
@ -478,8 +478,13 @@ export const MoldInspectionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
filterable: true, |
|
|
filterable: true, |
|
|
}, |
|
|
}, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue) => { |
|
|
const cellValueList = cellValue ? cellValue.split(',') : []; |
|
|
let cellValueList = [] |
|
|
|
|
|
if (cellValue.includes(',')) { |
|
|
|
|
|
cellValueList = cellValue?.split(','); |
|
|
|
|
|
} else { |
|
|
|
|
|
cellValueList = [cellValue] |
|
|
|
|
|
} |
|
|
return userListAll |
|
|
return userListAll |
|
|
.filter(item => cellValueList.includes(item.id.toString())) |
|
|
.filter(item => cellValueList.includes(item.id.toString())) |
|
|
.map(item => item.nickname) |
|
|
.map(item => item.nickname) |
|
|