From 68eb6569db28aa1cf9dff6158f9e9a87361a5b29 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Wed, 6 Dec 2023 15:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4ca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/doctor/doctor-list/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index ad7ab54..b58b3b8 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -1252,7 +1252,7 @@ const showCheckedAll=ref(true); // 异步关闭Modal需要调用 done() const saveBefore=()=>{ - if(oldTitle.value!=modalForm.doctor_title || isChange_license.value || isChange_qualification.value){ + if((oldTitle.value!=modalForm.doctor_title || isChange_license.value || isChange_qualification.value) && modalForm.doctor_id){ okStatus.value=7 }else{ okStatus.value=1 @@ -1261,7 +1261,7 @@ const showCheckedAll=ref(true); } const handleSubmit = (done) => { - if(okStatus.value==1 || okStatus==7){ + if(okStatus.value==1 || okStatus.value==7){ proxy.$refs.modalFormRef.validate(async (valid) => { if (!valid) { let res;