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 = ""; + } }, }, };