feat: 用户表格头部-国际化配置

This commit is contained in:
baiqi 2023-06-20 10:20:45 +08:00 committed by rubylliu
parent 00fd45bc93
commit d0c99d2d2f
3 changed files with 21 additions and 7 deletions

View File

@ -135,4 +135,11 @@ export default {
'system.user.batchAddOrgnization': 'Batch add to organization', 'system.user.batchAddOrgnization': 'Batch add to organization',
'system.user.batchOptional': 'Optional', 'system.user.batchOptional': 'Optional',
'system.user.batchChosen': 'Chosen', 'system.user.batchChosen': 'Chosen',
'system.user.tableColunmEmail': 'Email',
'system.user.tableColunmName': 'Name',
'system.user.tableColunmPhone': 'Phone',
'system.user.tableColunmOrg': 'Orgnization',
'system.user.tableColunmUsergroup': 'UserGroup',
'system.user.tableColunmStatus': 'Status',
'system.user.tableColunmActions': 'Actions',
}; };

View File

@ -133,4 +133,11 @@ export default {
'system.user.batchAddOrgnization': '批量添加至组织', 'system.user.batchAddOrgnization': '批量添加至组织',
'system.user.batchOptional': '可选', 'system.user.batchOptional': '可选',
'system.user.batchChosen': '已选', 'system.user.batchChosen': '已选',
'system.user.tableColunmEmail': '邮箱',
'system.user.tableColunmName': '姓名',
'system.user.tableColunmPhone': '手机',
'system.user.tableColunmOrg': '组织',
'system.user.tableColunmUsergroup': '用户组',
'system.user.tableColunmStatus': '状态',
'system.user.tableColunmActions': '操作',
}; };

View File

@ -320,35 +320,35 @@
const columns: MsTableColumn = [ const columns: MsTableColumn = [
{ {
title: '邮箱', title: 'system.user.tableColunmEmail',
dataIndex: 'email', dataIndex: 'email',
width: 200, width: 200,
}, },
{ {
title: '姓名', title: 'system.user.tableColunmName',
dataIndex: 'name', dataIndex: 'name',
}, },
{ {
title: '手机', title: 'system.user.tableColunmPhone',
dataIndex: 'phone', dataIndex: 'phone',
}, },
{ {
title: '组织', title: 'system.user.tableColunmOrg',
slotName: 'organization', slotName: 'organization',
dataIndex: 'organizationList', dataIndex: 'organizationList',
}, },
{ {
title: '用户组', title: 'system.user.tableColunmUsergroup',
slotName: 'userRole', slotName: 'userRole',
dataIndex: 'userRoleList', dataIndex: 'userRoleList',
}, },
{ {
title: '状态', title: 'system.user.tableColunmStatus',
slotName: 'enable', slotName: 'enable',
dataIndex: 'enable', dataIndex: 'enable',
}, },
{ {
title: '操作', title: 'system.user.tableColunmActions',
slotName: 'action', slotName: 'action',
fixed: 'right', fixed: 'right',
width: 90, width: 90,