Browse Source

update: 增加最后修改人和最后修改事件

xyh 2 years ago
parent
commit
169c0ce5c7
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/pages/user/table/hooks.ts

+ 10 - 0
src/pages/user/table/hooks.ts

@@ -117,6 +117,16 @@ export function useColumns(refetch: () => void) {
         key: 'phone',
         width: TABLE_CELL_WIDTH.normal,
       },
+      {
+        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.huge,