Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

csx 4 years ago
parent
commit
b6e8800288

+ 1 - 1
src/xt_pages/dialysis/details/NavIgation.vue View File

@@ -572,7 +572,7 @@ export default {
572 572
       this.$refs.monitor_dialog.show();
573 573
     },
574 574
     showAssessmentAfterDialog: function() {
575
-      this.$refs.assessment_after_dislysis.show(this.assessment_after_dislysis);
575
+      this.$refs.assessment_after_dislysis.show(this.assessment_after_dislysis,this.last_assessment_after_dislysis);
576 576
     },
577 577
     showDoctorAdviceDialog: function() {
578 578
       this.$refs.doctor_advice.show();

+ 21 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -1013,7 +1013,7 @@ export default {
1013 1013
     },
1014 1014
 
1015 1015
     // 数据开始
1016
-    show(predialysis) {
1016
+    show(predialysis,last_after) {
1017 1017
       this.isVisibility = true
1018 1018
       this.predialysis = predialysis
1019 1019
       this.form.observation_content = predialysis.observation_content
@@ -1022,7 +1022,27 @@ export default {
1022 1022
         predialysis.observation_content_other
1023 1023
       // console.log("透后", predialysis);
1024 1024
 
1025
+      if(predialysis != null && predialysis.id == 0){
1026
+        if (last_after != null) {
1027
+          for (var key in last_after){
1028
+            if (key != 'actual_treatment_hour' && key != 'actual_treatment_minute' && key != 'weight_loss' && key != 'weight_after'  && key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency' ){
1029
+              this.$set(
1030
+                this.form,
1031
+                key,
1032
+                last_after[key]
1033
+              )
1034
+
1035
+            }
1036
+          }
1037
+        }
1038
+      }
1039
+
1040
+
1041
+
1042
+
1025 1043
       this.getPermission()
1044
+
1045
+
1026 1046
     },
1027 1047
 
1028 1048
     hide() {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -685,7 +685,7 @@
685 685
 
686 686
           if (this.lastPredialysisEvaluation != null) {
687 687
             for (var key in this.lastPredialysisEvaluation){
688
-              if (key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency' && key != 'temperature' && key != 'breathing_rate' && key != 'dry_weight' && key != 'weight_before'){
688
+              if (key != 'systolic_blood_pressure' && key != 'diastolic_blood_pressure' && key != 'pulse_frequency' && key != 'dry_weight' && key != 'weight_before'){
689 689
                 this.$set(
690 690
                   this.assessmentBeforeDislysis,
691 691
                   key,

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -893,7 +893,7 @@ export default {
893 893
         this.form.temperature = '' // this.last_monitor_record.pulse_frequency;
894 894
 
895 895
         this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
896
-        this.form.breathing_rated =  ''
896
+        this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : ''
897 897
         this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
898 898
         this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
899 899
         this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
@@ -907,7 +907,7 @@ export default {
907 907
         this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
908 908
         this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
909 909
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
910
-        this.form.temperature = ''
910
+        this.form.temperature =  resp.monitor.temperature ? resp.monitor.temperature : ''
911 911
         this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
912 912
         this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : ''
913 913
         this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : ''