Xiao_123 hai 11 meses
pai
achega
80f6eb5b6f

+ 3 - 1
src/locales/en.js

@@ -169,7 +169,9 @@ export default {
       phone: 'Phone',
       lastLoginTime: 'Last Login Time',
       affiliatedEnterprise: 'Affiliated enterprise',
-      accountType: 'Account type'
+      accountType: 'Account type',
+      administrators: 'Administrators',
+      regularUser: 'Regular users'
     }
   },
   resume: {

+ 3 - 1
src/locales/zh-CN.js

@@ -169,7 +169,9 @@ export default {
       phone: '手机号',
       lastLoginTime: '最后登录时间',
       affiliatedEnterprise: '所属企业',
-      accountType: '账号类型'
+      accountType: '账号类型',
+      administrators: '管理员',
+      regularUser: '普通用户'
     }
   },
   resume: {

+ 1 - 1
src/views/enterprise/systemManagement/userManagement/index.vue

@@ -52,7 +52,7 @@ const headers = [
   { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseName' },
   { title: t('enterprise.userManagement.phone'), key: 'phone' },
   { title: t('enterprise.userManagement.email'), key: 'email' },
-  { title: t('enterprise.userManagement.accountType'), key: 'userType', value: item => item.userType === '1' ? '管理员' : '普通用户'},
+  { title: t('enterprise.userManagement.accountType'), key: 'userType', value: item => item.userType === '1' ? t('enterprise.userManagement.administrators') : t('enterprise.userManagement.regularUser')},
   { title: t('enterprise.userManagement.lastLoginTime'), key: 'loginDate', value: item => timesTampChange(item.loginDate) },
   { title: t('common.actions'), key: 'actions' }
 ]