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);