Browse Source

11月19日,打印单

yq1 6 days ago
parent
commit
901928bff2
1 changed files with 34 additions and 33 deletions
  1. 34 33
      src/pages/main/template/DialysisPrintOrderThirtyOne.vue

+ 34 - 33
src/pages/main/template/DialysisPrintOrderThirtyOne.vue View File

151
             <div class="inline_block" style="margin-right:30px;">
151
             <div class="inline_block" style="margin-right:30px;">
152
               透析液配方
152
               透析液配方
153
               <div class="inline_block under_line" style="width:150px;text-align: center;">
153
               <div class="inline_block under_line" style="width:150px;text-align: center;">
154
-                  {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : ''}}
154
+                  {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : '/'}}
155
               </div>
155
               </div>
156
             </div>
156
             </div>
157
         </div>
157
         </div>
158
         <div class="row">
158
         <div class="row">
159
           血管通路部位
159
           血管通路部位
160
           <div class="inline_block under_line" style="width:200px;text-align: left;">
160
           <div class="inline_block under_line" style="width:200px;text-align: left;">
161
-            {{ predialysis.blood_access_part_id }}
161
+            {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id :'/' }}
162
           </div>
162
           </div>
163
 
163
 
164
           血管通路
164
           血管通路
191
         <div class="row">
191
         <div class="row">
192
           导管
192
           导管
193
           <div class="inline_block under_line" style="width:200px;text-align: left;">
193
           <div class="inline_block under_line" style="width:200px;text-align: left;">
194
-            {{ predialysis.catheter ? predialysis.catheter : "" }}
194
+            {{ predialysis.catheter ? predialysis.catheter : "/" }}
195
           </div>
195
           </div>
196
           内瘘
196
           内瘘
197
           <div class="inline_block under_line" style="width:200px;text-align: left;">
197
           <div class="inline_block under_line" style="width:200px;text-align: left;">
198
-            {{ predialysis.internal_fistula ? predialysis.internal_fistula : "" }}
198
+            {{ predialysis.internal_fistula ? predialysis.internal_fistula : "/" }}
199
           </div>
199
           </div>
200
         </div>
200
         </div>
201
         <div class="row">
201
         <div class="row">
212
             <div class="inline_block">
212
             <div class="inline_block">
213
               剂量:首次
213
               剂量:首次
214
               <div class="inline_block" style="width:50px;text-align:center">
214
               <div class="inline_block" style="width:50px;text-align:center">
215
-                  {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
215
+                  {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
216
               </div>
216
               </div>
217
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
217
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
218
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
218
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
225
             <div class="inline_block">
225
             <div class="inline_block">
226
               追加
226
               追加
227
               <div class="inline_block" style="width:50px;text-align:center">
227
               <div class="inline_block" style="width:50px;text-align:center">
228
-                  {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
228
+                  {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
229
               </div>
229
               </div>
230
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
230
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
231
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
231
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
238
             <div class="inline_block">
238
             <div class="inline_block">
239
               总量
239
               总量
240
               <div class="inline_block" style="width:50px;text-align:center">
240
               <div class="inline_block" style="width:50px;text-align:center">
241
-                  {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : ""}}
241
+                  {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/"}}
242
               </div>
242
               </div>
243
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
243
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
244
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
244
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
254
             <div class="inline_block" style="margin-right:30px;">
254
             <div class="inline_block" style="margin-right:30px;">
255
                 干体重
255
                 干体重
256
                 <div class="inline_block under_line" style="width:100px;">
256
                 <div class="inline_block under_line" style="width:100px;">
257
-                    {{ predialysis.dry_weight ? predialysis.dry_weight : " " }}
257
+                    {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}
258
                 </div>kg
258
                 </div>kg
259
             </div>
259
             </div>
260
             <div class="inline_block" style="margin-right:30px;">
260
             <div class="inline_block" style="margin-right:30px;">
261
                 净化前体重
261
                 净化前体重
262
                 <div class="inline_block under_line" style="width:100px;">
262
                 <div class="inline_block under_line" style="width:100px;">
263
-                    {{ predialysis.weight_before ? predialysis.weight_before : " " }}
263
+                    {{ predialysis.weight_before ? predialysis.weight_before : "/" }}
264
                 </div>kg
264
                 </div>kg
265
             </div>
265
             </div>
266
             <div class="inline_block" style="margin-right:30px;">
266
             <div class="inline_block" style="margin-right:30px;">
267
                 预设脱水
267
                 预设脱水
268
                 <div class="inline_block under_line" style="width:100px;">
268
                 <div class="inline_block under_line" style="width:100px;">
269
-                    {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : ' ' }}
269
+                    {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : '/' }}
270
                 </div>ml
270
                 </div>ml
271
             </div>
271
             </div>
272
         </div>
272
         </div>
283
             <div class="inline_block" style="margin-right:30px;">
283
             <div class="inline_block" style="margin-right:30px;">
284
                 净化后体重
284
                 净化后体重
285
                 <div class="inline_block under_line" style="width:100px;">
285
                 <div class="inline_block under_line" style="width:100px;">
286
-                    {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : " " }}
286
+                    {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : "/" }}
287
                 </div>kg
287
                 </div>kg
288
             </div>
288
             </div>
289
             <div class="inline_block" style="margin-right:30px;">
289
             <div class="inline_block" style="margin-right:30px;">
290
                 实际脱水
290
                 实际脱水
291
                 <div class="inline_block under_line" style="width:100px;">
291
                 <div class="inline_block under_line" style="width:100px;">
292
-                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : " " }}
292
+                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
293
                 </div>ml
293
                 </div>ml
294
             </div>
294
             </div>
295
             <div class="inline_block" style="margin-right:30px;" v-if="org_id !=10727">
295
             <div class="inline_block" style="margin-right:30px;" v-if="org_id !=10727">
296
                 电导度
296
                 电导度
297
                 <div class="inline_block under_line" style="width:100px;">
297
                 <div class="inline_block under_line" style="width:100px;">
298
-                    {{ prescription.conductivity ? prescription.conductivity : " " }}
298
+                    {{ prescription.conductivity ? prescription.conductivity : "/" }}
299
                 </div>mS/m
299
                 </div>mS/m
300
             </div>
300
             </div>
301
         </div>
301
         </div>
305
             <div class="inline_block" style="margin-right:30px;">
305
             <div class="inline_block" style="margin-right:30px;">
306
               体温
306
               体温
307
               <div class="inline_block" style="width:50px;text-align:center">
307
               <div class="inline_block" style="width:50px;text-align:center">
308
-                {{ predialysis.temperature ? predialysis.temperature : "" }}
308
+                {{ predialysis.temperature ? predialysis.temperature : "/" }}
309
               </div>℃
309
               </div>℃
310
             </div>
310
             </div>
311
             <div class="inline_block" style="margin-right:30px;">
311
             <div class="inline_block" style="margin-right:30px;">
312
               血压
312
               血压
313
               <div class="inline_block" style="width:100px;text-align:center">
313
               <div class="inline_block" style="width:100px;text-align:center">
314
-                {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
315
-                {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}
314
+                {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/" }}/
315
+                {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "/" }}
316
               </div>mmHg
316
               </div>mmHg
317
             </div>
317
             </div>
318
             <div class="inline_block" style="margin-right:30px;">
318
             <div class="inline_block" style="margin-right:30px;">
319
               脉搏
319
               脉搏
320
               <div class="inline_block" style="width:50px;text-align:center">
320
               <div class="inline_block" style="width:50px;text-align:center">
321
-                {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}
321
+                {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "/" }}
322
               </div>次/分
322
               </div>次/分
323
             </div>
323
             </div>
324
             入室方式
324
             入室方式
325
             <div class="inline_block under_line" style="width:80px;text-align: center;margin-right:30px;">
325
             <div class="inline_block under_line" style="width:80px;text-align: center;margin-right:30px;">
326
-              {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "" }}
326
+              {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "/" }}
327
             </div>
327
             </div>
328
             透析频次(次/周)
328
             透析频次(次/周)
329
             <div class="inline_block under_line" style="width:80px;text-align: center;">
329
             <div class="inline_block under_line" style="width:80px;text-align: center;">
330
-              {{ predialysis.dialysis_count ? predialysis.dialysis_count : "" }}
330
+              {{ predialysis.dialysis_count ? predialysis.dialysis_count : "/" }}
331
             </div>
331
             </div>
332
           </div>
332
           </div>
333
         </div>
333
         </div>
334
         <div class="row">
334
         <div class="row">
335
           透析前症状
335
           透析前症状
336
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
336
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
337
-            {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "" }}
337
+            {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "/" }}
338
           </div>
338
           </div>
339
           水肿
339
           水肿
340
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
340
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
341
-            {{ predialysis.edema ? predialysis.edema : "" }}
341
+            {{ predialysis.edema ? predialysis.edema : "/" }}
342
           </div>
342
           </div>
343
           出血
343
           出血
344
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:15px;">
344
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:15px;">
349
           <div v-if="org_id!=10727" style="display: inline-block;width: 280px;">
349
           <div v-if="org_id!=10727" style="display: inline-block;width: 280px;">
350
             跌倒风险预防措施
350
             跌倒风险预防措施
351
             <div class="inline_block under_line" style="width:100px;text-align: center;">
351
             <div class="inline_block under_line" style="width:100px;text-align: center;">
352
-              {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
352
+              {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '/' }}
353
             </div>
353
             </div>
354
           </div>
354
           </div>
355
           
355
           
517
                       <td width="70" style="text-align:left;border:none;">
517
                       <td width="70" style="text-align:left;border:none;">
518
                         <div>
518
                         <div>
519
                           <span class="under_line" style="width:50px;display:inline-block;">
519
                           <span class="under_line" style="width:50px;display:inline-block;">
520
-                            {{ afterdialysis.temperature ? afterdialysis.temperature : "" }}
520
+                            {{ afterdialysis.temperature ? afterdialysis.temperature : "/" }}
521
                           </span>℃
521
                           </span>℃
522
                         </div>
522
                         </div>
523
                       </td>
523
                       </td>
526
                       <td width="150" style="text-align:left;border:none;line-height: 30px;">
526
                       <td width="150" style="text-align:left;border:none;line-height: 30px;">
527
                         <div>
527
                         <div>
528
                           <span class="under_line" style="width:100px;display:inline-block">
528
                           <span class="under_line" style="width:100px;display:inline-block">
529
-                            {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
530
-                            {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }}
529
+                            {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "/" }}/
530
+                            {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "/" }}
531
                           </span>mmHg
531
                           </span>mmHg
532
                         </div>
532
                         </div>
533
                       </td>
533
                       </td>
535
                       <td width="120" style="text-align:left;border:none;">
535
                       <td width="120" style="text-align:left;border:none;">
536
                         <div>
536
                         <div>
537
                           <span class="under_line" style="width:50px;display:inline-block">
537
                           <span class="under_line" style="width:50px;display:inline-block">
538
-                            {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "" }}
538
+                            {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "/" }}
539
                           </span>次/分
539
                           </span>次/分
540
                         </div>
540
                         </div>
541
                       </td>
541
                       </td>
559
                       <td width="120" style="text-align:left;border:none;">
559
                       <td width="120" style="text-align:left;border:none;">
560
                         <div>
560
                         <div>
561
                           <span class="under_line" style="width:100px;display:inline-block">
561
                           <span class="under_line" style="width:100px;display:inline-block">
562
-                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
562
+                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "/" }}
563
                           </span>
563
                           </span>
564
                         </div>
564
                         </div>
565
                       </td>
565
                       </td>
568
                         <div>
568
                         <div>
569
                           <span class="under_line" style="width:120px;display:inline-block">
569
                           <span class="under_line" style="width:120px;display:inline-block">
570
                             <span v-if='afterdialysis.is_eat == 1'>是</span>
570
                             <span v-if='afterdialysis.is_eat == 1'>是</span>
571
-                            <span v-if='afterdialysis.is_eat == 2'>否</span>
571
+                            <span v-else-if='afterdialysis.is_eat == 2'>否</span>
572
+                            <span v-else>/</span>
572
                           </span>
573
                           </span>
573
                         </div>
574
                         </div>
574
                       </td>
575
                       </td>
626
                       <td width="400" colspan="3" style="text-align:left;border:none;">
627
                       <td width="400" colspan="3" style="text-align:left;border:none;">
627
                         <div>
628
                         <div>
628
                           <span class="under_line" style="width:300px;display:inline-block;">
629
                           <span class="under_line" style="width:300px;display:inline-block;">
629
-                            {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
630
+                            {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
630
                           </span>
631
                           </span>
631
                         </div>
632
                         </div>
632
                       </td>
633
                       </td>
657
           <tr style="line-height:25px;text-align:left;border:none;">
658
           <tr style="line-height:25px;text-align:left;border:none;">
658
             <td style="padding-left:5px;border:none">
659
             <td style="padding-left:5px;border:none">
659
                 <div style="padding-bottom:10px;">
660
                 <div style="padding-bottom:10px;">
660
-                  透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
661
+                  透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "/" }}
661
                 </div>
662
                 </div>
662
             </td>
663
             </td>
663
           </tr>
664
           </tr>
664
           <tr style="line-height:25px;text-align:left;border:none;">
665
           <tr style="line-height:25px;text-align:left;border:none;">
665
             <td style="padding-left:5px;border:none">
666
             <td style="padding-left:5px;border:none">
666
                 <div style="padding-bottom:10px;">
667
                 <div style="padding-bottom:10px;">
667
-                  病情记录:{{ summary.special_record ? summary.special_record : "" }}
668
+                  病情记录:{{ summary.special_record ? summary.special_record : "/" }}
668
                 </div>
669
                 </div>
669
             </td>
670
             </td>
670
           </tr>
671
           </tr>
1084
     },
1085
     },
1085
     getAdminUser (id) {
1086
     getAdminUser (id) {
1086
       if (id == 0) {
1087
       if (id == 0) {
1087
-        return ''
1088
+        return '/'
1088
       }
1089
       }
1089
       if (id == undefined) {
1090
       if (id == undefined) {
1090
         return ''
1091
         return ''
1173
     },
1174
     },
1174
     setAdminUserES (id) {
1175
     setAdminUserES (id) {
1175
       if (id == 0) {
1176
       if (id == 0) {
1176
-        return ''
1177
+        return '/'
1177
       }
1178
       }
1178
       if (id in this.operatorMaps) {
1179
       if (id in this.operatorMaps) {
1179
         return this.operatorMaps[id].url
1180
         return this.operatorMaps[id].url