|
@@ -1,4 +1,6 @@
|
1
|
1
|
<template>
|
|
2
|
+ <div>
|
|
3
|
+ <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
|
2
|
4
|
<div id="dialysis-print-box">
|
3
|
5
|
<div class="dialysis-print-order">
|
4
|
6
|
<div class="order-yy-name">{{ orgname }}</div>
|
|
@@ -404,6 +406,7 @@
|
404
|
406
|
</div>
|
405
|
407
|
</div>
|
406
|
408
|
</div>
|
|
409
|
+ </div>
|
407
|
410
|
</template>
|
408
|
411
|
|
409
|
412
|
<script>
|
|
@@ -552,6 +555,91 @@ export default {
|
552
|
555
|
};
|
553
|
556
|
},
|
554
|
557
|
methods: {
|
|
558
|
+ checkData(){
|
|
559
|
+ if(this.predialysis.weight_before == 0){
|
|
560
|
+ this.$message.error('透前体重未填')
|
|
561
|
+ }else if(this.predialysis.dry_weight == 0){
|
|
562
|
+ this.$message.error('干体重未填')
|
|
563
|
+ }else if(this.predialysis.temperature == ""){
|
|
564
|
+ this.$message.error('透前体温未填')
|
|
565
|
+ }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
|
|
566
|
+ this.$message.error('透前血压未填完整')
|
|
567
|
+ }else if(this.predialysis.pulse_frequency == ""){
|
|
568
|
+ this.$message.error('心率未填')
|
|
569
|
+ }else if(this.prescription.mode_id == ""){
|
|
570
|
+ this.$message.error('治疗方式未填')
|
|
571
|
+ }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
|
|
572
|
+ this.$message.error('净化时间未填')
|
|
573
|
+ }else if(this.predialysis.single_time == ""){
|
|
574
|
+ this.$message.error('单超时长未填')
|
|
575
|
+ }else if(this.predialysis.single_water == ""){
|
|
576
|
+ this.$message.error('单超量未填')
|
|
577
|
+ }else if(this.prescription.target_ultrafiltration == 0){
|
|
578
|
+ this.$message.error('预超滤量未填')
|
|
579
|
+ }else if(this.prescription.replacement_flow == ""){
|
|
580
|
+ this.$message.error('置换流量未填')
|
|
581
|
+ }else if(this.prescription.anticoagulant == 0){
|
|
582
|
+ this.$message.error('抗凝方式未填')
|
|
583
|
+ }else if(this.predialysis.internal_fistula == ''){
|
|
584
|
+ this.$message.error('内瘘未填')
|
|
585
|
+ }else if(this.predialysis.catheter == ''){
|
|
586
|
+ this.$message.error('中心静脉导管未填')
|
|
587
|
+ }else if(this.prescription.dialysis_dialyszers == ""){
|
|
588
|
+ this.$message.error('透析器型号未填')
|
|
589
|
+ }else if(this.prescription.prescription_doctor == 0){
|
|
590
|
+ this.$message.error('医生未填')
|
|
591
|
+ }else if(this.dialysisOrder.start_nurse == 0){
|
|
592
|
+ this.$message.error('接管护士未填')
|
|
593
|
+ }else if(this.dialysisOrder.start_time == 0){
|
|
594
|
+ this.$message.error('接管时间未填')
|
|
595
|
+ }else if(this.afterdialysis.weight_after == 0){
|
|
596
|
+ this.$message.error('透后体重未填')
|
|
597
|
+ }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
|
|
598
|
+ this.$message.error('透后血压未填完整')
|
|
599
|
+ }else if(this.afterdialysis.pulse_frequency == 0){
|
|
600
|
+ this.$message.error('透后心率未填')
|
|
601
|
+ }else if(this.afterdialysis.cruor == ""){
|
|
602
|
+ this.$message.error('凝血分级未填')
|
|
603
|
+ }else if(this.summary.dialysis_summary == ""){
|
|
604
|
+ this.$message.error('补充记录未填')
|
|
605
|
+ }else if(this.dialysisOrder.finish_nurse == 0){
|
|
606
|
+ this.$message.error('回血护士未填')
|
|
607
|
+ }else if(this.dialysisOrder.end_time == 0){
|
|
608
|
+ this.$message.error('回血时间未填')
|
|
609
|
+ }else if(this.monitors.length > 0){
|
|
610
|
+ this.monitors.map(item => {
|
|
611
|
+ if(item.id > 0 && item.operate_time){
|
|
612
|
+ this.users.map(it => {
|
|
613
|
+ if(it.id == item.monitoring_nurse){
|
|
614
|
+ if(it.type != 3){
|
|
615
|
+ this.$message.error('存在不是护士保存的监测')
|
|
616
|
+ }
|
|
617
|
+ }
|
|
618
|
+ })
|
|
619
|
+ }
|
|
620
|
+ })
|
|
621
|
+ }else if(this.tableAdvice.length > 0){
|
|
622
|
+ this.tableAdvice.map(item => {
|
|
623
|
+ if(item.id > 0 && item.created_time){
|
|
624
|
+ this.users.map(it => {
|
|
625
|
+ if(it.id == item.advice_doctor){
|
|
626
|
+ if(it.type != 2){
|
|
627
|
+ this.$message.error('存在不是医生保存的医嘱')
|
|
628
|
+ }
|
|
629
|
+ }else if(it.id == item.execution_staff && item.execution_staff > 0){
|
|
630
|
+ if(it.type != 3){
|
|
631
|
+ this.$message.error('存在不是护士执行的医嘱')
|
|
632
|
+ }
|
|
633
|
+ }else if(it.id == item.checker && item.checker > 0){
|
|
634
|
+ if(it.type != 3){
|
|
635
|
+ this.$message.error('存在不是护士核对的医嘱')
|
|
636
|
+ }
|
|
637
|
+ }
|
|
638
|
+ })
|
|
639
|
+ }
|
|
640
|
+ })
|
|
641
|
+ }
|
|
642
|
+ },
|
555
|
643
|
getNewAge(UUserCard) {
|
556
|
644
|
if (UUserCard != null && UUserCard != '') {
|
557
|
645
|
// 获取年龄
|