From 56f8373650b3c76756b96a514ceca533ed0356a5 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Wed, 25 Oct 2023 14:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/addInquiryConfigModal.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/addInquiryConfigModal.vue b/src/components/addInquiryConfigModal.vue index 1d6809b..536a04a 100644 --- a/src/components/addInquiryConfigModal.vue +++ b/src/components/addInquiryConfigModal.vue @@ -42,8 +42,8 @@ - + {{item.user_name+'('+formatDoctorTitle(item.doctor_title)+'—'+item.hospital_name+'—'+item.department_custom_name+')'}} @@ -429,6 +429,7 @@ const changeType=(value)=>{ toggleType.value=false }; doctorData.value=[]; + modalForm.doctor_id=''; modalForm.doctor_inquiry_time=[]; modalForm.inquiry_price=null; slect_all_date.value=[]; @@ -473,6 +474,11 @@ const handleClose = () => { emits('familyVisibleChange', false); +}; +const isHasType=()=>{ + if(!modalForm.inquiry_type){ + proxy.$message.error('请先选择问诊类型'); + } }; const handleSubmit=()=>{ proxy.$refs.modalFormRefConfig.validate(async (valid) => {