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) => {