|
|
@@ -55,9 +55,19 @@ export function useColumns(refetch: () => void) {
|
|
|
width: TABLE_CELL_WIDTH.small,
|
|
|
key: 'orderBy',
|
|
|
},
|
|
|
+ {
|
|
|
+ title: t('common.tableHeader.lastModifyUser'),
|
|
|
+ width: TABLE_CELL_WIDTH.normal,
|
|
|
+ key: 'modifyUser',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('common.tableHeader.lastModifyDate'),
|
|
|
+ width: TABLE_CELL_WIDTH.date,
|
|
|
+ key: 'modifyTime',
|
|
|
+ },
|
|
|
{
|
|
|
title: t('common.tableHeader.operation'),
|
|
|
- width: TABLE_CELL_WIDTH.large,
|
|
|
+ width: TABLE_CELL_WIDTH.doubleBtn,
|
|
|
key: 'id',
|
|
|
fixed: 'right',
|
|
|
render({id}) {
|
|
|
@@ -71,7 +81,7 @@ export function useColumns(refetch: () => void) {
|
|
|
h(LDTableButton),
|
|
|
{
|
|
|
isDelete: false,
|
|
|
- loading: isDeleteing,
|
|
|
+ disabled: isDeleteing,
|
|
|
onClick: onEdit(id),
|
|
|
text: t('common.tableTool.buttonGroup.edit'),
|
|
|
},
|
|
|
@@ -81,6 +91,7 @@ export function useColumns(refetch: () => void) {
|
|
|
{
|
|
|
isDelete: true,
|
|
|
loading: isDeleteing,
|
|
|
+ disabled: isDeleteing,
|
|
|
onClick: onDelete(id),
|
|
|
text: t('common.tableTool.buttonGroup.delete'),
|
|
|
},
|