diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue index 877744d..86fb645 100644 --- a/src/components/doctorCheck/ButtonList.vue +++ b/src/components/doctorCheck/ButtonList.vue @@ -386,17 +386,15 @@ export default { return } lfind = Number(lfind) + Number(lstep) - this.dataTransOpts.tableS.patient_register.id = this.medicalStartDateDatas[lfind].id + this.dataTransOpts.tableS.patient_register = deepCopy(this.medicalStartDateDatas[lfind]) } }else{ if(this.medicalStartDateDatas && this.medicalStartDateDatas.length > 0){ - this.dataTransOpts.tableS.patient_register.id = this.medicalStartDateDatas[0].id + this.dataTransOpts.tableS.patient_register = deepCopy(this.medicalStartDateDatas[0]) } } - - setTimeout(() => { - this.dataTransOpts.refresh.patient_register.S++ - }, 20); + + this.dataTransOpts.refresh.patient_register.S++ }, //查询找到相关信息处理 @@ -590,6 +588,7 @@ export default { // immediate:true, handler(newVal,oldVal){ if(newVal != oldVal){ + if(!this.medicalStartDate) return let body = { customerOrgs: [ { diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue index 8e0b9f1..8a3d0bb 100644 --- a/src/components/doctorCheck/CheckItemList.vue +++ b/src/components/doctorCheck/CheckItemList.vue @@ -12,7 +12,7 @@ @input="madeTooltips(scope.$index); computeFun(scope.$index)" v-bind:class="scope.row.class"> @@ -31,8 +31,7 @@
- +
{ + this.dataTransOpts.tableS.patient_register = deepCopy(row) + // setTimeout(() => { this.dataTransOpts.refresh.patient_register.S++ //人员体检登记信息刷新 - }, 10); + // }, 10); this.doctorCheckPrBaseInit() this.doctorCheck.prBase.patientRegisterNo = row.patientRegisterNo