From 8e6bf66c862d0df8613b1d59c2105cb03ba7b3e4 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Fri, 10 May 2024 02:49:31 +0800 Subject: [PATCH] dj seo --- src/components/patientRegister/PatientRegisterEdit.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 658d2b5..5a9aa74 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -1273,7 +1273,7 @@ export default { //根据姓名,身份证号 查询档案信息,用于判断人员多次体检 Query(param) { - this.patientChoosed = {} // 清空之前的选择 + this.patientChoosed = {id:''} // 清空之前的选择 //编辑的时候不查重 if (this.form.id || !param) return; @@ -1283,6 +1283,8 @@ export default { maxResultCount: 500 } + this.patientList = [] + postapi('/api/app/patient/getlistinfilter', body).then((res) => { if (res.code > -1) { // console.log("查重 ", res); //有数据才显示 @@ -1307,7 +1309,8 @@ export default { //确定选择人员 choosePatient() { - if (!this.patientChoosed) { + if (!this.patientChoosed.id) { + this.$message.warning({showClose:true,message:'请选择人员档案信息'}) return; }