From b96c4f55b76b1bb6b3225714633e90c9704633de Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Mon, 17 Jul 2023 16:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8C=BB=E9=99=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/doctor/doctor-list/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index bd1bc65..cbf14d6 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -189,9 +189,9 @@ - - + + @@ -1052,6 +1052,9 @@ } }; const hospitalData = ref([]); + const changeHospital=(value)=>{ + modalForm.hospital_id=value; + } //获取医院列表 const handleHospitalList = (value) => { loading.value = true; @@ -1060,11 +1063,8 @@ }).then((res) => { const { data, code, message } = res; if (code == 200) { - let name =data.map((item)=>{ - return item.hospital_name - }) - console.log(name) - hospitalData.value =reactive(name); + + hospitalData.value =data; loading.value = false; } else { proxy.$notification.error(message);