Browse Source

11月19日,打印单

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