see999 3 vuotta sitten
vanhempi
commit
be55965a21

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Näytä tiedosto

@@ -60,7 +60,7 @@
60 60
         <div class="inline_block">
61 61
           透析次数:
62 62
           <div class="under_line" style="width: 40px;text-align: left">
63
-            {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}
63
+            {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}
64 64
           </div>
65 65
         </div>
66 66
         <div class="inline_block">

+ 13 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue Näytä tiedosto

@@ -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++){

+ 2 - 2
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Näytä tiedosto

@@ -19,12 +19,12 @@
19 19
                     <div>年龄:{{advicePrint[0].patient.age?advicePrint[0].patient.age:""}}岁</div>
20 20
                 </div>
21 21
                 <div style="margin-bottom:20px;padding:10px 10px 0;">病史摘要:{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
22
-                <div style="margin-bottom:20px;padding:0 10px;">体格检查:
22
+                <!-- <div style="margin-bottom:20px;padding:0 10px;">体格检查:
23 23
                     <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
24 24
                     <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
25 25
                     <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
26 26
                     <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
27
-                </div>
27
+                </div> -->
28 28
                 <div style="margin-bottom:20px;padding:0 10px;">临床诊断:{{ getDiagnosis(advicePrint[0].info.diagnosis) }}</div>
29 29
                 <div style="display:flex;margin-bottom:20px;padding:0 10px;">
30 30
                     <div>检验项目:</div>