From 3bdc9f80ac5b9355c560b71ae9fc14ab0acf43b6 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 22 Apr 2024 17:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=96=B0=E5=A2=9E=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E3=80=81=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/recompose/index.vue | 252 +++++++++++------- src/views/system/user/components/UserInfo.vue | 43 ++- 2 files changed, 200 insertions(+), 95 deletions(-) diff --git a/src/views/recompose/index.vue b/src/views/recompose/index.vue index 794f12f..c4d1bcc 100644 --- a/src/views/recompose/index.vue +++ b/src/views/recompose/index.vue @@ -1,163 +1,237 @@ diff --git a/src/views/system/user/components/UserInfo.vue b/src/views/system/user/components/UserInfo.vue index 691a162..49a14a7 100644 --- a/src/views/system/user/components/UserInfo.vue +++ b/src/views/system/user/components/UserInfo.vue @@ -115,6 +115,7 @@ {{ $t("system:userlist:title:Internal") @@ -124,11 +125,11 @@ }} - - + + item.Id === id); + return obj.UserTypeShortName; + }, // 获取医院信息 async getInfo() { try { let res = await getHospital(); if (res.IsSuccess) { this.IsCanConnectInternet = res.Result.IsCanConnectInternet; + this.hospitalName = res.Result.HospitalName; } } catch (err) { console.log(err); @@ -352,7 +379,11 @@ export default { }); }, OrgnizationTypeChanged(val) { - this.user.OrganizationName = ""; + if (val) { + this.user.OrganizationName = this.hospitalName; + } else { + this.user.OrganizationName = ""; + } }, }, };