From f2bbe4841ae1865c969fca87f0cc110797280da8 Mon Sep 17 00:00:00 2001 From: xinwen Date: Wed, 15 Sep 2021 18:22:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=A8=E6=88=B7=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=20=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=EF=BC=8C=E9=92=89=E9=92=89=EF=BC=8C=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=EF=BC=8C=E9=A3=9E=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/cn.json | 4 ++++ src/i18n/langs/en.json | 4 ++++ src/views/users/User/UserDetail/UserInfo.vue | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index 864bb63ee..6ac21f005 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -1039,6 +1039,10 @@ "DatePasswordUpdated": "密码更新日期", "DescribeOfGuide": "欢迎使用JumpServer堡垒机系统,获取更多信息请点击", "Email": "邮件", + "Phone": "手机号", + "WeCom": "企业微信", + "DingTalk": "钉钉", + "FeiShu": "飞书", "FingerPrint": "指纹", "FirstLogin": "首次登录", "OrgUser": "组织用户", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 76f0c622d..9b025f3b2 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -1008,6 +1008,10 @@ "DatePasswordUpdated": "Date password updated", "DescribeOfGuide": "Welcome to JumpServer. Click here for more information", "Email": "Email", + "Phone": "Phone", + "WeCom": "WeCom", + "DingTalk": "DingTalk", + "FeiShu": "FeiShu", "FingerPrint": "Fingerprint", "FirstLogin": "First login", "InviteUser": "Invite user", diff --git a/src/views/users/User/UserDetail/UserInfo.vue b/src/views/users/User/UserDetail/UserInfo.vue index fd3157866..cd699cbf7 100644 --- a/src/views/users/User/UserDetail/UserInfo.vue +++ b/src/views/users/User/UserDetail/UserInfo.vue @@ -239,6 +239,22 @@ export default { key: this.$t('users.Email'), value: this.object.email }, + { + key: this.$t('users.Phone'), + value: this.object.phone + }, + { + key: this.$t('users.WeCom'), + value: this.object.wecom_id + }, + { + key: this.$t('users.DingTalk'), + value: this.object.dingtalk_id + }, + { + key: this.$t('users.FeiShu'), + value: this.object.feishu_id + }, { key: this.$t('users.Role'), value: this.object.total_role_display