feat(sj_1.1.0-beta1): 用户列表添加[序号]、[创建时间]字段

This commit is contained in:
dhb52 2024-06-16 23:43:41 +08:00
parent 6ed5136d18
commit 964316b1f9

View File

@ -57,6 +57,12 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
); );
} }
}, },
{
key: 'id',
title: $t('common.index'),
align: 'left',
minWidth: 50
},
{ {
key: 'username', key: 'username',
title: $t('page.userManager.username'), title: $t('page.userManager.username'),
@ -93,6 +99,12 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
return <NTag type={tagMap[row.role!]}>{label}</NTag>; return <NTag type={tagMap[row.role!]}>{label}</NTag>;
} }
}, },
{
key: 'createDt',
title: $t('common.createDt'),
align: 'left',
minWidth: 50
},
{ {
key: 'updateDt', key: 'updateDt',
title: $t('common.updateDt'), title: $t('common.updateDt'),