Kaynağa Gözat

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

28169 2 hafta önce
ebeveyn
işleme
916d2162e2

+ 1 - 1
src/pages/main/newActionBar/assessmentAfter.vue Dosyayı Görüntüle

@@ -751,7 +751,7 @@ export default {
751 751
       }
752 752
 
753 753
       //干体重默认透前评估里面的干体重
754
-      if(this.$store.getters.user.template_info.org_id==10138 || this.$store.getters.user.template_info.org_id==10278 ||  this.$store.getters.user.template_info.org_id==0 || this.$store.getters.user.template_info.org_id==3877 || this.$store.getters.user.template_info.org_id==10551 || this.$store.getters.user.template_info.org_id==10558 || this.$store.getters.user.template_info.org_id==10515 || this.$store.getters.user.template_info.org_id==10597 || this.$store.getters.user.template_info.org_id==10599 || this.$store.getters.user.template_info.org_id==10598  || this.$store.getters.user.template_info.org_id==10510 || this.$store.getters.user.template_info.org_id==10629 || this.$store.getters.user.template_info.org_id==10702 ){
754
+      if(this.$store.getters.user.template_info.org_id==10138 || this.$store.getters.user.template_info.org_id==10278 ||  this.$store.getters.user.template_info.org_id==0 || this.$store.getters.user.template_info.org_id==3877 || this.$store.getters.user.template_info.org_id==10551 || this.$store.getters.user.template_info.org_id==10558 || this.$store.getters.user.template_info.org_id==10515 || this.$store.getters.user.template_info.org_id==10597 || this.$store.getters.user.template_info.org_id==10599 || this.$store.getters.user.template_info.org_id==10598  || this.$store.getters.user.template_info.org_id==10510 || this.$store.getters.user.template_info.org_id==10629 || this.$store.getters.user.template_info.org_id==10702 || this.$store.getters.user.template_info.org_id==10721 ){
755 755
           this.formValue.additional_weight = this.predialysis.additional_weight
756 756
           this.formValue.patient_gose = "1"
757 757
       }

+ 20 - 0
src/pages/main/newActionBar/computer.vue Dosyayı Görüntüle

@@ -576,6 +576,9 @@ export default {
576 576
     last_order: {
577 577
       type: Object,
578 578
     },
579
+    predialysis: {
580
+      type: Object
581
+    },
579 582
   },
580 583
   data() {
581 584
     return {
@@ -692,6 +695,8 @@ export default {
692 695
     };
693 696
   },
694 697
   created() {
698
+    console.log("透前=======================",this.predialysis)
699
+  
695 700
     setRem();
696 701
     this.getToken();
697 702
     this.getPatientSign();
@@ -830,6 +835,17 @@ export default {
830 835
       this.nuclein_date_str = this.getTimeOne(this.record.nuclein_date);
831 836
     }
832 837
 
838
+    if(this.predialysis!=null){
839
+      if(this.predialysis.internal_fistula!=''){
840
+          this.change_nurse = 0
841
+          this.puncture_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.puncture_nurse;
842
+      }
843
+      if(this.predialysis.catheter!=""){
844
+         this.puncture_nurse = 0
845
+         this.change_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.change_nurse;
846
+      }
847
+    }
848
+
833 849
     for (let index = 0; index < this.temp_device_numbers.length; index++) {
834 850
       const device_number = this.temp_device_numbers[index];
835 851
       this.temp_device_numbers[index]["zoneNumber"] =
@@ -2078,6 +2094,7 @@ export default {
2078 2094
    }
2079 2095
   },
2080 2096
   watch: {
2097
+
2081 2098
     "record.id": function (val) {
2082 2099
       if (val > 0) {
2083 2100
         if (this.record.creator == 0) {
@@ -2085,7 +2102,10 @@ export default {
2085 2102
         } else {
2086 2103
           this.creator = this.record.creator;
2087 2104
         }
2105
+
2106
+
2088 2107
       }
2108
+    
2089 2109
     },
2090 2110
     schedual_type: {
2091 2111
       handler(newVal, oldVal) {

+ 1 - 0
src/pages/main/today/TodayTab.vue Dosyayı Görüntüle

@@ -155,6 +155,7 @@
155 155
                   :last_order="lastOrder"
156 156
                   :stockType="stockType"
157 157
                   @did_start="closeDialysisComputer"
158
+                   :predialysis="predialysis_evaluation"
158 159
                   @did_add_monitor="didAddMonitor"
159 160
 
160 161
                   ></computer>