|
@ -94,24 +94,24 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '操作人', |
|
|
field: 'createTime', |
|
|
field: 'creator', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
|
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
|
|
return userListAll.find((account) => account.id == cellValue)?.nickname |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 170 |
|
|
width: 170 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '操作人', |
|
|
label: '操作时间', |
|
|
field: 'creator', |
|
|
field: 'createTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
|
|
return userListAll.find((account) => account.id == cellValue)?.nickname |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 170 |
|
|
width: 170 |
|
|
}, |
|
|
}, |
|
|