|
@@ -49,7 +49,50 @@ export default{
|
49
|
49
|
},
|
50
|
50
|
afterList:{
|
51
|
51
|
type:Array
|
|
52
|
+ },
|
|
53
|
+ max_blood_flow_volume:{
|
|
54
|
+ type:Number
|
|
55
|
+ },
|
|
56
|
+ max_befor_systolic_blood_pressure:{
|
|
57
|
+ type:Number
|
|
58
|
+ },
|
|
59
|
+ min_befor_systolic_blood_pressure:{
|
|
60
|
+ type:Number
|
|
61
|
+ },
|
|
62
|
+ max_befor_diastolic_blood_pressure:{
|
|
63
|
+ type:Number
|
|
64
|
+ },
|
|
65
|
+ min_befor_diastolic_blood_pressure:{
|
|
66
|
+ type:Number
|
|
67
|
+ },
|
|
68
|
+ max_after_systolic_blood_pressure:{
|
|
69
|
+ type:Number
|
|
70
|
+ },
|
|
71
|
+ min_after_systolic_blood_pressure:{
|
|
72
|
+ type:Number
|
|
73
|
+ },
|
|
74
|
+ max_after_diastolic_blood_pressure:{
|
|
75
|
+ type:Number,
|
|
76
|
+ },
|
|
77
|
+ min_after_diastolic_blood_pressure:{
|
|
78
|
+ type:Number,
|
|
79
|
+ },
|
|
80
|
+ max_monitor_systolic_blood_pressure:{
|
|
81
|
+ type:Number,
|
|
82
|
+ },
|
|
83
|
+ min_monitor_systolic_blood_pressure:{
|
|
84
|
+ type:Number,
|
|
85
|
+ },
|
|
86
|
+ max_monitor_diastolic_blood_pressure:{
|
|
87
|
+ type:Number,
|
|
88
|
+ },
|
|
89
|
+ min_monitor_diastolic_blood_pressure:{
|
|
90
|
+ type:Number
|
|
91
|
+ },
|
|
92
|
+ lastDryWeight:{
|
|
93
|
+ type:Object
|
52
|
94
|
}
|
|
95
|
+
|
53
|
96
|
},
|
54
|
97
|
data(){
|
55
|
98
|
return {
|
|
@@ -77,11 +120,7 @@ export default{
|
77
|
120
|
|
78
|
121
|
},
|
79
|
122
|
beforeMount(){
|
80
|
|
- console.log("patinet==========================",this.patient)
|
81
|
|
- console.log("longAdvice-----------------------",this.longAdvice)
|
82
|
|
- console.log("除非==========================",this.prescription)
|
83
|
|
- console.log("berforList---------------------",this.berforList)
|
84
|
|
- console.log("afterList---------------------",this.afterList)
|
|
123
|
+
|
85
|
124
|
var hd_total =0
|
86
|
125
|
var hdArr =[]
|
87
|
126
|
var hdf_total =0
|
|
@@ -686,9 +725,53 @@ export default{
|
686
|
725
|
}
|
687
|
726
|
|
688
|
727
|
pingjun_weight = (cha_weight/befor_total).toFixed(2)
|
|
728
|
+
|
|
729
|
+ //透后凝血
|
|
730
|
+ var cruorNewArr = []
|
|
731
|
+ if(this.afterList!=null && this.afterList.length>0){
|
|
732
|
+ for(let i=0;i<this.afterList.length;i++){
|
|
733
|
+ cruorNewArr.push(this.afterList[i].cruor)
|
|
734
|
+ }
|
|
735
|
+ }
|
|
736
|
+
|
|
737
|
+ let dialysisCrruorObj = {}
|
|
738
|
+ let dialysisCrruorStr = ""
|
|
739
|
+ if(cruorNewArr!=null && cruorNewArr.length>0){
|
|
740
|
+ cruorNewArr.forEach(item => {
|
|
741
|
+ dialysisCrruorObj[item] = (dialysisCrruorObj[item] + 1) || 1
|
|
742
|
+ })
|
|
743
|
+ }
|
|
744
|
+
|
689
|
745
|
|
690
|
|
-
|
691
|
|
-
|
|
746
|
+ dialysisCrruorStr = JSON.stringify(dialysisCrruorObj).replace(/^{|}$/g, '')
|
|
747
|
+
|
|
748
|
+ //监测
|
|
749
|
+ var blood_flow_volume_total = 0
|
|
750
|
+ var ultrafiltration_volume_total = 0
|
|
751
|
+ var ultrafiltration_rate_total = 0
|
|
752
|
+ var total_length = 0
|
|
753
|
+ var pingjun_blood_flow_volume = 0
|
|
754
|
+ var pingjun_ultrafiltration_volume_total = 0
|
|
755
|
+ var pingjun_ultrafiltration_rate_total = 0
|
|
756
|
+ if(this.monitorList!=null && this.monitorList.length>0){
|
|
757
|
+ for(let i=0;i<this.monitorList.length;i++){
|
|
758
|
+ blood_flow_volume_total+=this.monitorList[i].blood_flow_volume
|
|
759
|
+ ultrafiltration_volume_total+=this.monitorList[i].ultrafiltration_volume
|
|
760
|
+ ultrafiltration_rate_total += this.monitorList[i].ultrafiltration_rate
|
|
761
|
+ total_length = this.monitorList.length
|
|
762
|
+ }
|
|
763
|
+ }
|
|
764
|
+ pingjun_blood_flow_volume = (blood_flow_volume_total/total_length).toFixed(2)
|
|
765
|
+ pingjun_ultrafiltration_volume_total = (ultrafiltration_volume_total/total_length).toFixed(2)
|
|
766
|
+ pingjun_ultrafiltration_rate_total = (ultrafiltration_rate_total/total_length).toFixed(2)
|
|
767
|
+
|
|
768
|
+ var dry_weight_str = ""
|
|
769
|
+ //干体重
|
|
770
|
+ if(this.dryweightList!=null && this.dryweightList.length>0){
|
|
771
|
+ for(let i=0;i<this.dryweightList.length;i++){
|
|
772
|
+ dry_weight_str = this.getTimeOne(this.dryweightList[i].ctime) + this.dryweightList[i].adjusted_value
|
|
773
|
+ }
|
|
774
|
+ }
|
692
|
775
|
|
693
|
776
|
|
694
|
777
|
const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
|
|
@@ -726,20 +809,20 @@ export default{
|
726
|
809
|
<td style="align-items: center;padding: 5px;">透析情况</td>
|
727
|
810
|
<td style='padding:5px'>
|
728
|
811
|
<p>透析间期平均体重增加:${pingjun_weight}kg;</p>
|
729
|
|
- <p>凝血:透析器-0度(1次);</p>
|
730
|
|
- <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
|
731
|
|
- <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
|
732
|
|
- <p><span style='font-weight: bold;'>透前血压:</span> <span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span></p>
|
733
|
|
- <p><span style='font-weight: bold;'>透后血压:</span> <span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span></p>
|
734
|
|
- <p><span style='font-weight: bold;'>透中最低血压:</span> <span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span></p>
|
735
|
|
- <p><span style='font-weight: bold;'>透中最高血压:</span> <span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span></p>
|
|
812
|
+ <p>凝血:${dialysisCrruorStr};</p>
|
|
813
|
+ <p>平均血流量:${pingjun_blood_flow_volume}mL/min;最大血流量:${this.max_blood_flow_volume}mL/min;</p>
|
|
814
|
+ <p>平均超滤量:${pingjun_ultrafiltration_volume_total}ml/次;平均超滤率:${pingjun_ultrafiltration_rate_total}mL/h;</p>
|
|
815
|
+ <p><span style='font-weight: bold;'>透前血压:</span> <span class="">收缩压:${this.min_befor_systolic_blood_pressure}mmHg~${this.max_befor_systolic_blood_pressure}mmHg;舒张压:${this.min_befor_diastolic_blood_pressure}mmHg~${this.max_after_systolic_blood_pressure}mmHg;</span></p>
|
|
816
|
+ <p><span style='font-weight: bold;'>透后血压:</span> <span class="">收缩压:${this.min_after_systolic_blood_pressure}mmHg~${this.max_after_systolic_blood_pressure}mmHg;舒张压:${this.min_after_diastolic_blood_pressure}~${this.max_after_diastolic_blood_pressure}mmHg;</span></p>
|
|
817
|
+ <p><span style='font-weight: bold;'>透中最低血压:</span> <span class="">收缩压:${this.min_monitor_systolic_blood_pressure}mmHg~${this.max_monitor_systolic_blood_pressure}mmHg</span></p>
|
|
818
|
+ <p><span style='font-weight: bold;'>透中最高血压:</span> <span class="">舒张压:${this.min_monitor_diastolic_blood_pressure}mmHg~${this.max_monitor_diastolic_blood_pressure}mmHg;</span></p>
|
736
|
819
|
</td>
|
737
|
820
|
</tr>
|
738
|
821
|
<tr>
|
739
|
822
|
<td style="align-items: center;padding: 5px;">干体重</td>
|
740
|
823
|
<td style='padding: 5px;'>
|
741
|
824
|
<p>
|
742
|
|
- <span style='font-weight: bold;'>当前干体重:</span> <span class="">73.7kg;</span>
|
|
825
|
+ <span style='font-weight: bold;'>当前干体重:</span> <span class="">${this.lastDryWeight.dry_weight}kg;</span>
|
743
|
826
|
</p>
|
744
|
827
|
<p>
|
745
|
828
|
<span style='font-weight: bold;'>调整记录:</span> <span class="">无</span>
|
|
@@ -940,6 +1023,10 @@ export default{
|
940
|
1023
|
getTime (time) {
|
941
|
1024
|
return uParseTime(time, '{y}-{m}-{d}')
|
942
|
1025
|
},
|
|
1026
|
+ getTimeOne (time) {
|
|
1027
|
+ return uParseTime(time, '年-月-日')
|
|
1028
|
+ },
|
|
1029
|
+
|
943
|
1030
|
getAnticoagulantName(val){
|
944
|
1031
|
var anticoagulant_name = ""
|
945
|
1032
|
if(val == 1){
|