diff --git a/frontend/src/views/system/locale/en-US.ts b/frontend/src/views/system/locale/en-US.ts index e5b04f2eab..1f8b4196a3 100644 --- a/frontend/src/views/system/locale/en-US.ts +++ b/frontend/src/views/system/locale/en-US.ts @@ -135,4 +135,11 @@ export default { 'system.user.batchAddOrgnization': 'Batch add to organization', 'system.user.batchOptional': 'Optional', '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', }; diff --git a/frontend/src/views/system/locale/zh-CN.ts b/frontend/src/views/system/locale/zh-CN.ts index adc96af16b..51b126e1fe 100644 --- a/frontend/src/views/system/locale/zh-CN.ts +++ b/frontend/src/views/system/locale/zh-CN.ts @@ -133,4 +133,11 @@ export default { 'system.user.batchAddOrgnization': '批量添加至组织', 'system.user.batchOptional': '可选', 'system.user.batchChosen': '已选', + 'system.user.tableColunmEmail': '邮箱', + 'system.user.tableColunmName': '姓名', + 'system.user.tableColunmPhone': '手机', + 'system.user.tableColunmOrg': '组织', + 'system.user.tableColunmUsergroup': '用户组', + 'system.user.tableColunmStatus': '状态', + 'system.user.tableColunmActions': '操作', }; diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index 5e6b54187d..e08df59b46 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -320,35 +320,35 @@ const columns: MsTableColumn = [ { - title: '邮箱', + title: 'system.user.tableColunmEmail', dataIndex: 'email', width: 200, }, { - title: '姓名', + title: 'system.user.tableColunmName', dataIndex: 'name', }, { - title: '手机', + title: 'system.user.tableColunmPhone', dataIndex: 'phone', }, { - title: '组织', + title: 'system.user.tableColunmOrg', slotName: 'organization', dataIndex: 'organizationList', }, { - title: '用户组', + title: 'system.user.tableColunmUsergroup', slotName: 'userRole', dataIndex: 'userRoleList', }, { - title: '状态', + title: 'system.user.tableColunmStatus', slotName: 'enable', dataIndex: 'enable', }, { - title: '操作', + title: 'system.user.tableColunmActions', slotName: 'action', fixed: 'right', width: 90,