Explorar el Código

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

csx hace 4 años
padre
commit
b6e8800288

+ 1 - 1
src/xt_pages/dialysis/details/NavIgation.vue Ver fichero

572
       this.$refs.monitor_dialog.show();
572
       this.$refs.monitor_dialog.show();
573
     },
573
     },
574
     showAssessmentAfterDialog: function() {
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
     showDoctorAdviceDialog: function() {
577
     showDoctorAdviceDialog: function() {
578
       this.$refs.doctor_advice.show();
578
       this.$refs.doctor_advice.show();

+ 21 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver fichero

1013
     },
1013
     },
1014
 
1014
 
1015
     // 数据开始
1015
     // 数据开始
1016
-    show(predialysis) {
1016
+    show(predialysis,last_after) {
1017
       this.isVisibility = true
1017
       this.isVisibility = true
1018
       this.predialysis = predialysis
1018
       this.predialysis = predialysis
1019
       this.form.observation_content = predialysis.observation_content
1019
       this.form.observation_content = predialysis.observation_content
1022
         predialysis.observation_content_other
1022
         predialysis.observation_content_other
1023
       // console.log("透后", predialysis);
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
       this.getPermission()
1043
       this.getPermission()
1044
+
1045
+
1026
     },
1046
     },
1027
 
1047
 
1028
     hide() {
1048
     hide() {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver fichero

685
 
685
 
686
           if (this.lastPredialysisEvaluation != null) {
686
           if (this.lastPredialysisEvaluation != null) {
687
             for (var key in this.lastPredialysisEvaluation){
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
                 this.$set(
689
                 this.$set(
690
                   this.assessmentBeforeDislysis,
690
                   this.assessmentBeforeDislysis,
691
                   key,
691
                   key,

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver fichero

893
         this.form.temperature = '' // this.last_monitor_record.pulse_frequency;
893
         this.form.temperature = '' // this.last_monitor_record.pulse_frequency;
894
 
894
 
895
         this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
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
         this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
897
         this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
898
         this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
898
         this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
899
         this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
899
         this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
907
         this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
907
         this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
908
         this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
908
         this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
909
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
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
         this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
911
         this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
912
         this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : ''
912
         this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : ''
913
         this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : ''
913
         this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : ''