From ec0cf27bc618b3068882988a6c9bff26eb7b6717 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Fri, 12 Apr 2024 17:26:32 +0800
Subject: [PATCH] doctor
---
 src/components/doctorCheck/ButtonList.vue          | 11 +++++------
 src/components/doctorCheck/CheckItemList.vue       |  5 ++---
 src/components/doctorCheck/PatientRegisterList.vue |  6 +++---
 3 files changed, 10 insertions(+), 12 deletions(-)
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">