Browse Source

no message

张保健 4 years ago
parent
commit
98deb66365
1 changed files with 8 additions and 24 deletions
  1. 8 24
      src/pages/main/dialog/MonitDialog.vue

+ 8 - 24
src/pages/main/dialog/MonitDialog.vue View File

@@ -553,37 +553,21 @@ export default {
553 553
         this.today_last_monitor_record = resp.monitor
554 554
 
555 555
         // this.form.operate_time = Date.parse(new Date())
556
-        this.form.operate_time = resp.monitor.operate_time
557
-          ? (resp.monitor.operate_time + 3600) * 1000
558
-          : Date.parse(new Date())
556
+        this.form.operate_time = resp.monitor.operate_time  ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
559 557
         this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
560
-        this.form.breathing_rated = resp.monitor.breathing_rate
561
-          ? resp.monitor.breathing_rate
562
-          : ''
558
+        this.form.breathing_rated = resp.monitor.breathing_rate ? resp.monitor.breathing_rate : ''
563 559
         this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
564 560
         this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
565
-        this.form.blood_flow_volume = resp.monitor.blood_flow_volume
566
-          ? resp.monitor.blood_flow_volume
567
-          : ''
561
+        this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
568 562
         this.form.venous_pressure = '' // this.last_monitor_record.venous_pressure;
569 563
         this.form.arterial_pressure = '' // this.last_monitor_record.arterial_pressure;
570 564
         this.form.transmembrane_pressure = '' // this.last_monitor_record.transmembrane_pressure;
571
-        this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate
572
-          ? resp.monitor.ultrafiltration_rate
573
-          : ''
565
+        this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : ''
574 566
         this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
575
-        this.form.sodium_concentration = resp.monitor.sodium_concentration
576
-          ? resp.monitor.sodium_concentration
577
-          : ''
578
-        this.form.dialysate_temperature = resp.monitor.dialysate_temperature
579
-          ? resp.monitor.dialysate_temperature
580
-          : ''
581
-        this.form.temperature = resp.monitor.temperature
582
-          ? resp.monitor.temperature
583
-          : ''
584
-        this.form.replacement_rate = resp.monitor.replacement_rate
585
-          ? resp.monitor.replacement_rate
586
-          : ''
567
+        this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
568
+        this.form.dialysate_temperature = resp.monitor.dialysate_temperature  ? resp.monitor.dialysate_temperature : ''
569
+        this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
570
+        this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
587 571
         this.form.displacement_quantity = '' // this.last_monitor_record.displacement_quantity;
588 572
         this.form.conductivity = ''
589 573
         this.form.displacement_flow_quantity = ''