yq1 1 year ago
parent
commit
3b8d7df431

+ 0 - 1
src/router/modules/dialysis.js View File

984
         noCache: true
984
         noCache: true
985
       }
985
       }
986
     },
986
     },
987
-
988
     {
987
     {
989
       path: '/dialysis/consumable/dialysis/gather/print',
988
       path: '/dialysis/consumable/dialysis/gather/print',
990
       component: () => import('@/xt_pages/dialysis/details/consumable/dialysisGatherPrint'),
989
       component: () => import('@/xt_pages/dialysis/details/consumable/dialysisGatherPrint'),

File diff suppressed because it is too large
+ 1784 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue


+ 50 - 35
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue View File

211
           <div style="flex: 1;">
211
           <div style="flex: 1;">
212
             血管通路
212
             血管通路
213
             <span class="under-line" style="display: inline-block;width: 50%;">
213
             <span class="under-line" style="display: inline-block;width: 50%;">
214
+              {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id : '' }}&nbsp;
214
               {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : "/" }}
215
               {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : "/" }}
215
             </span>
216
             </span>
216
           </div>
217
           </div>
224
             </div>
225
             </div>
225
           </div>
226
           </div>
226
         </div>
227
         </div>
227
-        <div style="display: flex;border: 1px solid black;padding: 5px;">
228
+        <div style="display: flex;border: 1px solid black;padding: 5px;" v-if="org_id == 10612 || org_id == 0">
228
           <div style="flex: 1;">
229
           <div style="flex: 1;">
229
             穿刺针
230
             穿刺针
230
             <span class="under-line" style="display: inline-block;width: 50%;">
231
             <span class="under-line" style="display: inline-block;width: 50%;">
241
             </div>
242
             </div>
242
           </div>
243
           </div>
243
         </div>
244
         </div>
244
-        <div style="border-left: 1px solid black;border-right: 1px solid black;padding: 5px;text-align: center;">
245
+        <div style="border-left: 1px solid black;border-right: 1px solid black;border-top: 1px solid black;padding: 5px;text-align: center;">
245
           治疗过程记录
246
           治疗过程记录
246
         </div>
247
         </div>
247
         <table border="1" style="border-collapse: collapse;text-align: center;">
248
         <table border="1" style="border-collapse: collapse;text-align: center;">
248
           <tr>
249
           <tr>
249
             <td style="width: 60px;text-align: center;" rowspan="2" >时间</td>
250
             <td style="width: 60px;text-align: center;" rowspan="2" >时间</td>
250
-            <td colspan="6" style="text-align: center;">透析参数</td>
251
+            <td :colspan="org_id==10612 ?'6':'4'" style="text-align: center;">透析参数</td>
251
             <td colspan="5" style="text-align: center;">生命体征</td>
252
             <td colspan="5" style="text-align: center;">生命体征</td>
252
-            <td colspan="2" style="text-align: center;">治疗中病情变化</td>
253
+            <td :colspan="org_id==10612 ? '2' : '3'" style="text-align: center;">治疗中病情变化</td>
253
           </tr>
254
           </tr>
254
           <tr>
255
           <tr>
255
             <th style="width: 70px; font-weight: normal">
256
             <th style="width: 70px; font-weight: normal">
256
               <p style="height: 20px; line-height: 20px">TMP</p>
257
               <p style="height: 20px; line-height: 20px">TMP</p>
257
               <p style="height: 20px; line-height: 20px">mmHg</p>
258
               <p style="height: 20px; line-height: 20px">mmHg</p>
258
             </th>
259
             </th>
259
-            <th style="width: 70px; font-weight: normal">
260
+            <th style="width: 70px; font-weight: normal" v-if='org_id==10612'>
260
               <p style="height: 20px; line-height: 20px">动脉压</p>
261
               <p style="height: 20px; line-height: 20px">动脉压</p>
261
               <p style="height: 20px; line-height: 20px">mmHg</p>
262
               <p style="height: 20px; line-height: 20px">mmHg</p>
262
             </th>
263
             </th>
272
               <p style="height: 20px; line-height: 20px">脱水量</p>
273
               <p style="height: 20px; line-height: 20px">脱水量</p>
273
               <p style="height: 20px; line-height: 20px">ml</p>
274
               <p style="height: 20px; line-height: 20px">ml</p>
274
             </th>
275
             </th>
275
-            <th style="width: 130px; font-weight: normal">
276
+            <th style="width: 130px; font-weight: normal" v-if='org_id==10612'>
276
               <p style="height: 20px; line-height: 30px">透析液温度</p>
277
               <p style="height: 20px; line-height: 30px">透析液温度</p>
277
               <p style="height: 20px; line-height: 20px">℃</p>
278
               <p style="height: 20px; line-height: 20px">℃</p>
278
             </th>
279
             </th>
293
               <p style="height: 20px; line-height: 20px">mmHg</p>
294
               <p style="height: 20px; line-height: 20px">mmHg</p>
294
             </th>
295
             </th>
295
 
296
 
296
-            <th style="width: 80px; font-weight: normal">
297
+            <th style="width: 80px; font-weight: normal" v-if='org_id==10612'>
297
               <p style="height: 20px; line-height: 20px">电导度</p>
298
               <p style="height: 20px; line-height: 20px">电导度</p>
298
               <p style="height: 20px; line-height: 20px">mS/m</p>
299
               <p style="height: 20px; line-height: 20px">mS/m</p>
299
             </th>
300
             </th>
300
-            <!-- <th style="width: 70px; font-weight: normal">
301
+            <th style="width: 80px; font-weight: normal" v-if='org_id!=10612'>
302
+              <p style="height: 20px; line-height: 20px">SpO2</p>
303
+              <p style="height: 20px; line-height: 20px">%</p>
304
+            </th>
305
+            <th style="width: 60px; font-weight: normal" v-if='org_id!=10612'>
301
               时间
306
               时间
302
-            </th> -->
307
+            </th>
303
             <th style="width: 333px; font-weight: normal">
308
             <th style="width: 333px; font-weight: normal">
304
               <p style="height: 20px; line-height: 20px">
309
               <p style="height: 20px; line-height: 20px">
305
                 记&nbsp;&nbsp;&nbsp;&nbsp;录
310
                 记&nbsp;&nbsp;&nbsp;&nbsp;录
310
             <td style="min-width: 60px; height: 30px">
315
             <td style="min-width: 60px; height: 30px">
311
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
316
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
312
             </td>
317
             </td>
313
-            
318
+
314
             <td>
319
             <td>
315
               <span v-if="getTime(monitor.operate_time) != ''">
320
               <span v-if="getTime(monitor.operate_time) != ''">
316
                 {{
321
                 {{
321
               </span>
326
               </span>
322
             </td>
327
             </td>
323
 
328
 
324
-            <th style="width: 70px; font-weight: normal">
329
+            <td style="width: 70px; font-weight: normal" v-if='org_id==10612'>
325
               <span v-if="getTime(monitor.operate_time) != ''">
330
               <span v-if="getTime(monitor.operate_time) != ''">
326
                 {{
331
                 {{
327
                   monitor.arterial_pressure
332
                   monitor.arterial_pressure
329
                     : "/"
334
                     : "/"
330
                 }}
335
                 }}
331
               </span>
336
               </span>
332
-            </th>
333
-            
337
+            </td>
338
+
334
             <td>
339
             <td>
335
               <span v-if="getTime(monitor.operate_time) != ''">
340
               <span v-if="getTime(monitor.operate_time) != ''">
336
                 &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}
341
                 &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}
343
             </td>
348
             </td>
344
             <td style="min-width: 45px">
349
             <td style="min-width: 45px">
345
               <span v-if="getTime(monitor.operate_time) != ''">
350
               <span v-if="getTime(monitor.operate_time) != ''">
346
-                <span v-if="monindex == 1">0</span>
347
-                <span v-if="monindex != 1">
348
-                  {{
351
+                {{
349
                   monitor.ultrafiltration_volume
352
                   monitor.ultrafiltration_volume
350
                     ? monitor.ultrafiltration_volume
353
                     ? monitor.ultrafiltration_volume
351
                     : ""
354
                     : ""
352
-                 }}
353
-                </span>
354
-              
355
+                }}
355
               </span>
356
               </span>
356
             </td>
357
             </td>
357
-            <!-- 生命体征 -->
358
-            <!-- T -->
359
-            <td>
358
+            <!-- 透析液温度 -->
359
+            <td v-if='org_id==10612'>
360
               <span v-if="getTime(monitor.operate_time) != ''">
360
               <span v-if="getTime(monitor.operate_time) != ''">
361
                 {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}
361
                 {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}
362
               </span>
362
               </span>
363
             </td>
363
             </td>
364
-            <!-- HR -->
364
+
365
             <td>
365
             <td>
366
               <span v-if="getTime(monitor.operate_time) != ''">
366
               <span v-if="getTime(monitor.operate_time) != ''">
367
                 {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}
367
                 {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}
368
               </span>
368
               </span>
369
             </td>
369
             </td>
370
-            <!-- R -->
370
+
371
             <td>
371
             <td>
372
               <span v-if="getTime(monitor.operate_time) != ''">
372
               <span v-if="getTime(monitor.operate_time) != ''">
373
                 {{ monitor.temperature ? monitor.temperature : "/" }}
373
                 {{ monitor.temperature ? monitor.temperature : "/" }}
378
                 {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}
378
                 {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}
379
               </span>
379
               </span>
380
             </td>
380
             </td>
381
-            <!-- BP -->
381
+
382
             <td>
382
             <td>
383
               <span v-if="getTime(monitor.operate_time) != ''">
383
               <span v-if="getTime(monitor.operate_time) != ''">
384
                 {{
384
                 {{
392
                 }}
392
                 }}
393
               </span>
393
               </span>
394
             </td>
394
             </td>
395
-            <!-- SPO2 -->
396
-            <td>
395
+            <td v-if='org_id==10612'>
397
               <span v-if="getTime(monitor.operate_time) != ''">
396
               <span v-if="getTime(monitor.operate_time) != ''">
398
                 {{
397
                 {{
399
                   monitor.conductivity
398
                   monitor.conductivity
402
                 }}
401
                 }}
403
               </span>
402
               </span>
404
             </td>
403
             </td>
405
-
406
-            <!-- 病情变化 -->
407
-            <!-- <td style="min-width: 60px; height: 30px">
404
+            <!-- SpO2 -->
405
+            <td v-if='org_id!=10612'>
406
+              <span v-if="getTime(monitor.operate_time) != ''">
407
+                {{
408
+                  monitor.blood_oxygen_saturation
409
+                    ? monitor.blood_oxygen_saturation
410
+                    : ""
411
+                }}
412
+              </span>
413
+            </td>
414
+            <!-- 时间 -->
415
+            <td style="min-width: 60px; height: 30px" v-if='org_id!=10612'>
408
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
416
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
409
-            </td> -->
417
+            </td>
410
             <td>
418
             <td>
411
-              <template 
419
+              <template
412
               v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
420
               v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
413
               >
421
               >
414
                 开始上机,引血100ml/min
422
                 开始上机,引血100ml/min
444
                 <p style="height:15px;line-height:15px">上次透后体重</p>
452
                 <p style="height:15px;line-height:15px">上次透后体重</p>
445
               </td>
453
               </td>
446
               <td style="width:8%;">
454
               <td style="width:8%;">
447
-              
455
+
448
                  <span v-if="assessmentafter.weight_after == 0">
456
                  <span v-if="assessmentafter.weight_after == 0">
449
                   {{ afterdialysis.last_after_weight ? afterdialysis.last_after_weight : "0" }}kg
457
                   {{ afterdialysis.last_after_weight ? afterdialysis.last_after_weight : "0" }}kg
450
                  </span>
458
                  </span>
451
                  <span v-if="assessmentafter.weight_after>0">
459
                  <span v-if="assessmentafter.weight_after>0">
452
                   {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
460
                   {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
453
                  </span>
461
                  </span>
454
-                  
462
+
455
               </td>
463
               </td>
456
             </tr>
464
             </tr>
457
 
465
 
484
                  <span v-if="assessmentafter.weight_after>0">
492
                  <span v-if="assessmentafter.weight_after>0">
485
                    {{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg
493
                    {{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg
486
                  </span>
494
                  </span>
487
-                 
495
+
488
               </td>
496
               </td>
489
               <td v-if="advice_index === 2">干体重(DW)</td>
497
               <td v-if="advice_index === 2">干体重(DW)</td>
490
               <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
498
               <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
563
     LabelBox,
571
     LabelBox,
564
     BreadCrumb
572
     BreadCrumb
565
   },
573
   },
574
+  // props:{
575
+  //   x_tdate:{
576
+  //     typr:String
577
+  //   }
578
+  // },
566
   data() {
579
   data() {
567
     return {
580
     return {
568
       way_arr: [],
581
       way_arr: [],
911
         ? this.modeOptions[mode_id].name
924
         ? this.modeOptions[mode_id].name
912
         : "";
925
         : "";
913
     },
926
     },
927
+    // 数据源
914
     getDialysisRecord() {
928
     getDialysisRecord() {
915
       this.loading = true;
929
       this.loading = true;
916
       this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
930
       this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1540
     }
1554
     }
1541
   },
1555
   },
1542
   created() {
1556
   created() {
1557
+    console.log('x_tdate',this.x_tdate);
1543
     var xtuser = this.$store.getters.xt_user;
1558
     var xtuser = this.$store.getters.xt_user;
1544
     this.orgname = xtuser.org.org_name;
1559
     this.orgname = xtuser.org.org_name;
1545
     // this.orgname = "遂溪方济医院";
1560
     // this.orgname = "遂溪方济医院";