Przeglądaj źródła

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

csx 4 lat temu
rodzic
commit
543fd3b3f8
1 zmienionych plików z 24 dodań i 7 usunięć
  1. 24 7
      src/pages/main/dialog/MonitDialog.vue

+ 24 - 7
src/pages/main/dialog/MonitDialog.vue Wyświetl plik

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