From e236dfd2aeeaa2aed0f396094b6fe49f6cd49b15 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 21 Jul 2023 11:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=A1=8C=E5=8D=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/doctor/doctor-examine/index.vue | 24 + src/views/doctor/doctor-list/index.vue | 472 +++++++++++-------- src/views/doctor/doctor-multipoint/index.vue | 24 + 3 files changed, 325 insertions(+), 195 deletions(-) diff --git a/src/views/doctor/doctor-examine/index.vue b/src/views/doctor/doctor-examine/index.vue index 3a9e0a0..4c51116 100644 --- a/src/views/doctor/doctor-examine/index.vue +++ b/src/views/doctor/doctor-examine/index.vue @@ -587,6 +587,30 @@ if (code == 200) { Object.assign(modalForm, data); + if (!data.user_doctor_info) { + data.user_doctor_info = {}; + modalForm.user_doctor_info = {}; + } + if (!data.hospital) { + modalForm.hospital = {}; + } + if (!data.doctor_bank_card) { + modalForm.doctor_bank_card = { + province_id: '', + city_id: '', + county_id: '', + bank_id: '' + } + }; + if(data.doctor_title==0){ + modalForm.doctor_title=''; + } + if(data.hospital_id==0){ + modalForm.hospital_id=''; + } + if(data.department_custom_id==0){ + modalForm.department_custom_id='' + } if (data.doctor_expertise && data.doctor_expertise.length > 0) { let arr = []; data.doctor_expertise.forEach((item) => { diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index 181f165..20123ca 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -57,12 +57,11 @@ - + row-key="doctor_id" @selection-change="(selection) => {deleteData = selection;console.log(selection)}" + @page-change="handlePageChange" @page-size-change="handlepage_sizeChange"> @@ -89,12 +88,12 @@ 认证失败 + + 未认证 + 认证通过 + 审核中 + 认证失败 + @@ -1350,9 +1429,11 @@ .action { margin-bottom: 12px; } - .okmodal div{ + + .okmodal div { text-align: center; } + .hospital_name { width: 140px; white-space: nowrap; @@ -1363,8 +1444,8 @@ .headImg { margin-right: 20px; border-radius: 50%; - width:80px; - height:80px; + width: 80px; + height: 80px; } .arco-form-item-layout-horizontal:first-child, @@ -1398,7 +1479,8 @@ color: red; margin-top: 5px; } - .cardNum{ + + .cardNum { width: 148px; } \ No newline at end of file diff --git a/src/views/doctor/doctor-multipoint/index.vue b/src/views/doctor/doctor-multipoint/index.vue index 723758e..d45116e 100644 --- a/src/views/doctor/doctor-multipoint/index.vue +++ b/src/views/doctor/doctor-multipoint/index.vue @@ -381,6 +381,30 @@ if (code == 200) { Object.assign(modalForm, data); + if(data.doctor_title==0){ + modalForm.doctor_title=''; + } + if(data.hospital_id==0){ + modalForm.hospital_id=''; + } + if(data.department_custom_id==0){ + modalForm.department_custom_id='' + } + if (!data.user_doctor_info) { + data.user_doctor_info = {}; + modalForm.user_doctor_info = {}; + } + if (!data.hospital) { + modalForm.hospital = {}; + } + if (!data.doctor_bank_card) { + modalForm.doctor_bank_card = { + province_id: '', + city_id: '', + county_id: '', + bank_id: '' + } + }; if (data.doctor_expertise && data.doctor_expertise.length > 0) { let arr = []; data.doctor_expertise.forEach((item) => {