瀏覽代碼

增加透析监测里的体温字段

张保健 5 年之前
父節點
當前提交
778077f2b2

+ 24 - 0
src/pages/main/dialog/MonitDialog.vue 查看文件

20
             <tr @click="selectRow(-1, null)">
20
             <tr @click="selectRow(-1, null)">
21
                 <th  v-if="isShow('监测时间')"  width="124px">时间</th>
21
                 <th  v-if="isShow('监测时间')"  width="124px">时间</th>
22
                 <th  v-if="isShow('血压')" width="72px">血压(mmHg)</th>
22
                 <th  v-if="isShow('血压')" width="72px">血压(mmHg)</th>
23
+                <th  v-if="isShow('体温')" width="80px">体温(℃)</th>
23
                 <th  v-if="isShow('心率')" width="80px">心率(次/分)</th>
24
                 <th  v-if="isShow('心率')" width="80px">心率(次/分)</th>
24
                 <th  v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
25
                 <th  v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
25
                 <th  v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
26
                 <th  v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
37
             <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
38
             <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
38
                 <td   v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
39
                 <td   v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
39
                 <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:""}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:""}}</td>
40
                 <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:""}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:""}}</td>
41
+                <td v-if="isShow('体温')">{{item.temperature?item.temperature:""}}</td>
40
                 <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:""}}</td>
42
                 <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:""}}</td>
41
                 <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:""}}</td>
43
                 <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:""}}</td>
42
                 <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:""}}</td>
44
                 <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:""}}</td>
81
               <label>心率(次/分)</label>
83
               <label>心率(次/分)</label>
82
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.pulse_frequency">
84
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.pulse_frequency">
83
             </div>
85
             </div>
86
+            <div class="cell"  v-if="isShow('体温')">
87
+              <label>体温(℃)</label>
88
+              <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.temperature">
89
+            </div>
84
             <div class="cell"  v-if="isShow('呼吸频率')">
90
             <div class="cell"  v-if="isShow('呼吸频率')">
85
               <label>呼吸频率(次/分)</label>
91
               <label>呼吸频率(次/分)</label>
86
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.breathing_rated">
92
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.breathing_rated">
247
         ultrafiltration_volume: "", // 超滤量
253
         ultrafiltration_volume: "", // 超滤量
248
         sodium_concentration: "", // 钠浓度
254
         sodium_concentration: "", // 钠浓度
249
         dialysate_temperature: "", // 透析液温度
255
         dialysate_temperature: "", // 透析液温度
256
+        temperature: "", // 体温
250
         replacement_rate: "", // 置换率
257
         replacement_rate: "", // 置换率
251
         displacement_quantity: "", // 置换量
258
         displacement_quantity: "", // 置换量
252
         ktv: "", // KT/V(在线)
259
         ktv: "", // KT/V(在线)
380
             this.form.dialysate_temperature = monitor.dialysate_temperature;
387
             this.form.dialysate_temperature = monitor.dialysate_temperature;
381
           }
388
           }
382
 
389
 
390
+          if(monitor.temperature == 0){
391
+            this.form.temperature = ""
392
+          }else {
393
+            this.form.temperature = monitor.temperature;
394
+          }
395
+
383
           if(monitor.replacement_rate == 0){
396
           if(monitor.replacement_rate == 0){
384
             this.form.replacement_rate = ""
397
             this.form.replacement_rate = ""
385
           }else {
398
           }else {
601
         this.form.dialysate_temperature = this.currentRow.dialysate_temperature;
614
         this.form.dialysate_temperature = this.currentRow.dialysate_temperature;
602
       }
615
       }
603
 
616
 
617
+      if(this.currentRow.temperature == 0){
618
+        this.form.temperature = ""
619
+      }else {
620
+        this.form.temperature = this.currentRow.temperature;
621
+      }
622
+
604
       if(this.currentRow.replacement_rate == 0){
623
       if(this.currentRow.replacement_rate == 0){
605
         this.form.replacement_rate = ""
624
         this.form.replacement_rate = ""
606
       }else {
625
       }else {
674
       this.form.ultrafiltration_volume ="";// this.last_monitor_record.ultrafiltration_volume;
693
       this.form.ultrafiltration_volume ="";// this.last_monitor_record.ultrafiltration_volume;
675
       this.form.sodium_concentration = "";//this.last_monitor_record.sodium_concentration;
694
       this.form.sodium_concentration = "";//this.last_monitor_record.sodium_concentration;
676
       this.form.dialysate_temperature = ""; //this.last_monitor_record.dialysate_temperature;
695
       this.form.dialysate_temperature = ""; //this.last_monitor_record.dialysate_temperature;
696
+      this.form.temperature = ""; //this.last_monitor_record.temperature;
677
       this.form.replacement_rate = ""; // this.last_monitor_record.replacement_rate;
697
       this.form.replacement_rate = ""; // this.last_monitor_record.replacement_rate;
678
       this.form.displacement_quantity =""; // this.last_monitor_record.displacement_quantity;
698
       this.form.displacement_quantity =""; // this.last_monitor_record.displacement_quantity;
679
       this.form.ktv = ""; //this.last_monitor_record.ktv;
699
       this.form.ktv = ""; //this.last_monitor_record.ktv;
705
       params.ultrafiltration_volume = this.form.ultrafiltration_volume;
725
       params.ultrafiltration_volume = this.form.ultrafiltration_volume;
706
       params.sodium_concentration = this.form.sodium_concentration;
726
       params.sodium_concentration = this.form.sodium_concentration;
707
       params.dialysate_temperature = this.form.dialysate_temperature;
727
       params.dialysate_temperature = this.form.dialysate_temperature;
728
+      params.temperature = this.form.temperature;
708
       params.replacement_rate = this.form.replacement_rate;
729
       params.replacement_rate = this.form.replacement_rate;
709
       params.displacement_quantity = this.form.displacement_quantity;
730
       params.displacement_quantity = this.form.displacement_quantity;
710
       params.ktv = this.form.ktv;
731
       params.ktv = this.form.ktv;
735
           this.form.ultrafiltration_volume = "";
756
           this.form.ultrafiltration_volume = "";
736
           this.form.sodium_concentration = "";
757
           this.form.sodium_concentration = "";
737
           this.form.dialysate_temperature = "";
758
           this.form.dialysate_temperature = "";
759
+          this.form.temperature = "";
738
           this.form.replacement_rate = "";
760
           this.form.replacement_rate = "";
739
           this.form.displacement_quantity = "";
761
           this.form.displacement_quantity = "";
740
           this.form.ktv = "";
762
           this.form.ktv = "";
772
       params.ultrafiltration_volume = this.form.ultrafiltration_volume;
794
       params.ultrafiltration_volume = this.form.ultrafiltration_volume;
773
       params.sodium_concentration = this.form.sodium_concentration;
795
       params.sodium_concentration = this.form.sodium_concentration;
774
       params.dialysate_temperature = this.form.dialysate_temperature;
796
       params.dialysate_temperature = this.form.dialysate_temperature;
797
+      params.temperature = this.form.temperature;
775
       params.replacement_rate = this.form.replacement_rate;
798
       params.replacement_rate = this.form.replacement_rate;
776
       params.displacement_quantity = this.form.displacement_quantity;
799
       params.displacement_quantity = this.form.displacement_quantity;
777
       params.ktv = this.form.ktv;
800
       params.ktv = this.form.ktv;
804
             this.form.ultrafiltration_volume = "";
827
             this.form.ultrafiltration_volume = "";
805
             this.form.sodium_concentration = "";
828
             this.form.sodium_concentration = "";
806
             this.form.dialysate_temperature = "";
829
             this.form.dialysate_temperature = "";
830
+            this.form.temperature = "";
807
             this.form.replacement_rate = "";
831
             this.form.replacement_rate = "";
808
             this.form.displacement_quantity = "";
832
             this.form.displacement_quantity = "";
809
             this.form.ktv = "";
833
             this.form.ktv = "";

+ 2 - 0
src/pages/main/today/TodayTab.vue 查看文件

419
         monitor.breathing_rate;
419
         monitor.breathing_rate;
420
       this.monitor_records[monitor_index].dialysate_temperature =
420
       this.monitor_records[monitor_index].dialysate_temperature =
421
         monitor.dialysate_temperature;
421
         monitor.dialysate_temperature;
422
+        this.monitor_records[monitor_index].temperature =
423
+        monitor.temperature;
422
       this.monitor_records[monitor_index].diastolic_bp = monitor.diastolic_bp;
424
       this.monitor_records[monitor_index].diastolic_bp = monitor.diastolic_bp;
423
       this.monitor_records[monitor_index].displacement_quantity =
425
       this.monitor_records[monitor_index].displacement_quantity =
424
         monitor.displacement_quantity;
426
         monitor.displacement_quantity;

+ 2 - 0
src/pages/main/today/dialysisMonitoring.vue 查看文件

6
         <tr>
6
         <tr>
7
           <th  v-if="isShow('监测时间')" width="124px">时间</th>
7
           <th  v-if="isShow('监测时间')" width="124px">时间</th>
8
           <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
8
           <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
9
+          <th v-if="isShow('体温')" width="80px">体温(℃)</th>
9
           <th v-if="isShow('心率')" width="80px">心率(次/分)</th>
10
           <th v-if="isShow('心率')" width="80px">心率(次/分)</th>
10
           <th v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
11
           <th v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
11
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
12
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
23
         <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
24
         <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
24
           <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
25
           <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
25
           <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
26
           <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
27
+          <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
26
           <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
28
           <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
27
           <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:''}}</td>
29
           <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:''}}</td>
28
           <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
30
           <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>