|
@@ -1,6 +1,7 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div>
|
3
|
3
|
<el-button type="primary" @click="checkData">一键核对</el-button>
|
|
4
|
+ <el-button type="primary" @click="toUpload">一键上传</el-button>
|
4
|
5
|
|
5
|
6
|
<div id="dialysis-print-box-1" ref="pdfContent">
|
6
|
7
|
<div
|
|
@@ -208,7 +209,9 @@
|
208
|
209
|
</div>
|
209
|
210
|
</div>
|
210
|
211
|
|
211
|
|
- <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
|
|
212
|
+ <div class="row"
|
|
213
|
+ style="padding: 2px 0; line-height: 23px; display: flex"
|
|
214
|
+ >
|
212
|
215
|
<!-- <div class="inline_block" style=" flex: 1">
|
213
|
216
|
透析期间:
|
214
|
217
|
<div
|
|
@@ -273,6 +276,14 @@
|
273
|
276
|
{{ predialysis.complication ? predialysis.complication : "/" }}
|
274
|
277
|
</div>
|
275
|
278
|
</div>
|
|
279
|
+ <!-- <div class="inline_block" style=" flex: 1">
|
|
280
|
+ 跌倒评估:
|
|
281
|
+ <div
|
|
282
|
+ style="width: 50%; text-align: center;display: inline-block;border-bottom: 1px solid #999;"
|
|
283
|
+ >
|
|
284
|
+ {{ receiverTreatmentAccess.score ? receiverTreatmentAccess.score : '/' }}
|
|
285
|
+ </div>
|
|
286
|
+ </div> -->
|
276
|
287
|
</div>
|
277
|
288
|
|
278
|
289
|
<div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
|
|
@@ -289,7 +300,7 @@
|
289
|
300
|
<div
|
290
|
301
|
style="width: 50%; text-align: center;display: inline-block;border-bottom: 1px solid #999;"
|
291
|
302
|
>
|
292
|
|
- {{ predialysis.weight_before ?
|
|
303
|
+ {{ predialysis.weight_before ?
|
293
|
304
|
parseFloat( predialysis.weight_before - predialysis.additional_weight ).toFixed(1) : "/"
|
294
|
305
|
}}
|
295
|
306
|
</div>kg
|
|
@@ -302,17 +313,17 @@
|
302
|
313
|
class="under_line"
|
303
|
314
|
style=" width: 50%;text-align: center;white-space: normal;"
|
304
|
315
|
>
|
305
|
|
- {{ predialysis.weight_before > 0 && predialysis.dry_weight > 0 ?
|
|
316
|
+ {{ predialysis.weight_before > 0 && predialysis.dry_weight > 0 ?
|
306
|
317
|
parseFloat(predialysis.weight_before - predialysis.dry_weight - predialysis.additional_weight).toFixed(2): "/" }}
|
307
|
318
|
</div>kg
|
308
|
319
|
</div>
|
309
|
320
|
<div class="inline_block" style=" flex: 1">
|
310
|
|
- <!-- 合并症:
|
311
|
|
- <div class="under_line"
|
312
|
|
- style=" width: 50%;text-align: center; white-space: normal;"
|
|
321
|
+ <!-- 预增脱水量:
|
|
322
|
+ <div
|
|
323
|
+ style="width: 50%; text-align: center;display: inline-block;border-bottom: 1px solid #999;"
|
313
|
324
|
>
|
314
|
|
- {{ predialysis.complication ? predialysis.complication : "/" }}
|
315
|
|
- </div> -->
|
|
325
|
+ {{predialysis.dehydration?predialysis.dehydration:"" }}
|
|
326
|
+ </div>L -->
|
316
|
327
|
</div>
|
317
|
328
|
</div>
|
318
|
329
|
</td>
|
|
@@ -398,7 +409,7 @@
|
398
|
409
|
{{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "/" }}
|
399
|
410
|
</div>
|
400
|
411
|
</div>
|
401
|
|
-
|
|
412
|
+
|
402
|
413
|
</div>
|
403
|
414
|
|
404
|
415
|
<div class="row" style="padding: 2px 0; line-height: 23px; display: flex"
|
|
@@ -434,7 +445,7 @@
|
434
|
445
|
}}
|
435
|
446
|
</div>
|
436
|
447
|
</div>
|
437
|
|
- <div class="inline_block" style="flex:1;" v-if="prescription.mode_id ==2 || prescription.mode_id == 12">
|
|
448
|
+ <div class="inline_block" style="flex:1;">
|
438
|
449
|
实际置换量:
|
439
|
450
|
<div style="width: 50%;text-align: center;display: inline-block;border-bottom: 1px solid #999; ">
|
440
|
451
|
{{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "/" }}
|
|
@@ -493,13 +504,13 @@
|
493
|
504
|
</div>kg
|
494
|
505
|
</div>
|
495
|
506
|
<div class="inline_block" style="flex:1;">
|
496
|
|
- <!-- 透析中入量:
|
|
507
|
+ 透析中入量:
|
497
|
508
|
<div style="width: 50%;text-align: center;display: inline-block;border-bottom: 1px solid #999; ">
|
498
|
509
|
{{ afterdialysis.dialysis_intakes
|
499
|
510
|
? afterdialysis.dialysis_intakes
|
500
|
511
|
: "/"}}
|
501
|
512
|
</div>
|
502
|
|
- {{ getUnit(afterdialysis.dialysis_intakes_unit) }} -->
|
|
513
|
+ {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
|
503
|
514
|
</div>
|
504
|
515
|
</div>
|
505
|
516
|
</td>
|
|
@@ -539,11 +550,36 @@
|
539
|
550
|
<div class="under_line"
|
540
|
551
|
style="width: 80px; text-align: center; font-weight: 600;
|
541
|
552
|
"
|
542
|
|
- >
|
543
|
|
- {{ prescription.mode ? prescription.mode :'' }}
|
|
553
|
+ >
|
|
554
|
+ <span v-if="!prescription.mode_id">/</span>
|
|
555
|
+ <span v-if="prescription.mode_id == 1">HD</span>
|
|
556
|
+ <span v-if="prescription.mode_id == 2">HDF</span>
|
|
557
|
+ <span v-if="prescription.mode_id == 3">HD+HP</span>
|
|
558
|
+ <span v-if="prescription.mode_id == 4">HP</span>
|
|
559
|
+ <span v-if="prescription.mode_id == 5">HF</span>
|
|
560
|
+ <span v-if="prescription.mode_id == 6">SCUF</span>
|
|
561
|
+ <span v-if="prescription.mode_id == 7">IUF</span>
|
|
562
|
+ <span v-if="prescription.mode_id == 8">HFHD</span>
|
|
563
|
+ <span v-if="prescription.mode_id == 9">HFHD+HP</span>
|
|
564
|
+ <span v-if="prescription.mode_id == 10">PHF</span>
|
|
565
|
+ <span v-if="prescription.mode_id == 11">HFR</span>
|
|
566
|
+ <span v-if="prescription.mode_id == 12">HDF+HP</span>
|
|
567
|
+ <span v-if="prescription.mode_id == 13">CRRT</span>
|
|
568
|
+ <span v-if="prescription.mode_id == 14">腹水回输</span>
|
|
569
|
+ <span v-if="prescription.mode_id == 15">HD前置换</span>
|
|
570
|
+ <span v-if="prescription.mode_id == 16">HD后置换</span>
|
|
571
|
+ <span v-if="prescription.mode_id == 17">HDF前置换</span>
|
|
572
|
+ <span v-if="prescription.mode_id == 18">HDF后置换</span>
|
|
573
|
+ <span v-if="prescription.mode_id == 19">IUF+HD</span>
|
|
574
|
+ <span v-if="prescription.mode_id == 22">血浆胆红素吸附+HDF</span>
|
|
575
|
+ <span v-if="prescription.mode_id == 23">血浆胆红素吸附</span>
|
|
576
|
+ <span v-if="prescription.mode_id == 24">I-HDF</span>
|
|
577
|
+ <span v-if="prescription.mode_id == 25">HD高通</span>
|
|
578
|
+ <span v-if="prescription.mode_id == 29">PE</span>
|
|
579
|
+ <span v-if="prescription.mode_id == 30">血浆胆红素吸附+HP</span>
|
544
|
580
|
</div>
|
545
|
581
|
</div>
|
546
|
|
- <div class="inline_block" style="flex: 1" v-if="prescription.mode_id ==2 || prescription.mode_id == 12">
|
|
582
|
+ <div class="inline_block" style="flex: 1">
|
547
|
583
|
置换方式:
|
548
|
584
|
<div class="under_line" style="width: 80px; text-align: center">
|
549
|
585
|
{{
|
|
@@ -551,7 +587,7 @@
|
551
|
587
|
}}
|
552
|
588
|
</div>
|
553
|
589
|
</div>
|
554
|
|
- <div class="inline_block" style="flex: 1" v-if="prescription.mode_id ==2 || prescription.mode_id == 12">
|
|
590
|
+ <div class="inline_block" style="flex: 1">
|
555
|
591
|
置换总量:
|
556
|
592
|
<div class="under_line" style="width: 70px; text-align: center">
|
557
|
593
|
<span > {{
|
|
@@ -573,6 +609,16 @@
|
573
|
609
|
{{ predialysis.blood_access_part_opera_name }}
|
574
|
610
|
</div>
|
575
|
611
|
</div>
|
|
612
|
+ <div class="inline_block" style="flex: 1">
|
|
613
|
+ 血流量:
|
|
614
|
+ <div class="under_line" style="width: 50px; text-align: center">
|
|
615
|
+ {{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}
|
|
616
|
+ </div>ml/min
|
|
617
|
+ </div>
|
|
618
|
+
|
|
619
|
+ </div>
|
|
620
|
+
|
|
621
|
+ <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
|
576
|
622
|
<div class="inline_block" style="flex: 2">
|
577
|
623
|
人工肾装置:
|
578
|
624
|
<div class="under_line" style="width: 50%; text-align: center">
|
|
@@ -582,11 +628,23 @@
|
582
|
628
|
}}
|
583
|
629
|
</div>
|
584
|
630
|
</div>
|
585
|
|
- <div class="inline_block" style="flex: 1">
|
586
|
|
- 血流量:
|
|
631
|
+ <div class="inline_block" style="flex: 1">
|
|
632
|
+ 膜面积:
|
587
|
633
|
<div class="under_line" style="width: 50px; text-align: center">
|
588
|
|
- {{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}
|
589
|
|
- </div>ml/min
|
|
634
|
+
|
|
635
|
+ </div>㎡
|
|
636
|
+ </div>
|
|
637
|
+ <div class="inline_block" style="flex: 1">
|
|
638
|
+ 膜材质:
|
|
639
|
+ <div class="under_line" style="width: 80px; text-align: center">
|
|
640
|
+
|
|
641
|
+ </div>
|
|
642
|
+ </div>
|
|
643
|
+ <div class="inline_block" style="flex: 1">
|
|
644
|
+ 透析机型:
|
|
645
|
+ <div class="under_line" style="width: 80px; text-align: center">
|
|
646
|
+ {{ predialysis.machine_type ? predialysis.machine_type : '' }}
|
|
647
|
+ </div>
|
590
|
648
|
</div>
|
591
|
649
|
<div class="inline_block" style="flex: 1">
|
592
|
650
|
机号:
|
|
@@ -594,6 +652,7 @@
|
594
|
652
|
{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0
|
595
|
653
|
? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
|
596
|
654
|
</div>
|
|
655
|
+
|
597
|
656
|
</div>
|
598
|
657
|
</div>
|
599
|
658
|
|
|
@@ -610,14 +669,13 @@
|
610
|
669
|
: "/"
|
611
|
670
|
}}
|
612
|
671
|
</span>
|
613
|
|
-
|
|
672
|
+
|
614
|
673
|
</div>
|
615
|
674
|
</div>
|
616
|
675
|
<div
|
617
|
676
|
class="inline_block"
|
618
|
677
|
style="margin-left: 20px"
|
619
|
|
- v-if="prescription.anticoagulant != 5 &&
|
620
|
|
- prescription.anticoagulant !=1 && prescription.anticoagulant !=''"
|
|
678
|
+ v-if="prescription.anticoagulant != 5"
|
621
|
679
|
>
|
622
|
680
|
首剂:
|
623
|
681
|
<div
|
|
@@ -643,12 +701,12 @@
|
643
|
701
|
<span v-if="prescription.anticoagulant == 11">iu</span>
|
644
|
702
|
<span v-if="prescription.anticoagulant == 13">iu</span>
|
645
|
703
|
|
646
|
|
-
|
|
704
|
+
|
647
|
705
|
</div>
|
648
|
706
|
<div class="inline_block" style="margin-left: 20px">
|
649
|
707
|
维持:
|
650
|
708
|
<div
|
651
|
|
- v-if="prescription.anticoagulant != 1 && prescription.anticoagulant !=''"
|
|
709
|
+ v-if="prescription.anticoagulant == 1"
|
652
|
710
|
class="under_line"
|
653
|
711
|
style="width: 50px; text-align: center"
|
654
|
712
|
>
|
|
@@ -658,8 +716,8 @@
|
658
|
716
|
: "/"
|
659
|
717
|
}}
|
660
|
718
|
</div>
|
661
|
|
- <!-- <div
|
662
|
|
- v-if="prescription.anticoagulant != 1 && prescription.anticoagulant !=''"
|
|
719
|
+ <div
|
|
720
|
+ v-if="prescription.anticoagulant != 1"
|
663
|
721
|
class="under_line"
|
664
|
722
|
style="width: 50px; text-align: center"
|
665
|
723
|
>
|
|
@@ -668,7 +726,7 @@
|
668
|
726
|
? prescription.anticoagulant_weichi
|
669
|
727
|
: "0"
|
670
|
728
|
}}
|
671
|
|
- </div> -->
|
|
729
|
+ </div>
|
672
|
730
|
|
673
|
731
|
<span v-if="prescription.anticoagulant == 5">ml/h</span>
|
674
|
732
|
<span v-if="prescription.anticoagulant == 4">mg/h</span>
|
|
@@ -684,8 +742,10 @@
|
684
|
742
|
<span v-if="prescription.anticoagulant == 13">iu/h</span>
|
685
|
743
|
|
686
|
744
|
</div>
|
687
|
|
- <div class="inline_block" style="margin-left: 20px"
|
688
|
|
- v-if="prescription.anticoagulant == 5 "
|
|
745
|
+ <div
|
|
746
|
+ class="inline_block"
|
|
747
|
+ style="margin-left: 20px"
|
|
748
|
+ v-if="prescription.anticoagulant == 5"
|
689
|
749
|
>
|
690
|
750
|
钙名称:
|
691
|
751
|
<div
|
|
@@ -699,7 +759,9 @@
|
699
|
759
|
}}
|
700
|
760
|
</div>
|
701
|
761
|
</div>
|
702
|
|
- <div class="inline_block" style="margin-left: 20px"
|
|
762
|
+ <div
|
|
763
|
+ class="inline_block"
|
|
764
|
+ style="margin-left: 20px"
|
703
|
765
|
v-if="prescription.anticoagulant == 5"
|
704
|
766
|
>
|
705
|
767
|
钙剂量:
|
|
@@ -715,9 +777,10 @@
|
715
|
777
|
</div>
|
716
|
778
|
ml
|
717
|
779
|
</div>
|
718
|
|
- <div class="inline_block" style="margin-left: 20px"
|
719
|
|
- v-if="prescription.anticoagulant != 5 &&
|
720
|
|
- prescription.anticoagulant != 1 && prescription.anticoagulant !=''"
|
|
780
|
+ <div
|
|
781
|
+ class="inline_block"
|
|
782
|
+ style="margin-left: 20px"
|
|
783
|
+ v-if="prescription.anticoagulant != 5"
|
721
|
784
|
>
|
722
|
785
|
总量:
|
723
|
786
|
<div
|
|
@@ -742,14 +805,9 @@
|
742
|
805
|
<span v-if="prescription.anticoagulant == 10">iu</span>
|
743
|
806
|
<span v-if="prescription.anticoagulant == 11">iu</span>
|
744
|
807
|
<span v-if="prescription.anticoagulant == 13">iu</span>
|
745
|
|
-
|
746
|
|
- </div>
|
747
|
|
- <div class="inline_block" style="flex: 1">
|
748
|
|
- 透析机型:
|
749
|
|
- <div class="under_line" style="width: 80px; text-align: center">
|
750
|
|
- {{ predialysis.machine_type ? predialysis.machine_type : '' }}
|
751
|
|
- </div>
|
|
808
|
+
|
752
|
809
|
</div>
|
|
810
|
+
|
753
|
811
|
</div>
|
754
|
812
|
|
755
|
813
|
<div class="row" style="padding: 2px 0; line-height: 23px">
|
|
@@ -879,7 +937,7 @@
|
879
|
937
|
>({{ advice.remark }})</span
|
880
|
938
|
>
|
881
|
939
|
</td>
|
882
|
|
-
|
|
940
|
+
|
883
|
941
|
<td height="32px">
|
884
|
942
|
<span v-if="advice!=null && advice.advice_doctor>0">
|
885
|
943
|
<span
|
|
@@ -921,7 +979,7 @@
|
921
|
979
|
<img style="height:30px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
|
922
|
980
|
</td>
|
923
|
981
|
</tr>
|
924
|
|
-
|
|
982
|
+
|
925
|
983
|
</tbody>
|
926
|
984
|
</table>
|
927
|
985
|
</td>
|
|
@@ -988,12 +1046,12 @@
|
988
|
1046
|
{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0' }}
|
989
|
1047
|
</td>
|
990
|
1048
|
<td>
|
991
|
|
- {{ monitor.replacement_rate ? monitor.replacement_rate : '0' }} /
|
|
1049
|
+ {{ monitor.replacement_rate ? monitor.replacement_rate : '0' }} /
|
992
|
1050
|
{{ monitor.displacement_quantity ? monitor.displacement_quantity : '0' }}
|
993
|
1051
|
</td>
|
994
|
1052
|
<!-- 钠浓度(mmol/L)/温度°C -->
|
995
|
1053
|
<td>
|
996
|
|
- {{ monitor.sodium_concentration ? monitor.sodium_concentration : "0" }} /
|
|
1054
|
+ {{ monitor.sodium_concentration ? monitor.sodium_concentration : "0" }} /
|
997
|
1055
|
{{ monitor.temperature ? monitor.temperature : '0' }}
|
998
|
1056
|
</td>
|
999
|
1057
|
|
|
@@ -1018,7 +1076,7 @@
|
1018
|
1076
|
"
|
1019
|
1077
|
>【开始透析】引血{{ dialysisOrder.blood_drawing }} ml/min
|
1020
|
1078
|
</template>
|
1021
|
|
-
|
|
1079
|
+
|
1022
|
1080
|
{{ monitor.dispose }} {{ monitor.end }}
|
1023
|
1081
|
|
1024
|
1082
|
</span>
|
|
@@ -1244,9 +1302,9 @@
|
1244
|
1302
|
|
1245
|
1303
|
<div class="inline_block" style="flex: 2">
|
1246
|
1304
|
透后宣教:
|
1247
|
|
- <div class="under_line" style="width: 80%; text-align: center;white-space: normal;">
|
|
1305
|
+ <div class="under_line" style="width: 70%; text-align: center">
|
1248
|
1306
|
{{ summary.mission ? summary.mission : '/' }}
|
1249
|
|
- </div>
|
|
1307
|
+ </div>
|
1250
|
1308
|
</div>
|
1251
|
1309
|
</div>
|
1252
|
1310
|
|
|
@@ -1576,7 +1634,7 @@
|
1576
|
1634
|
</div>
|
1577
|
1635
|
</div>
|
1578
|
1636
|
</div>
|
1579
|
|
-
|
|
1637
|
+
|
1580
|
1638
|
</div>
|
1581
|
1639
|
</template>
|
1582
|
1640
|
|
|
@@ -1728,11 +1786,61 @@ export default {
|
1728
|
1786
|
},
|
1729
|
1787
|
org_id: 0,
|
1730
|
1788
|
projectsOne: [],
|
1731
|
|
- checkDate:[{value:'this.predialysis.temperature',label:'透前体温未填'},
|
1732
|
|
- {value:'this.predialysis.pulse_frequency',label:'透前脉搏未填'}],
|
1733
|
1789
|
};
|
1734
|
1790
|
},
|
1735
|
1791
|
methods: {
|
|
1792
|
+ toUpload() {
|
|
1793
|
+
|
|
1794
|
+ let dom = document.getElementById("dialysis-print-box-1")
|
|
1795
|
+ //调用方法下载
|
|
1796
|
+ html2canvas(dom, {
|
|
1797
|
+ useCORS: true, //允许跨域
|
|
1798
|
+ allowTaint: false,
|
|
1799
|
+ logging: false,
|
|
1800
|
+ letterRendering: true,
|
|
1801
|
+ ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
|
|
1802
|
+ scale: 4, //按比例增加分辨率
|
|
1803
|
+ background: '#fff',//pdf背景色为白色,默认是黑色的
|
|
1804
|
+ }).then((canvas) => {
|
|
1805
|
+ //返回图片dataURL,参数:图片格式和清晰度(0-1)
|
|
1806
|
+ var pageData = canvas.toDataURL('image/jpeg', 1.0);
|
|
1807
|
+
|
|
1808
|
+ //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
|
|
1809
|
+ var pdf = new jsPDF('', 'pt', 'a4');
|
|
1810
|
+
|
|
1811
|
+ //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
|
|
1812
|
+ // pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
|
|
1813
|
+ pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
|
|
1814
|
+
|
|
1815
|
+ console.log("pdf222222222222222222",pdf)
|
|
1816
|
+
|
|
1817
|
+ var newBase64Data = pdf.output("dataurlstring").split("base64,")[1]
|
|
1818
|
+ // console.log("base63",newBase64Data)
|
|
1819
|
+ const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
|
|
1820
|
+ console.log("blobwoowowowwo",blob)
|
|
1821
|
+ this.openPdf(blob);
|
|
1822
|
+
|
|
1823
|
+ // var data = {
|
|
1824
|
+ // name:newBase64Data,
|
|
1825
|
+ // }
|
|
1826
|
+ // UploadPrintOrder(data).then(response=>{
|
|
1827
|
+ // if(response.data.state == 1){
|
|
1828
|
+ // var sign = response.data.data.sign
|
|
1829
|
+ // console.log("SIGNWWOOWWO")
|
|
1830
|
+ // var pdfBase64 = response.data.data.pdfBase64
|
|
1831
|
+ // console.log("pdfBase64",pdfBase64)
|
|
1832
|
+ // this.$message.success("保存成功!")
|
|
1833
|
+ // const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
|
|
1834
|
+ // this.openPdf(blob);
|
|
1835
|
+ // }
|
|
1836
|
+ // })
|
|
1837
|
+
|
|
1838
|
+ // this.viewPdf(newBase64Data)
|
|
1839
|
+ //保存到pdf,名字是stone
|
|
1840
|
+ // pdf.save('stone.pdf');
|
|
1841
|
+
|
|
1842
|
+ });
|
|
1843
|
+ },
|
1736
|
1844
|
|
1737
|
1845
|
viewPdf(content) {
|
1738
|
1846
|
console.log("content",content);
|
|
@@ -1819,279 +1927,219 @@ export default {
|
1819
|
1927
|
},
|
1820
|
1928
|
|
1821
|
1929
|
checkData() {
|
1822
|
|
- var checkDate =[]
|
1823
|
1930
|
if (this.predialysis.temperature == '') {
|
1824
|
|
- const obj = "透前体温"
|
1825
|
|
- checkDate.push(obj)
|
1826
|
|
- } if (this.predialysis.pulse_frequency == "") {
|
1827
|
|
- const obj1 = "透前脉搏"
|
1828
|
|
- checkDate.push(obj1)
|
1829
|
|
- } if (this.predialysis.breathing_rate == "") {
|
1830
|
|
- const obj2 = "透前呼吸频率"
|
1831
|
|
- checkDate.push(obj2)
|
1832
|
|
- } if (
|
|
1931
|
+ this.$message.error("透前体温未填");
|
|
1932
|
+ } else if (this.predialysis.pulse_frequency == "") {
|
|
1933
|
+ this.$message.error("透前脉搏未填");
|
|
1934
|
+ } else if (this.predialysis.breathing_rate == "") {
|
|
1935
|
+ this.$message.error("透前呼吸频率未填");
|
|
1936
|
+ } else if (
|
1833
|
1937
|
this.predialysis.systolic_blood_pressure == 0 ||
|
1834
|
1938
|
this.predialysis.diastolic_blood_pressure == 0
|
1835
|
1939
|
) {
|
1836
|
|
- const obj3 = "透前血压"
|
1837
|
|
- checkDate.push(obj3)
|
1838
|
|
- } if (this.predialysis.symptom_before_dialysis == "") {
|
1839
|
|
- const obj5 = "透前症状"
|
1840
|
|
- checkDate.push(obj5)
|
1841
|
|
- } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
|
1842
|
|
- const obj6 = "透前内瘘,导管"
|
1843
|
|
- checkDate.push(obj6)
|
1844
|
|
- } if (this.predialysis.complication == "" ) {
|
1845
|
|
- const obj7 = "合并症"
|
1846
|
|
- checkDate.push(obj7)
|
1847
|
|
- } if (this.predialysis.dry_weight == '' ) {
|
1848
|
|
- const obj8 = "干体重"
|
1849
|
|
- checkDate.push(obj8)
|
1850
|
|
- } if ( this. predialysis.weight_before == '') {
|
1851
|
|
- const obj9 = "透前体重"
|
1852
|
|
- checkDate.push(obj9)
|
1853
|
|
- } if (this.afterdialysis.temperature == '') {
|
1854
|
|
- const obj10 = "透后体温"
|
1855
|
|
- checkDate.push(obj10)
|
1856
|
|
- } if (this.afterdialysis.pulse_frequency == "") {
|
1857
|
|
- const obj11 = "透后脉搏"
|
1858
|
|
- checkDate.push(obj11)
|
1859
|
|
- } if (this.afterdialysis.breathing_rate == "") {
|
1860
|
|
- const obj12 = "透后呼吸频率"
|
1861
|
|
- checkDate.push(obj12)
|
1862
|
|
- } if (
|
|
1940
|
+ this.$message.error("透前血压未填完整");
|
|
1941
|
+ }
|
|
1942
|
+ // else if (this.predialysis.dialysis_interphase == "") {
|
|
1943
|
+ // this.$message.error("透析期间未填");
|
|
1944
|
+ // }
|
|
1945
|
+ else if (this.predialysis.symptom_before_dialysis == "") {
|
|
1946
|
+ this.$message.error("透前症状未填");
|
|
1947
|
+ } else if (this.predialysis.internal_fistula == "") {
|
|
1948
|
+ this.$message.error("透前内瘘未填");
|
|
1949
|
+ } else if (this.predialysis.catheter == "") {
|
|
1950
|
+ this.$message.error("透前导管未填");
|
|
1951
|
+ } else if (this.predialysis.complication == "" ) {
|
|
1952
|
+ this.$message.error("合并症未填");
|
|
1953
|
+ } else if (this.receiverTreatmentAccess.score == "") {
|
|
1954
|
+ this.$message.error("跌倒评估未填");
|
|
1955
|
+ } else if (this.predialysis.dry_weight == '' ) {
|
|
1956
|
+ this.$message.error("干体重未填");
|
|
1957
|
+ } else if ( this. predialysis.weight_before == '') {
|
|
1958
|
+ this.$message.error("透前体重未填");
|
|
1959
|
+ } else if (this.predialysis.dehydration == '') {
|
|
1960
|
+ this.$message.error("预增脱水量未填");
|
|
1961
|
+ } else if (this.afterdialysis.temperature == '') {
|
|
1962
|
+ this.$message.error("透后体温未填");
|
|
1963
|
+ } else if (this.afterdialysis.pulse_frequency == "") {
|
|
1964
|
+ this.$message.error("透后脉搏未填");
|
|
1965
|
+ } else if (this.afterdialysis.breathing_rate == "") {
|
|
1966
|
+ this.$message.error("透后呼吸频率未填");
|
|
1967
|
+ } else if (
|
1863
|
1968
|
this.afterdialysis.systolic_blood_pressure == 0 ||
|
1864
|
1969
|
this.afterdialysis.diastolic_blood_pressure == 0
|
1865
|
1970
|
) {
|
1866
|
|
- const obj13 = "透后血压"
|
1867
|
|
- checkDate.push(obj13)
|
1868
|
|
- } if (this.afterdialysis.cruor == "") {
|
1869
|
|
- const obj14 = "凝血"
|
1870
|
|
- checkDate.push(obj14)
|
1871
|
|
- } if (this.afterdialysis.symptom_after_dialysis == "") {
|
1872
|
|
- const obj15 = "透后症状"
|
1873
|
|
- checkDate.push(obj15)
|
1874
|
|
- } if (this.afterdialysis.internal_fistula == "" || this.afterdialysis.catheter == "") {
|
1875
|
|
- const obj16 = "透后内瘘,导管"
|
1876
|
|
- checkDate.push(obj16)
|
1877
|
|
- } if (this.afterdialysis.complication == 0) {
|
1878
|
|
- const obj17 = "并发症"
|
1879
|
|
- checkDate.push(obj17)
|
1880
|
|
- } if (this.afterdialysis.actual_displacement == 0 &&
|
1881
|
|
- (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)) {
|
1882
|
|
- const obj18 = "实际置换量"
|
1883
|
|
- checkDate.push(obj18)
|
1884
|
|
- } if (this.afterdialysis.actual_ultrafiltration == 0) {
|
1885
|
|
- const obj19 = "实际超滤量"
|
1886
|
|
- checkDate.push(obj19)
|
1887
|
|
- } if (this.afterdialysis.weight_after == 0) {
|
1888
|
|
- const obj20 = "透后体重"
|
1889
|
|
- checkDate.push(obj20)
|
1890
|
|
- } if (this.afterdialysis.weight_loss == 0) {
|
1891
|
|
- const obj21 = "体重减少"
|
1892
|
|
- checkDate.push(obj21)
|
1893
|
|
- } if (this.prescription.target_ultrafiltration == 0) {
|
1894
|
|
- const obj22 = "处方脱水量"
|
1895
|
|
- checkDate.push(obj22)
|
1896
|
|
- } if (this.afterdialysis.actual_ultrafiltration == 0) {
|
1897
|
|
- const obj23 = "超滤总量"
|
1898
|
|
- checkDate.push(obj23)
|
1899
|
|
- } if (this.prescription.dialysis_duration_hour == 0) {
|
1900
|
|
- const obj24 = "透析时长"
|
1901
|
|
- checkDate.push(obj24)
|
1902
|
|
- } if (this.prescription.mode == '') {
|
1903
|
|
- const obj25 = "透析方式"
|
1904
|
|
- checkDate.push(obj25)
|
1905
|
|
- } if (this.prescription.displace_liqui_part == '' &&
|
1906
|
|
- (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
|
1907
|
|
- const obj26 = "置换方式"
|
1908
|
|
- checkDate.push(obj26)
|
1909
|
|
- } if (this.prescription.displace_liqui_value == 0 &&
|
1910
|
|
- (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
|
1911
|
|
- const obj27 = "置换总量"
|
1912
|
|
- checkDate.push(obj27)
|
1913
|
|
- } if (this.predialysis.blood_access_part_opera_name == ''){
|
1914
|
|
- const obj28 = "血管通路"
|
1915
|
|
- checkDate.push(obj28)
|
1916
|
|
- } if (this.prescription.blood_flow_volume == 0) {
|
1917
|
|
- const obj29 = "血流量"
|
1918
|
|
- checkDate.push(obj29)
|
1919
|
|
- } if (
|
|
1971
|
+ this.$message.error("透后血压未填完整");
|
|
1972
|
+ } else if (this.afterdialysis.cruor == "") {
|
|
1973
|
+ this.$message.error("凝血未填");
|
|
1974
|
+ } else if (this.afterdialysis.symptom_after_dialysis == "") {
|
|
1975
|
+ this.$message.error("透后症状未填");
|
|
1976
|
+ } else if (this.afterdialysis.internal_fistula == "") {
|
|
1977
|
+ this.$message.error("透后内瘘未填");
|
|
1978
|
+ } else if (this.afterdialysis.catheter == "") {
|
|
1979
|
+ this.$message.error("透后导管未填");
|
|
1980
|
+ } else if (this.afterdialysis.complication == 0) {
|
|
1981
|
+ this.$message.error("并发症未填");
|
|
1982
|
+ } else if (this.afterdialysis.actual_displacement == 0) {
|
|
1983
|
+ this.$message.error("实际置换量未填");
|
|
1984
|
+ } else if (this.afterdialysis.actual_ultrafiltration == 0) {
|
|
1985
|
+ this.$message.error("实际超滤量未填");
|
|
1986
|
+ } else if (this.afterdialysis.weight_after == 0) {
|
|
1987
|
+ this.$message.error("透后体重未填");
|
|
1988
|
+ } else if (this.afterdialysis.weight_loss == 0) {
|
|
1989
|
+ this.$message.error("体重减少未填");
|
|
1990
|
+ } else if (this.afterdialysis.dialysis_intakes == 0) {
|
|
1991
|
+ this.$message.error("透析中入量未填");
|
|
1992
|
+ } else if (this.prescription.target_ultrafiltration == 0) {
|
|
1993
|
+ this.$message.error("处方脱水量未填");
|
|
1994
|
+ } else if (this.afterdialysis.actual_ultrafiltration == 0) {
|
|
1995
|
+ this.$message.error("超滤总量未填");
|
|
1996
|
+ } else if (this.prescription.dialysis_duration_hour == 0) {
|
|
1997
|
+ this.$message.error("透析时长未填");
|
|
1998
|
+ } else if (this.prescription.mode_id == 0) {
|
|
1999
|
+ this.$message.error("透析方式未填");
|
|
2000
|
+ } else if (this.prescription.displace_liqui_part == '') {
|
|
2001
|
+ this.$message.error("置换方式未填");
|
|
2002
|
+ } else if (this.prescription.displace_liqui_value == 0) {
|
|
2003
|
+ this.$message.error("置换总量未填");
|
|
2004
|
+ } else if (this.predialysis.blood_access_part_opera_name == ''){
|
|
2005
|
+ this.$message.error('血管通路未填');
|
|
2006
|
+ } else if (this.prescription.blood_flow_volume == 0) {
|
|
2007
|
+ this.$message.error("血流量未填");
|
|
2008
|
+ } else if (
|
1920
|
2009
|
this.prescription.dialysis_irrigation == '' &&
|
1921
|
2010
|
this.prescription.dialysis_dialyszers == ''
|
1922
|
2011
|
){
|
1923
|
|
- const obj30 = "人工肾装置"
|
1924
|
|
- checkDate.push(obj30)
|
1925
|
|
- } if (this.predialysis.machine_type == 0) {
|
1926
|
|
- const obj31 = "透析机型"
|
1927
|
|
- checkDate.push(obj31)
|
1928
|
|
- } if (this.dialysisOrder.DeviceNumber.number == 0) {
|
1929
|
|
- const obj32 = "机号"
|
1930
|
|
- checkDate.push(obj32)
|
1931
|
|
- } if (this.prescription.anticoagulant_name == 0) {
|
1932
|
|
- const obj33 = "抗凝剂"
|
1933
|
|
- checkDate.push(obj33)
|
1934
|
|
- } if (this.prescription.anticoagulant_shouji == 0 &&
|
1935
|
|
- this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
|
1936
|
|
- ) {
|
1937
|
|
- const obj34 = "首剂"
|
1938
|
|
- checkDate.push(obj34)
|
1939
|
|
- } if (this.prescription.anticoagulant_weichi == 0 &&
|
1940
|
|
- this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
|
1941
|
|
- ) {
|
1942
|
|
- const obj35 = "维持"
|
1943
|
|
- checkDate.push(obj35)
|
1944
|
|
- } if (this.prescription.anticoagulant_zongliang == 0 &&
|
1945
|
|
- this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
|
1946
|
|
- ) {
|
1947
|
|
- const obj36 = "总量"
|
1948
|
|
- checkDate.push(obj36)
|
1949
|
|
- } if (this.prescription.calcium == 0) {
|
1950
|
|
- const obj37 = "钙"
|
1951
|
|
- checkDate.push(obj37)
|
1952
|
|
- } if (this.prescription.sodium == 0) {
|
1953
|
|
- const obj38 = "钠"
|
1954
|
|
- checkDate.push(obj38)
|
1955
|
|
- } if (this.prescription.kalium == 0) {
|
1956
|
|
- const obj39 = "钾"
|
1957
|
|
- checkDate.push(obj39)
|
1958
|
|
- } if (this.prescription.bicarbonate == 0) {
|
1959
|
|
- const obj40 = "碳酸氢根"
|
1960
|
|
- checkDate.push(obj40)
|
1961
|
|
- } if (this.prescription.dialysate_flow == 0) {
|
1962
|
|
- const obj41 = "透析液流量"
|
1963
|
|
- checkDate.push(obj41)
|
1964
|
|
- } if (
|
|
2012
|
+ this.$message.error('人工肾装置未填');
|
|
2013
|
+ } else if (this.predialysis.machine_type == 0) {
|
|
2014
|
+ this.$message.error("透析机型未填");
|
|
2015
|
+ } else if (this.dialysisOrder.DeviceNumber.number == 0) {
|
|
2016
|
+ this.$message.error("机号未填");
|
|
2017
|
+ } else if (this.prescription.anticoagulant_name == 0) {
|
|
2018
|
+ this.$message.error("抗凝剂未填");
|
|
2019
|
+ } else if (this.prescription.anticoagulant_shouji == 0) {
|
|
2020
|
+ this.$message.error("首剂未填");
|
|
2021
|
+ } else if (this.prescription.anticoagulant_weichi == 0) {
|
|
2022
|
+ this.$message.error("维持未填");
|
|
2023
|
+ } else if (this.prescription.anticoagulant_zongliang == 0) {
|
|
2024
|
+ this.$message.error("总量未填");
|
|
2025
|
+ } else if (this.prescription.calcium == 0) {
|
|
2026
|
+ this.$message.error("钙未填");
|
|
2027
|
+ } else if (this.prescription.sodium == 0) {
|
|
2028
|
+ this.$message.error("钠未填");
|
|
2029
|
+ } else if (this.prescription.kalium == 0) {
|
|
2030
|
+ this.$message.error("钾未填");
|
|
2031
|
+ } else if (this.prescription.bicarbonate == 0) {
|
|
2032
|
+ this.$message.error("碳酸氢根未填");
|
|
2033
|
+ } else if (this.prescription.dialysate_flow == 0) {
|
|
2034
|
+ this.$message.error("透析液流量未填");
|
|
2035
|
+ } else if (
|
1965
|
2036
|
this.prescription.anticoagulant_gaimingcheng == "" &&
|
1966
|
2037
|
this.prescription.anticoagulant == 5
|
1967
|
2038
|
) {
|
1968
|
|
- const obj42 = "钙名称"
|
1969
|
|
- checkDate.push(obj42)
|
1970
|
|
- } if (
|
|
2039
|
+ this.$message.error("钙名称未填");
|
|
2040
|
+ } else if (
|
1971
|
2041
|
this.prescription.anticoagulant_gaijiliang == "" &&
|
1972
|
2042
|
this.prescription.anticoagulant == 5
|
1973
|
2043
|
) {
|
1974
|
|
- const obj43 = "钙剂量"
|
1975
|
|
- checkDate.push(obj43)
|
1976
|
|
- } if (
|
|
2044
|
+ this.$message.error("钙剂量未填");
|
|
2045
|
+ } else if (
|
1977
|
2046
|
this.afterdialysis.actual_treatment_hour == 0 &&
|
1978
|
2047
|
this.afterdialysis.actual_treatment_minute == 0
|
1979
|
2048
|
) {
|
1980
|
|
- const obj44 = "实际治疗时间"
|
1981
|
|
- checkDate.push(obj44)
|
1982
|
|
- } if (this.summary.mission == 0) {
|
1983
|
|
- const obj45 = "透后宣教"
|
1984
|
|
- checkDate.push(obj45)
|
1985
|
|
- } if (this.summary.dialysis_summary == "") {
|
1986
|
|
- const obj46 = "透析小结"
|
1987
|
|
- checkDate.push(obj46)
|
1988
|
|
- } if (
|
|
2049
|
+ this.$message.error("实际治疗时间未填");
|
|
2050
|
+ } else if (this.summary.mission == 0) {
|
|
2051
|
+ this.$message.error("透后宣教未填");
|
|
2052
|
+ } else if (this.summary.dialysis_summary == "") {
|
|
2053
|
+ this.$message.error("透析小结未填");
|
|
2054
|
+ } else if (
|
1989
|
2055
|
this.dialysisOrder == null ||
|
1990
|
2056
|
this.dialysisOrder.puncture_nurse == 0
|
1991
|
2057
|
) {
|
1992
|
|
- const obj47 = "穿刺护士"
|
1993
|
|
- checkDate.push(obj47)
|
1994
|
|
- } if (
|
|
2058
|
+ this.$message.error("穿刺护士未填");
|
|
2059
|
+ } else if (
|
1995
|
2060
|
this.dialysisOrder == null ||
|
1996
|
2061
|
this.dialysisOrder.start_nurse == 0
|
1997
|
2062
|
) {
|
1998
|
|
- const obj48 = "治疗护士"
|
1999
|
|
- checkDate.push(obj48)
|
2000
|
|
- } if (this.dialysisOrder == null && this.check.creater == 0) {
|
2001
|
|
- const obj49 = "核对人员"
|
2002
|
|
- checkDate.push(obj49)
|
|
2063
|
+ this.$message.error("治疗护士未填");
|
|
2064
|
+ } else if (this.dialysisOrder == null && this.check.creater == 0) {
|
|
2065
|
+ this.$message.error("核对人员未填");
|
2003
|
2066
|
} else if (
|
2004
|
2067
|
this.dialysisOrder != null &&
|
2005
|
2068
|
this.dialysisOrder.start_nurse == this.check.modifier &&
|
2006
|
2069
|
this.check.creater == 0
|
2007
|
2070
|
) {
|
2008
|
|
- const obj49 = "核对人员"
|
2009
|
|
- checkDate.push(obj49)
|
|
2071
|
+ this.$message.error("核对人员未填");
|
2010
|
2072
|
} else if (
|
2011
|
2073
|
this.dialysisOrder != null &&
|
2012
|
2074
|
this.dialysisOrder.start_nurse == this.check.creater &&
|
2013
|
2075
|
this.check.modifier == 0
|
2014
|
2076
|
) {
|
2015
|
|
- const obj49 = "核对人员"
|
2016
|
|
- checkDate.push(obj49)
|
|
2077
|
+ this.$message.error("核对人员未填");
|
2017
|
2078
|
} else if (
|
2018
|
2079
|
this.dialysisOrder != null &&
|
2019
|
2080
|
this.dialysisOrder.start_nurse != this.check.creater &&
|
2020
|
2081
|
this.dialysisOrder.start_nurse != this.check.modifier &&
|
2021
|
2082
|
this.check.creater == 0
|
2022
|
2083
|
) {
|
2023
|
|
- const obj49 = "核对人员"
|
2024
|
|
- checkDate.push(obj49)
|
2025
|
|
- } if (
|
|
2084
|
+ this.$message.error("核对人员未填");
|
|
2085
|
+ } else if (
|
2026
|
2086
|
this.dialysisOrder == null ||
|
2027
|
2087
|
this.dialysisOrder.finish_nurse == 0
|
2028
|
2088
|
) {
|
2029
|
|
- const obj50 = "下机护士"
|
2030
|
|
- checkDate.push(obj50)
|
2031
|
|
- } if (this.prescription.creater == 0) {
|
2032
|
|
- const obj51 = "治疗医生"
|
2033
|
|
- checkDate.push(obj51)
|
2034
|
|
- }
|
2035
|
|
- if(this.tableAdvice.length > 0){
|
2036
|
|
- this.tableAdvice.map((item) =>{
|
2037
|
|
- if(item.id > 0 && (item.created_time || item.start_time)){
|
2038
|
|
- if(item.execution_staff ==0 || item.checker ==0){
|
2039
|
|
- const obj52 = '执行人员,核对人员'
|
2040
|
|
- checkDate.push(obj52)
|
2041
|
|
- }
|
|
2089
|
+ this.$message.error("下机护士未填");
|
|
2090
|
+ } else if (this.prescription.creater == 0) {
|
|
2091
|
+ this.$message.error("治疗医生未填");
|
|
2092
|
+ } else if (this.tableAdvice.length > 0) {
|
|
2093
|
+ let num = 0;
|
|
2094
|
+ this.tableAdvice.map((item) => {
|
|
2095
|
+ if (item.id > 0 && (item.created_time || item.start_time)) {
|
|
2096
|
+ this.users.map((it) => {
|
|
2097
|
+ if (it.id == item.advice_doctor) {
|
|
2098
|
+ if (it.user_type == 3) {
|
|
2099
|
+ num++;
|
|
2100
|
+ this.$message.closeAll();
|
|
2101
|
+ this.$message.error("存在不是医生保存的医嘱");
|
|
2102
|
+ } else if (
|
|
2103
|
+ it.id == item.execution_staff &&
|
|
2104
|
+ item.execution_staff > 0
|
|
2105
|
+ ) {
|
|
2106
|
+ if (it.user_type == 2) {
|
|
2107
|
+ num++;
|
|
2108
|
+ this.$message.closeAll();
|
|
2109
|
+ this.$message.error("存在不是护士执行的医嘱");
|
|
2110
|
+ }
|
|
2111
|
+ } else if (it.id == item.checker && item.checker > 0) {
|
|
2112
|
+ if (it.user_type == 2) {
|
|
2113
|
+ num++;
|
|
2114
|
+ this.$message.closeAll();
|
|
2115
|
+ this.$message.error("存在不是护士核对的医嘱");
|
|
2116
|
+ }
|
|
2117
|
+ }
|
|
2118
|
+ } else if (
|
|
2119
|
+ it.id == item.execution_staff &&
|
|
2120
|
+ item.execution_staff > 0
|
|
2121
|
+ ) {
|
|
2122
|
+ if (it.user_type == 2) {
|
|
2123
|
+ num++;
|
|
2124
|
+ this.$message.closeAll();
|
|
2125
|
+ this.$message.error("存在不是护士执行的医嘱");
|
|
2126
|
+ }
|
|
2127
|
+ } else if (it.id == item.checker && item.checker > 0) {
|
|
2128
|
+ if (it.user_type == 2) {
|
|
2129
|
+ num++;
|
|
2130
|
+ this.$message.closeAll();
|
|
2131
|
+ this.$message.error("存在不是护士核对的医嘱");
|
|
2132
|
+ }
|
|
2133
|
+ }
|
|
2134
|
+ });
|
2042
|
2135
|
}
|
2043
|
|
- })
|
|
2136
|
+ });
|
|
2137
|
+ if (num == 0) {
|
|
2138
|
+ this.$message.success("核对完成");
|
|
2139
|
+ }
|
|
2140
|
+ } else {
|
|
2141
|
+ this.$message.success("核对完成");
|
2044
|
2142
|
}
|
2045
|
|
- // if (this.tableAdvice.length > 0) {
|
2046
|
|
- // let num = 0;
|
2047
|
|
- // this.tableAdvice.map((item) => {
|
2048
|
|
- // if (item.id > 0 && (item.created_time || item.start_time)) {
|
2049
|
|
- // this.users.map((it) => {
|
2050
|
|
- // if (it.id == item.advice_doctor) {
|
2051
|
|
- // if (it.user_type == 3) {
|
2052
|
|
- // num++;
|
2053
|
|
- // this.$message.closeAll();
|
2054
|
|
- // this.$message.error("存在不是医生保存的医嘱");
|
2055
|
|
- // } else if (
|
2056
|
|
- // it.id == item.execution_staff &&
|
2057
|
|
- // item.execution_staff > 0
|
2058
|
|
- // ) {
|
2059
|
|
- // if (it.user_type == 2) {
|
2060
|
|
- // num++;
|
2061
|
|
- // this.$message.closeAll();
|
2062
|
|
- // this.$message.error("存在不是护士执行的医嘱");
|
2063
|
|
- // }
|
2064
|
|
- // } else if (it.id == item.checker && item.checker > 0) {
|
2065
|
|
- // if (it.user_type == 2) {
|
2066
|
|
- // num++;
|
2067
|
|
- // this.$message.closeAll();
|
2068
|
|
- // this.$message.error("存在不是护士核对的医嘱");
|
2069
|
|
- // }
|
2070
|
|
- // }
|
2071
|
|
- // } else if (
|
2072
|
|
- // it.id == item.execution_staff &&
|
2073
|
|
- // item.execution_staff > 0
|
2074
|
|
- // ) {
|
2075
|
|
- // if (it.user_type == 2) {
|
2076
|
|
- // num++;
|
2077
|
|
- // this.$message.closeAll();
|
2078
|
|
- // this.$message.error("存在不是护士执行的医嘱");
|
2079
|
|
- // }
|
2080
|
|
- // } else if (it.id == item.checker && item.checker > 0) {
|
2081
|
|
- // if (it.user_type == 2) {
|
2082
|
|
- // num++;
|
2083
|
|
- // this.$message.closeAll();
|
2084
|
|
- // this.$message.error("存在不是护士核对的医嘱");
|
2085
|
|
- // }
|
2086
|
|
- // }
|
2087
|
|
- // });
|
2088
|
|
- // }
|
2089
|
|
- // });
|
2090
|
|
- // if (num == 0) {
|
2091
|
|
- // this.$message.success("核对完成");
|
2092
|
|
- // }
|
2093
|
|
- // }
|
2094
|
|
- this.getcheckData(checkDate)
|
2095
|
2143
|
},
|
2096
|
2144
|
getDisplaceLiquiPart: function (val) {
|
2097
|
2145
|
let displace_liqui_part_name = "/";
|
|
@@ -2337,7 +2385,7 @@ export default {
|
2337
|
2385
|
this.afterdialysis.complications_other.join(",");
|
2338
|
2386
|
|
2339
|
2387
|
this.prescription = response.data.data.dialysisPrescription;
|
2340
|
|
- console.log("透析处方", this.prescription);
|
|
2388
|
+ // console.log("透析处方", this.prescription);
|
2341
|
2389
|
this.receiverTreatmentAccess =
|
2342
|
2390
|
response.data.data.receiverTreatmentAccess;
|
2343
|
2391
|
this.prescription.mode = this.modeName(this.prescription.mode_id);
|
|
@@ -2805,14 +2853,7 @@ export default {
|
2805
|
2853
|
return "0.0";
|
2806
|
2854
|
}
|
2807
|
2855
|
},
|
2808
|
|
- getcheckData(val){
|
2809
|
|
- if(val.length >0){
|
2810
|
|
- const a = val.join(',')
|
2811
|
|
- console.log('a',a);
|
2812
|
|
- this.$message.error(a +" 未填");
|
2813
|
|
- return a
|
2814
|
|
- }
|
2815
|
|
- }
|
|
2856
|
+
|
2816
|
2857
|
},
|
2817
|
2858
|
watch: {
|
2818
|
2859
|
"patientInfo.gender": function () {
|
|
@@ -2839,6 +2880,10 @@ export default {
|
2839
|
2880
|
this.patientInfo_source_1 = false;
|
2840
|
2881
|
}
|
2841
|
2882
|
},
|
|
2883
|
+ // "props.childResponse": function () {
|
|
2884
|
+ // console.log('sdfasdfada',this.props.childResponse);
|
|
2885
|
+ // }
|
|
2886
|
+
|
2842
|
2887
|
},
|
2843
|
2888
|
created() {
|
2844
|
2889
|
console.log('dddddd',this.$parent.childResponse);
|