src/views/ecg/appointment/AppointmentConfirm.vue
@@ -5,7 +5,7 @@ v-model="queryParams.patId" placeholder="请输入患者编号" clearable @input="searchBookInfo" @change="searchUser" /> </el-form-item> </div> @@ -149,7 +149,13 @@ }) const formRef = ref() // 表单 Ref const searchUser=()=>{ setTimeout(() => { searchBookInfo(); }, 500); } const searchBookInfo = async () => { resetForm() if (null === queryParams.patId || '' === queryParams.patId.trim()) return @@ -171,6 +177,7 @@ message: '请先预约', type: 'warning' }) } /** 重置表单 */