Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

csx 4 years ago
parent
commit
543fd3b3f8
1 changed files with 24 additions and 7 deletions
  1. 24 7
      src/pages/main/dialog/MonitDialog.vue

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

@@ -34,6 +34,7 @@
34 34
                 <th v-if="isShow('置换率') && template_id !=6" width="92px">置换率(L/h)</th>
35 35
                 <th v-if="isShow('置换量') && template_id ==6" width="50px">置换量(ml)</th>
36 36
                 <th v-if="isShow('置换量') && template_id !=6" width="50px">置换量(L)</th>
37
+                <th v-if="isShow('SpO₂')  && template_id !=6" width="50px">SpO₂(%)</th>
37 38
                 <th v-if="isShow('电导度')" width="50px">电导度(mS/m)</th>
38 39
                 <th v-if="isShow('置换液流量')" width="50px">置换液流量(ml/h)</th>
39 40
 
@@ -71,6 +72,9 @@
71 72
                 <td
72 73
                   v-if="isShow('置换量')"
73 74
                 >{{item.displacement_quantity?item.displacement_quantity:''}}</td>
75
+                 <td
76
+                  v-if="isShow('SpO₂')"
77
+                >{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:''}}</td>
74 78
                 <td v-if="isShow('电导度')">{{item.conductivity?item.conductivity:''}}</td>
75 79
                 <td
76 80
                   v-if="isShow('置换液流量')"
@@ -278,6 +282,17 @@
278 282
                 v-model="form.displacement_quantity"
279 283
               />
280 284
             </div>
285
+            <div class="cell" v-if="isShow('SpO₂')">
286
+              <label v-if="template_id == 6">SpO₂(%)</label>
287
+              <label v-else>SpO₂(L)</label>
288
+              <input
289
+                type="number"
290
+                @focus="inputFocus"
291
+                onclick="this.select();"
292
+                class="inputBox"
293
+                v-model="form.blood_oxygen_saturation"
294
+              />
295
+            </div>
281 296
             <div class="cell" v-if="isShow('电导度')">
282 297
               <label>电导度(mS/m)</label>
283 298
               <input
@@ -474,7 +489,8 @@ export default {
474 489
         ktv: '', // KT/V(在线)
475 490
         symptom: '', // 症状
476 491
         dispose: '', // 处理
477
-        result: '', // 结果
492
+        result: '', // 结果,
493
+        blood_oxygen_saturation: '',
478 494
         monitoring_nurse: this.$store.getters.user.user.id // 监测人
479 495
       },
480 496
       doctor: this.$store.getters.user.user.user_name
@@ -553,7 +569,7 @@ export default {
553 569
         this.today_last_monitor_record = resp.monitor
554 570
 
555 571
         // this.form.operate_time = Date.parse(new Date())
556
-        this.form.operate_time = resp.monitor.operate_time  ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
572
+        this.form.operate_time = resp.monitor.operate_time ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
557 573
         this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
558 574
         this.form.breathing_rated = resp.monitor.breathing_rate ? resp.monitor.breathing_rate : ''
559 575
         this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
@@ -565,7 +581,7 @@ export default {
565 581
         this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : ''
566 582
         this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
567 583
         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 : ''
584
+        this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
569 585
         this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
570 586
         this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
571 587
         this.form.displacement_quantity = '' // this.last_monitor_record.displacement_quantity;
@@ -930,7 +946,7 @@ export default {
930 946
       } else {
931 947
         this.form.ktv = this.currentRow.ktv
932 948
       }
933
-
949
+      this.form.blood_oxygen_saturation = this.currentRow.blood_oxygen_saturation
934 950
       this.form.symptom = this.currentRow.symptom
935 951
       this.form.dispose = this.currentRow.dispose
936 952
       this.form.result = this.currentRow.result
@@ -998,7 +1014,7 @@ export default {
998 1014
       params.result = this.form.result
999 1015
       params.monitoring_nurse = this.form.monitoring_nurse
1000 1016
       params.displacement_flow_quantity = this.form.displacement_flow_quantity
1001
-
1017
+      params.blood_oxygen_saturation = this.form.blood_oxygen_saturation
1002 1018
       params.id = this.form.id
1003 1019
       editMonitorRecord(params).then(rs => {
1004 1020
         var resp = rs.data
@@ -1026,6 +1042,7 @@ export default {
1026 1042
           this.form.replacement_rate = ''
1027 1043
           this.form.displacement_quantity = ''
1028 1044
           this.form.ktv = ''
1045
+          this.form.blood_oxygen_saturation = ''
1029 1046
           this.form.symptom = ''
1030 1047
           this.form.dispose = ''
1031 1048
           this.form.result = ''
@@ -1041,7 +1058,7 @@ export default {
1041 1058
           Toast.fail(resp.msg)
1042 1059
         }
1043 1060
       }).catch(error => {
1044
-        Toast.fail("请求失败")
1061
+        Toast.fail('请求失败')
1045 1062
       })
1046 1063
     },
1047 1064
     submitAction: function () {
@@ -1069,7 +1086,7 @@ export default {
1069 1086
       params.displacement_quantity = this.form.displacement_quantity
1070 1087
       params.conductivity = this.form.conductivity
1071 1088
       params.displacement_flow_quantity = this.form.displacement_flow_quantity
1072
-
1089
+      params.blood_oxygen_saturation = this.form.blood_oxygen_saturation
1073 1090
       params.ktv = this.form.ktv
1074 1091
       params.symptom = this.form.symptom
1075 1092
       params.dispose = this.form.dispose