|
@@ -14,9 +14,9 @@
|
14
|
14
|
<div class="lineHeight">基本信息</div>
|
15
|
15
|
<div class="lineHeight">
|
16
|
16
|
<div class="widthLength25">年龄:{{ getAge(patientInfo) }}</div>
|
17
|
|
- <div class="widthLength25">透析年龄:{{ patientInfo.dialysis_age ? patientInfo.dialysis_age : '/' }}月</div>
|
|
17
|
+ <div class="widthLength25">透析年龄:{{ patientInfo.first_dialysis_date ? getMonths(patientInfo.first_dialysis_date) : '/' }}月</div>
|
18
|
18
|
<div class="widthLength25">入院方式:{{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : '/' }}</div>
|
19
|
|
- <div class="widthLength25">累计:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</div>
|
|
19
|
+ <div class="widthLength25">累计:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }} 次</div>
|
20
|
20
|
</div>
|
21
|
21
|
<div class="lineHeight">
|
22
|
22
|
<div class="widthLength25">首次透析时间:{{ patientInfo.first_treatment_date ? getTime(patientInfo.first_treatment_date ? patientInfo.first_treatment_date : 0, "{y}-{m}-{d}") : '/' }}</div>
|
|
@@ -111,7 +111,7 @@
|
111
|
111
|
<div class="lineHeight">
|
112
|
112
|
<div class="widthLength25">实际进食量:{{ afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }} g</div>
|
113
|
113
|
<div class="widthLength25">透后体重:{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }} Kg</div>
|
114
|
|
- <div class="widthLength25">脉搏:{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }} 次/分</div>
|
|
114
|
+ <div class="widthLength25">脉搏:{{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "" }} 次/分</div>
|
115
|
115
|
<div class="widthLength25"></div>
|
116
|
116
|
</div>
|
117
|
117
|
<div class="lineHeight">治疗方案:</div>
|
|
@@ -576,6 +576,16 @@ export default {
|
576
|
576
|
};
|
577
|
577
|
},
|
578
|
578
|
methods: {
|
|
579
|
+ getMonths(t){
|
|
580
|
+ var ot=new Date(t); //转为时间对象(js的时间戳是毫秒数)
|
|
581
|
+ var oy=ot.getFullYear(); //年
|
|
582
|
+ var om=ot.getMonth()+1; //月
|
|
583
|
+ var tt=new Date(); //今天
|
|
584
|
+ var ty=tt.getFullYear(); //今天年
|
|
585
|
+ var tm=tt.getMonth()+1; //今天月
|
|
586
|
+ var gm=(ty-oy)*12+(tm-om); //距今月数
|
|
587
|
+ return gm
|
|
588
|
+ },
|
579
|
589
|
getComplication(id){
|
580
|
590
|
var name = "";
|
581
|
591
|
for(let i=0;i<this.complicationList.length;i++){
|