|
@@ -455,15 +455,26 @@
|
455
|
455
|
>
|
456
|
456
|
<div id="print_content">
|
457
|
457
|
<div class="print_main_content">
|
458
|
|
- <div class="table_panel">
|
459
|
|
- <div style="border: 1px solid black;width: 82%;">
|
|
458
|
+ <div class="table_panel" v-for="(main_collection,index) in printList">
|
|
459
|
+ <div style="border: 1px solid black;width: 82%;" >
|
460
|
460
|
<div style="margin: 5px 0;">
|
461
|
|
- <span style="font-weight: bolder;">柴镜洋</span> <span>男</span>
|
462
|
|
- <span>37岁</span> <span>2023-9-26</span>
|
463
|
|
- <span>V区</span> <span>上午</span> <span>V80床</span>
|
|
461
|
+ <span style="font-weight: bolder;">{{main_collection.patient.name}} </span>
|
|
462
|
+ <span v-if="main_collection.patient.gender==1">男</span>
|
|
463
|
+ <span v-if="main_collection.patient.gender==2">女</span>
|
|
464
|
+ <span>
|
|
465
|
+
|
|
466
|
+ </span>
|
|
467
|
+ <span>{{getNewAge(main_collection.patient.id_card_no) }}岁</span> <span>{{getTimes(main_collection.schedule_date)}}</span>
|
|
468
|
+ <span></span>
|
|
469
|
+
|
|
470
|
+ <span>
|
|
471
|
+ <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
|
|
472
|
+ <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
|
|
473
|
+ <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
|
|
474
|
+ </span> <span>{{ main_collection.number.number }}</span>
|
464
|
475
|
</div>
|
465
|
476
|
<div style="margin: 5px 0;">
|
466
|
|
- <span>身高:180cm</span> <span>干体重:67.2kg</span>
|
|
477
|
+ <span>身高:{{ main_collection.patient.height?main_collection.patient.height:"" }} cm</span> <span>干体重:{{main_collection.assessmentbefor.dry_weight}}kg</span>
|
467
|
478
|
<span>HCT:%</span> <span>KTV目标:</span>
|
468
|
479
|
</div>
|
469
|
480
|
</div>
|
|
@@ -472,20 +483,23 @@
|
472
|
483
|
</div>
|
473
|
484
|
<div style="border: 1px solid black;width: 82%;">
|
474
|
485
|
<div style="display: flex;margin: 5px 0;">
|
475
|
|
- <div style="flex: 1;">透析模式:</div>
|
476
|
|
- <div style="flex: 1;">透析器:</div>
|
477
|
|
- <div style="flex: 1;">灌流器:</div>
|
|
486
|
+ <div style="flex: 1;">透析模式:{{getModeId(main_collection.mode_id)}}</div>
|
|
487
|
+ <div style="flex: 1;">透析器/灌流器:{{main_collection.prescription.dialyzer_perfusion_apparatus }} </div>
|
|
488
|
+
|
478
|
489
|
</div>
|
479
|
490
|
<div style="display: flex;margin: 5px 0;">
|
480
|
|
- <div style="flex: 1;">血流量:ml/分</div>
|
481
|
|
- <div style="flex: 1;">置换液总量:L</div>
|
|
491
|
+ <div style="flex: 1;">血流量:{{main_collection.prescription.blood_flow_volume}}ml/min</div>
|
|
492
|
+ <div style="flex: 1;">置换液总量:{{main_collection.prescription.displace_liqui_value}}L</div>
|
482
|
493
|
</div>
|
483
|
494
|
<div style="margin: 5px 0;">
|
484
|
495
|
<div>透析液类型:
|
485
|
|
- <span>Na:138</span>
|
486
|
|
- <span>K:2.0</span>
|
487
|
|
- <span>Ca:1.5</span>
|
488
|
|
- <span>不含HCO3:35</span>
|
|
496
|
+ <span>Na:{{ main_collection.prescription.sodium }}</span>
|
|
497
|
+ <span>K:{{ main_collection.prescription.kalium }}</span>
|
|
498
|
+ <span>Ca:{{main_collection.prescription.calcium }}</span>
|
|
499
|
+ <span>
|
|
500
|
+ <span v-if="main_collection.prescription.chaptalization==0"> 不含 </span>
|
|
501
|
+ <span v-if="main_collection.prescription.chaptalization>0"> 含糖:{{main_collection.prescription.chaptalization}} </span>
|
|
502
|
+ HCO3:</span>
|
489
|
503
|
</div>
|
490
|
504
|
</div>
|
491
|
505
|
<div style="display: flex;margin: 5px 0;">
|
|
@@ -494,16 +508,121 @@
|
494
|
508
|
</div>
|
495
|
509
|
<div style="margin: 5px 0;">
|
496
|
510
|
<span>抗凝方案:</span>
|
497
|
|
- <span>低分子肝素钙</span>
|
498
|
|
- <span>首剂:iu</span>
|
499
|
|
- <span>追加:iu</span>
|
|
511
|
+ <span>{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
|
|
512
|
+ <span>
|
|
513
|
+ 首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
|
|
514
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 2">
|
|
515
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}mg
|
|
516
|
+ </span>
|
|
517
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 3">
|
|
518
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
519
|
+ </span>
|
|
520
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 4">
|
|
521
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}mg
|
|
522
|
+ </span>
|
|
523
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 5">
|
|
524
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}} mg
|
|
525
|
+ </span>
|
|
526
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 6">
|
|
527
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
528
|
+ </span>
|
|
529
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 7">
|
|
530
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
531
|
+ </span>
|
|
532
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 8">
|
|
533
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
534
|
+ </span>
|
|
535
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 9">
|
|
536
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
537
|
+ </span>
|
|
538
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 10">
|
|
539
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
540
|
+ </span>
|
|
541
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 11">
|
|
542
|
+ {{main_collection.dialysissolution.anticoagulant_shouji}}iu
|
|
543
|
+ </span>
|
|
544
|
+ </span>
|
|
545
|
+
|
|
546
|
+ <span>
|
|
547
|
+ 维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
|
|
548
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 1">
|
|
549
|
+ mg/h
|
|
550
|
+ </span>
|
|
551
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 2">
|
|
552
|
+ mg/h
|
|
553
|
+ </span>
|
|
554
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 3">
|
|
555
|
+ iu/h
|
|
556
|
+ </span>
|
|
557
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 4">
|
|
558
|
+ mg/h
|
|
559
|
+ </span>
|
|
560
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 5">
|
|
561
|
+ mg/h
|
|
562
|
+ </span>
|
|
563
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 6">
|
|
564
|
+ iu/h
|
|
565
|
+ </span>
|
|
566
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 7">
|
|
567
|
+ iu/h
|
|
568
|
+ </span>
|
|
569
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 8">
|
|
570
|
+ iu/h
|
|
571
|
+ </span>
|
|
572
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 9">
|
|
573
|
+ iu/h
|
|
574
|
+ </span>
|
|
575
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 10">
|
|
576
|
+ iu/h
|
|
577
|
+ </span>
|
|
578
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 11">
|
|
579
|
+ iu/h
|
|
580
|
+ </span>
|
|
581
|
+ </span>
|
|
582
|
+
|
|
583
|
+ <span>
|
|
584
|
+ 总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
|
|
585
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 1">
|
|
586
|
+ mg
|
|
587
|
+ </span>
|
|
588
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 2">
|
|
589
|
+ mg
|
|
590
|
+ </span>
|
|
591
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 3">
|
|
592
|
+ iu
|
|
593
|
+ </span>
|
|
594
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 4">
|
|
595
|
+ mg
|
|
596
|
+ </span>
|
|
597
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 5">
|
|
598
|
+ mg
|
|
599
|
+ </span>
|
|
600
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 6">
|
|
601
|
+ iu
|
|
602
|
+ </span>
|
|
603
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 7">
|
|
604
|
+ iu
|
|
605
|
+ </span>
|
|
606
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 8">
|
|
607
|
+ iu
|
|
608
|
+ </span>
|
|
609
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 9">
|
|
610
|
+ iu
|
|
611
|
+ </span>
|
|
612
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 10">
|
|
613
|
+ iu
|
|
614
|
+ </span>
|
|
615
|
+ <span v-if="main_collection.dialysissolution.anticoagulant == 11">
|
|
616
|
+ iu
|
|
617
|
+ </span>
|
|
618
|
+ </span>
|
500
|
619
|
</div>
|
501
|
620
|
<div style="margin: 5px 0;">
|
502
|
|
- 血管通路:自体动静脉内瘘
|
|
621
|
+ 血管通路:{{getBloodAccess(main_collection.assessmentbefor.blood_access_part_opera_id) }}
|
503
|
622
|
</div>
|
504
|
623
|
</div>
|
505
|
624
|
<div style="border: 1px solid black;width: 82%;">
|
506
|
|
- <div style="margin: 5px 0;">高危因素:</div>
|
|
625
|
+ <div style="margin: 5px 0;">高危因素:{{ main_collection.prescription.remark }}</div>
|
507
|
626
|
</div>
|
508
|
627
|
</div>
|
509
|
628
|
</div>
|
|
@@ -1036,9 +1155,11 @@ import {
|
1036
|
1155
|
getDialysisSchedules,
|
1037
|
1156
|
getInitPrintData
|
1038
|
1157
|
} from '@/api/dialysis_record'
|
|
1158
|
+import { getDataConfig } from '@/utils/data'
|
1039
|
1159
|
import { parseTime } from '@/utils'
|
1040
|
1160
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
1041
|
1161
|
import print from 'print-js'
|
|
1162
|
+import { uParseTime } from '@/utils/tools'
|
1042
|
1163
|
export default {
|
1043
|
1164
|
name: 'index',
|
1044
|
1165
|
components: {
|
|
@@ -1178,9 +1299,12 @@ export default {
|
1178
|
1299
|
lastOrder:{},
|
1179
|
1300
|
dryWeightList:[],
|
1180
|
1301
|
docList:[],
|
|
1302
|
+ blood_access_part_opera: [],
|
1181
|
1303
|
}
|
1182
|
1304
|
},
|
1183
|
1305
|
created() {
|
|
1306
|
+ this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
|
|
1307
|
+ this.org_id = this.$store.getters.xt_user.org.id,
|
1184
|
1308
|
this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
|
1185
|
1309
|
if(this.$route.query.showView){
|
1186
|
1310
|
this.showView = this.$route.query.showView
|
|
@@ -2247,6 +2371,9 @@ export default {
|
2247
|
2371
|
let strDate = h + ':' + m;
|
2248
|
2372
|
return strDate;
|
2249
|
2373
|
},
|
|
2374
|
+ getTimes(time) {
|
|
2375
|
+ return uParseTime(time, '{y}-{m}-{d}')
|
|
2376
|
+ },
|
2250
|
2377
|
refresh(){
|
2251
|
2378
|
this.requestDialysisSchedules()
|
2252
|
2379
|
},
|
|
@@ -2510,16 +2637,119 @@ export default {
|
2510
|
2637
|
getInitPrintData(params).then(response=>{
|
2511
|
2638
|
if(response.data.state == 1){
|
2512
|
2639
|
var list = response.data.data.list
|
|
2640
|
+ console.log("listwowoowowowowow",list)
|
2513
|
2641
|
var assessmentAfterDislysis = response.data.data.assessmentAfterDislysis
|
2514
|
|
- console.log("list2332322332",list)
|
|
2642
|
+
|
2515
|
2643
|
this.printList = list
|
2516
|
2644
|
this.assessmentAfterDislysis = assessmentAfterDislysis
|
2517
|
|
- this.startVisibility = true
|
2518
|
|
- // this.centerDialogVisible =true
|
|
2645
|
+
|
|
2646
|
+ if(this.org_id == 0 || this.org_id ==10469){
|
|
2647
|
+ this.centerDialogVisible = true
|
|
2648
|
+ }else{
|
|
2649
|
+ this.startVisibility = true
|
|
2650
|
+ }
|
2519
|
2651
|
loading.close()
|
2520
|
2652
|
}
|
2521
|
2653
|
})
|
|
2654
|
+ },
|
|
2655
|
+ getModeId(val){
|
|
2656
|
+ var name =""
|
|
2657
|
+ if(val == 1){
|
|
2658
|
+ name ="HD"
|
|
2659
|
+ }
|
|
2660
|
+ if(val == 2){
|
|
2661
|
+ name ="HDF"
|
|
2662
|
+ }
|
|
2663
|
+ if(val == 3){
|
|
2664
|
+ name ="HD+HP"
|
|
2665
|
+ }
|
|
2666
|
+ if(val == 4){
|
|
2667
|
+ name ="HP"
|
|
2668
|
+ }
|
|
2669
|
+ if(val == 5){
|
|
2670
|
+ name ="HF"
|
|
2671
|
+ }
|
|
2672
|
+ if(val == 6){
|
|
2673
|
+ name ="SCUF"
|
|
2674
|
+ }
|
|
2675
|
+ if(val == 7){
|
|
2676
|
+ name ="IUF"
|
|
2677
|
+ }
|
|
2678
|
+ if(val == 8){
|
|
2679
|
+ name ="IUF"
|
|
2680
|
+ }
|
|
2681
|
+ if(val == 9){
|
|
2682
|
+ name ="HFHD+HP"
|
|
2683
|
+ }
|
|
2684
|
+ if(val == 10){
|
|
2685
|
+ name ="HFHD+HP"
|
|
2686
|
+ }
|
|
2687
|
+ if(val == 11){
|
|
2688
|
+ name ="HFR"
|
|
2689
|
+ }
|
|
2690
|
+ if(val == 12){
|
|
2691
|
+ name ="HDF+HP"
|
|
2692
|
+ }
|
|
2693
|
+ if(val == 13){
|
|
2694
|
+ name ="CRRT"
|
|
2695
|
+ }
|
|
2696
|
+ if(val == 14){
|
|
2697
|
+ name ="腹水回输"
|
|
2698
|
+ }
|
|
2699
|
+ if(val == 19){
|
|
2700
|
+ name ="IUF+HD"
|
|
2701
|
+ }
|
|
2702
|
+ if(val == 20){
|
|
2703
|
+ name ="UF"
|
|
2704
|
+ }
|
|
2705
|
+ if(val == 21){
|
|
2706
|
+ name ="HD+"
|
|
2707
|
+ }
|
|
2708
|
+ if(val == 22){
|
|
2709
|
+ name ="血浆胆红素吸附+HDF"
|
|
2710
|
+ }
|
|
2711
|
+ if(val == 23){
|
|
2712
|
+ name ="血浆胆红素吸附"
|
|
2713
|
+ }
|
|
2714
|
+ if(val == 24){
|
|
2715
|
+ name ="I-HDF"
|
|
2716
|
+ }
|
|
2717
|
+ if(val == 25){
|
|
2718
|
+ name ="HD高通"
|
|
2719
|
+ }
|
|
2720
|
+ if(val == 26){
|
|
2721
|
+ name ="CVVH"
|
|
2722
|
+ }
|
|
2723
|
+ if(val == 27){
|
|
2724
|
+ name ="CVVHD"
|
|
2725
|
+ }
|
|
2726
|
+ if(val == 28){
|
|
2727
|
+ name ="CVVHDF"
|
|
2728
|
+ }
|
|
2729
|
+ if(val == 29){
|
|
2730
|
+ name ="PE"
|
|
2731
|
+ }
|
|
2732
|
+ if(val == 30){
|
|
2733
|
+ name ="血浆胆红素吸附+HP"
|
|
2734
|
+ }
|
|
2735
|
+ if(val == 31){
|
|
2736
|
+ name ="HPD"
|
|
2737
|
+ }
|
|
2738
|
+ if(val == 32){
|
|
2739
|
+ name ="HDP"
|
|
2740
|
+ }
|
|
2741
|
+ return name
|
|
2742
|
+ },
|
|
2743
|
+ getBloodAccess(id){
|
|
2744
|
+ var name = ""
|
|
2745
|
+ for(let i=0;i<this.blood_access_part_opera.length;i++){
|
|
2746
|
+ if(id == this.blood_access_part_opera[i].id){
|
|
2747
|
+ name = this.blood_access_part_opera[i].name
|
|
2748
|
+ }
|
|
2749
|
+ }
|
|
2750
|
+ return name
|
2522
|
2751
|
}
|
|
2752
|
+
|
2523
|
2753
|
}
|
2524
|
2754
|
}
|
2525
|
2755
|
</script>
|