Procházet zdrojové kódy

9月20日,打印单核查

yq1 před 1 měsícem
rodič
revize
1278eee767

+ 118 - 115
src/pages/main/template/DialysisPrintOrderServentynine.vue Zobrazit soubor

@@ -34,7 +34,7 @@
34 34
                     {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
35 35
                   </div>
36 36
                   <div style="flex: 1;">
37
-                    透析次数:  {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ? 
37
+                    透析次数:  {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ?
38 38
                                 patientInfo.total_dialysis + patientInfo.user_sys_before_count : "/" }}
39 39
                   </div>
40 40
                 </div>
@@ -59,7 +59,7 @@
59 59
                   {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : ""}} /
60 60
                   {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : ""}}mmHg
61 61
                 </div>
62
-                
62
+
63 63
               </td>
64 64
             </tr>
65 65
 
@@ -122,7 +122,7 @@
122 122
               <td colspan="3">
123 123
                 <div style="display: flex;flex-wrap: wrap;">
124 124
                   <div style="flex: 1;">
125
-                    上次透后体重:{{predialysis.weight_after_last_transparency?predialysis.weight_after_last_transparency:'0' }}kg
125
+                    上次透后体重:{{lastWeight.weight_after?lastWeight.weight_after:'0' }}kg
126 126
                   </div>
127 127
                   <div style="flex: 1;">
128 128
                     本次透前体重:{{ predialysis.weight_before ? predialysis.weight_before : '0' }}kg
@@ -133,11 +133,11 @@
133 133
                         : ( predialysis.weight_before - lastWeight.weight_after).toFixed(2))
134 134
                     }}kg
135 135
                   </div>
136
-                 
136
+
137 137
                 </div>
138 138
               </td>
139 139
             </tr>
140
-            
140
+
141 141
             <tr>
142 142
               <td colspan="3">
143 143
                 <div style="display: flex;flex-wrap: wrap;">
@@ -200,9 +200,9 @@
200 200
             </td>
201 201
             <td style="">
202 202
               透析液:钾:
203
-              <span style="">2.0</span>mmol/L&nbsp; 
203
+              <span style="">2.0</span>mmol/L&nbsp;
204 204
               钙:
205
-              <span style="">1.5</span>mmol/L&nbsp; 
205
+              <span style="">1.5</span>mmol/L&nbsp;
206 206
               碳酸氢盐:
207 207
               <span >32</span>mmol/L&nbsp;
208 208
               钠:
@@ -217,7 +217,7 @@
217 217
                 血管通路:
218 218
                 {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id :'/' }}
219 219
                 {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '/' }}
220
-               
220
+
221 221
               </div>&nbsp;&nbsp;
222 222
               <div style="display: inline-block;line-height: 30px;">
223 223
                 穿刺者:
@@ -544,111 +544,111 @@ export default {
544 544
   },
545 545
   methods: {
546 546
     checkData(){
547
-      if(this.receiverTreatmentAccess.sick_condition == 0){
548
-        this.$message.error('病情评估未填')
549
-      }else if(this.receiverTreatmentAccess.way == 0){
550
-        this.$message.error('入科方式未填')
551
-      }else if(this.prescription.mode_id == ""){
552
-        this.$message.error('净化治疗方式未填')
553
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
554
-        this.$message.error('透析器或灌流器未填')
555
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
556
-        this.$message.error('血管通路未填')
557
-      }else if(this.predialysis.weight_before == 0){
558
-        this.$message.error('透前体重未填')
559
-      }else if(this.predialysis.dry_weight == 0){
560
-        this.$message.error('干体重未填')
561
-      }else if(this.prescription.target_ultrafiltration == 0){
562
-        this.$message.error('预脱水量未填')
563
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
564
-        this.$message.error('透析时间未填')
565
-      }else if(this.prescription.blood_flow_volume == 0){
566
-        this.$message.error('血流量未填')
567
-      }else if(this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
568
-        this.$message.error('置换方式未填')
569
-      }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
570
-        this.$message.error('置换量未填')
571
-      }else if(this.prescription.anticoagulant == 0){
572
-        this.$message.error('抗凝剂未填')
573
-      }else if(this.prescription.calcium == 0 && this.prescription.dialysate_formulation != 0){
574
-        this.$message.error('钙未填')
575
-      }else if(this.prescription.sodium == 0 && this.prescription.dialysate_formulation != 0){
576
-        this.$message.error('钠未填')
577
-      }else if(this.prescription.kalium == 0 && this.prescription.dialysate_formulation != 0){
578
-        this.$message.error('钾未填')
579
-      }else if(this.predialysis.complication == ''){
580
-        this.$message.error('透前并发症未填')
581
-      }else if(this.doctorForm.doctor == ""){
582
-        this.$message.error('医生签名未填')
583
-      }else if(this.orderForm.start_nurse == ""){
584
-        this.$message.error('上机护士未填')
585
-      }else if(this.check.modifier == 0){
586
-        this.$message.error('核对护士未填')
587
-      }else if(this.finshForm.finish_nurse == ""){
588
-        this.$message.error('下机护士未填')
589
-      }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
590
-        this.$message.error('透后血压未填完整')
591
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
592
-        this.$message.error('实际治疗时间未填')
593
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
594
-        this.$message.error('实际超滤量未填')
595
-      }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
596
-        this.$message.error('拔针后穿刺点渗血未填')
597
-      }else if(this.afterdialysis.puncture_point_haematoma == 0){
598
-        this.$message.error('穿刺处血肿未填')
599
-      }else if(this.afterdialysis.internal_fistula == ""){
600
-        this.$message.error('压迫后内瘘震颤未填')
601
-      }else if(this.afterdialysis.complication == ''){
602
-        this.$message.error('透后并发症未填')
603
-      }else if(this.afterdialysis.cruor == ""){
604
-        this.$message.error('透析器凝血未填')
605
-      }else if(this.summary.dialysis_summary == ""){
606
-        this.$message.error('透析小结未填')
607
-      }else if(this.tableAdvice.length > 0){
547
+      var checkDate =[]
548
+      if(this.predialysis.symptom_before_dialysis_other == '' && 
549
+        this.predialysis.symptom_before_dialysis == ''
550
+      ){
551
+        const obj = "上机前病情"
552
+        checkDate.push(obj)
553
+      } if(this.predialysis.systolic_blood_pressure == '' &&
554
+        this.predialysis.diastolic_blood_pressure == ''
555
+      ){
556
+        const obj1 = "血压"
557
+        checkDate.push(obj1)
558
+      } if(this.prescription.mode == ""){
559
+        const obj2 = "治疗方式"
560
+        checkDate.push(obj2)
561
+      } if(this.prescription.displace_liqui_value == "" && 
562
+        (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
563
+          const obj3 = "置换量"
564
+          checkDate.push(obj3)
565
+      } if(this.afterdialysis.actual_treatment_hour == ''){
566
+        const obj4 = "治疗时间"
567
+        checkDate.push(obj4)
568
+      } if(this.prescription.anticoagulant == ''){
569
+        const obj5 = "抗凝剂未填"
570
+        checkDate.push(obj5)
571
+      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant=='普通肝素'){
572
+        const obj6 = "首剂"
573
+        checkDate.push(obj6)
574
+      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant=='普通肝素'){
575
+        const obj7 = "维持"
576
+        checkDate.push(obj7)
577
+      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant=='普通肝素'){
578
+        const obj8 = "总量"
579
+        checkDate.push(obj8)
580
+      }
581
+      if(this.lastWeight.weight_after == 0){
582
+        const obj9 = "上次透后体重"
583
+        checkDate.push(obj9)
584
+      } if(this.predialysis.weight_before == 0){
585
+        const obj10 = "本次透前体重"
586
+        checkDate.push(obj10)
587
+      } if(this.predialysis.dry_weight == 0){
588
+        const obj11 = "干体重"
589
+        checkDate.push(obj11)
590
+      } if(this.afterdialysis.weight_after == 0){
591
+        const obj12 = "本次透后体重"
592
+        checkDate.push(obj12)
593
+      } if(this.prescription.target_ultrafiltration == 0){
594
+        const obj13 = "目标脱水量"
595
+        checkDate.push(obj13)
596
+      } if(this.prescription.prescription_water == 0){
597
+        const obj14 = "处方脱水量"
598
+        checkDate.push(obj14)
599
+      } if(this.prescription.creater == ""){
600
+        const obj15 = "医生签名"
601
+        checkDate.push(obj15) 
602
+      } if(this.prescription.dialysate_flow == ''){
603
+        const obj16 = "透析液流量"
604
+        checkDate.push(obj16) 
605
+      } if(this.prescription.blood_flow_volume == ''){
606
+        const obj17 = "血流量"
607
+        checkDate.push(obj17)
608
+      } if (this.predialysis.machine_type == '') {
609
+        const obj19 = "透析器"
610
+        checkDate.push(obj19)
611
+      } if (
612
+        this.prescription.dialysis_irrigation == '' &&
613
+        this.prescription.dialysis_dialyszers == '' &&
614
+        this.prescription.dialysis_strainer == ''
615
+      ){
616
+        const obj18 = "透析(滤)器"
617
+        checkDate.push(obj18)
618
+      } if (this.predialysis.blood_access_part_opera_name == ''){
619
+        const obj20 = "血管通路"
620
+        checkDate.push(obj20)
621
+      } if (this.dialysisOrder == null ||
622
+        this.dialysisOrder.puncture_nurse == 0
623
+      ) {
624
+        const obj21 = "穿刺者"
625
+        checkDate.push(obj21)
626
+      } if(this.summary.dialysis_summary == ""){
627
+        const obj22 = "透析小结"
628
+        checkDate.push(obj22)
629
+      } if (
630
+        this.dialysisOrder == null ||
631
+        this.dialysisOrder.start_nurse == 0
632
+      ) {
633
+        const obj23 = "护士签名"
634
+        checkDate.push(obj23)
635
+      }
636
+      
637
+     if(this.tableAdvice.length > 0){
608 638
         let num = 0
609 639
         this.tableAdvice.map(item => {
610 640
           if(item.id > 0 && (item.created_time || item.start_time)){
611
-            this.users.map(it => {
612
-              if(it.id == item.advice_doctor){
613
-                if(it.user_type == 3){
614
-                  num++
615
-                  this.$message.closeAll()
616
-                  this.$message.error('存在不是医生保存的医嘱')
617
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
618
-                  if(it.user_type == 2){
619
-                    num++
620
-                    this.$message.closeAll()
621
-                    this.$message.error('存在不是护士执行的医嘱')
622
-                  }
623
-                }else if(it.id == item.checker && item.checker > 0){
624
-                  if(it.user_type == 2){
625
-                    num++
626
-                    this.$message.closeAll()
627
-                    this.$message.error('存在不是护士核对的医嘱')
628
-                  }
629
-                }
630
-              }else if(it.id == item.execution_staff && item.execution_staff > 0){
631
-                if(it.user_type == 2){
632
-                  num++
633
-                  this.$message.closeAll()
634
-                  this.$message.error('存在不是护士执行的医嘱')
635
-                }
636
-              }else if(it.id == item.checker && item.checker > 0){
637
-                if(it.user_type == 2){
638
-                  num++
639
-                  this.$message.closeAll()
640
-                  this.$message.error('存在不是护士核对的医嘱')
641
-                }
642
-              }
643
-            })
641
+            if(item.execution_staff =='' || item.checker ==''){
642
+              const obj24 = '执行,核对'
643
+              checkDate.push(obj24)
644
+            }
644 645
           }
645 646
         })
646 647
         if(num == 0){
647
-          this.$message.success('核对完成')
648
+          this.$toast('核对完成')
648 649
         }
649
-      }else{
650
-        this.$message.success('核对完成')
651 650
       }
651
+      this.getcheckData(checkDate)
652 652
     },
653 653
     getUser() {
654 654
       fetchAllAdminUsers().then(response => {
@@ -917,7 +917,7 @@ export default {
917 917
           }
918 918
 
919 919
           this.advices = response.data.data.advices;
920
-         
920
+
921 921
           console.log('response.data.data',response.data.data);
922 922
           var DoctorAdvice = response.data.data.DoctorAdvice
923 923
           var advices = response.data.data.advices;
@@ -971,9 +971,9 @@ export default {
971 971
           if (tableAdvice.length === 3) {
972 972
 
973 973
             var obj = { advice_name: "", start_time: "" };
974
-     
974
+
975 975
             var obj1 = { advice_name: "", start_time: "" };
976
-           
976
+
977 977
             // var obj2 = { advice_name: "", start_time: "" };
978 978
             // var obj3 = { advice_name: "", start_time: "" };
979 979
             tableAdvice.push(obj);
@@ -1003,13 +1003,6 @@ export default {
1003 1003
             // tableAdvice.push(obj2);
1004 1004
             this.tableAdvice = tableAdvice;
1005 1005
           }
1006
-          // if (tableAdvice.length === 6) {
1007
-          //   console.log('6666666',tableAdvice.length);
1008
-          //   var obj = { advice_name: "", start_time: "" };
1009
-          //   tableAdvice.push(obj);
1010
-
1011
-          //   this.tableAdvice = tableAdvice;
1012
-          // }
1013 1006
 
1014 1007
           if (tableAdvice.length >5) {
1015 1008
             // var obj = { advice_name: "", start_time: "" };
@@ -1157,6 +1150,16 @@ export default {
1157 1150
         return age
1158 1151
       }
1159 1152
     },
1153
+    getcheckData(val){
1154
+      if(val.length >0){
1155
+        const a = val.join(',')
1156
+        console.log('a',a);
1157
+        this.$toast(a +" 未填");
1158
+        return a
1159
+      }else{
1160
+        this.$toast('核对完成')
1161
+      }
1162
+    }
1160 1163
   },
1161 1164
   watch: {
1162 1165
     "patientInfo.gender": function() {

+ 262 - 80
src/pages/main/template/DialysisPrintOrderSeventysix.vue Zobrazit soubor

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div id="dialysis-print-box-1" style="margin-left: 10px;">
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
3 4
     <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content" >
4 5
       <div style="display:inline-block;width:100%;text-align:center;">
5 6
         <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
@@ -73,11 +74,11 @@
73 74
         </div>
74 75
         <div class="inline_block" style="margin-left: 10px;">
75 76
           诊断:
76
-          <div class="under_line" style="width: 180px;text-align: left">{{patientInfo.diagnose}}</div>
77
+          <div class="under_line" style="width: 480px;text-align: left;white-space: normal;">{{patientInfo.diagnose}}</div>
77 78
         </div>
78 79
       </div>
79 80
 
80
-      <div class="row" :style=" this.totollength > 13?'margin-bottom:400px;':''">
81
+      <div class="row" >
81 82
         <table class="proj_table" >
82 83
           <tbody>
83 84
             <tr><td colspan="2" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">透析前情况</td></tr>
@@ -699,86 +700,9 @@
699 700
         </table>
700 701
       </div>
701 702
 
702
-      <template v-if="this.totollength > 13">
703
-        <div style="display:inline-block;width:100%;text-align:center;">
704
-          <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">{{orgname}}</div>
705
-          <div class="order-title" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;" >
706
-            <span v-if="org_id!=3877 && org_id!=10449">血液净化治疗记录单</span>
707
-            <span v-if="org_id==3877 && org_id ==10449">
708
-              <span v-if="prescription.mode_id != 13">血液净化治疗记录单</span>
709
-              <span v-if="prescription.mode_id== 13">连续性肾脏替代治疗(CRRT)记录单</span>
710
-            </span>
711
-         </div>
712
-        </div>
713
-        <div class="row">
714
-          <div class="inline_block" >
715
-            姓名:
716
-            <div class="under_line" style="width: 50px;text-align: center;">{{patientInfo.name}}</div>
717
-          </div>
718
-          <div class="inline_block" style="margin-left: 10px;">
719
-            性别:
720
-            <div class="under_line" style="width: 30px;text-align: center;">{{patientInfo_gender_1?"男":"女"}}</div>
721
-          </div>
722
-          <div class="inline_block" style="margin-left: 10px;">
723
-            年龄:
724
-            <div class="under_line" style="width: 30px;text-align: center;">{{getAge(patientInfo.id_card_no)}}</div>
725
-            岁
726
-          </div>
727
-          <div class="inline_block">
728
-            门诊:
729
-              <div class="under_line" style="width: 30px;text-align: center;">
730
-                  <check-box  :checked="patientInfo_source_1 "></check-box>
731
-              </div>
732
-          </div>
733
-          <div class="inline_block">
734
-            病区:
735
-              <div class="under_line" style="width: 50px;text-align: center;">
736
-                  {{patientInfo.DialysisSchedule.device_zone.name}}
737
-              </div>
738
-          </div>
739
-          <div class="inline_block" >
740
-            床号:
741
-              <div class="under_line" style="width: 50px;text-align: center;">
742
-                
743
-                <span> {{dialysisOrder&&dialysisOrder.DeviceNumber&&dialysisOrder.DeviceNumber.number.length > 0?dialysisOrder.DeviceNumber.number:patientInfo.DialysisSchedule.device_number.number}}</span>
744
-              </div>
745
-          </div>
746
-          <div class="inline_block">
747
-            透析号:
748
-              <div class="under_line" style="width: 70px;text-align: center;">
749
-                {{patientInfo.dialysis_no}}
750
-              </div>
751
-          </div>
752
-          <div class="inline_block" style="margin-left: 5px;">
753
-            住院号/门诊号:
754
-            <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
755
-              {{patientInfo.admission_number}}
756
-            </div>
757
-            <div class="under_line" style="width: 70px;text-align: left" v-else>
758
-              {{'/'}}
759
-            </div>
760
-          </div>
761
-        </div> 
762
-        <div class="row">
763
-          <div class="inline_block" >
764
-            入科方式:
765
-            <div
766
-              v-for="item,index in way_arr"
767
-              class="under_line"
768
-              v-if="receiverTreatmentAccess.way == item.id"
769
-              style="width: 180px;text-align: left"
770
-            >{{item.name}}</div>
771
-          </div>
772
-          <div class="inline_block" style="margin-left: 10px;">
773
-            诊断:
774
-            <div class="under_line" style="width: 180px;text-align: left">{{patientInfo.diagnose}}</div>
775
-          </div>
776
-        </div>
777
-      </template>
778 703
       <div class="row" style="margin-top:-11px;position: relative;" >
779 704
         <table class="proj_table">
780 705
           <tbody>
781
-
782 706
           <tr>
783 707
             <td colspan="2"  style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;" v-if="org_id != 10307">透析后情况</td>
784 708
           </tr>
@@ -912,7 +836,7 @@
912 836
                 <div class="inline_block" style="flex:1;">
913 837
                   在线Kt/V:
914 838
                   <div class="under_line" style="width: 50px;text-align: center">
915
-                    {{ afterdialysis.ktv ? afterdialysis.ktv : 0 }}
839
+                    {{ afterdialysis.ktv ? afterdialysis.ktv : '/' }}
916 840
                   </div>ml
917 841
                 </div>
918 842
 
@@ -1127,6 +1051,254 @@ export default {
1127 1051
     }
1128 1052
   },
1129 1053
   methods: {
1054
+    checkData() {
1055
+      var checkDate =[]
1056
+      if (this.xtdate == '') {
1057
+        const obj = '透析日期'
1058
+        checkDate.push(obj)
1059
+      } if (this.predialysis.symptom_before_dialysis == "") {
1060
+        const obj1 = '透前症状'
1061
+        checkDate.push(obj1)
1062
+      } if (this.predialysis.temperature == "") {
1063
+        const obj2 = '透前体温'
1064
+        checkDate.push(obj2);
1065
+      } if (this.predialysis.pulse_frequency == "") {
1066
+        const obj3 = '透前脉搏'
1067
+        checkDate.push(obj3);
1068
+      } if (this.predialysis.breathing_rate == "") {
1069
+        const obj4 = '透前呼吸频率'
1070
+        checkDate.push(obj4);
1071
+      } if (
1072
+        this.predialysis.systolic_blood_pressure == 0 ||
1073
+        this.predialysis.diastolic_blood_pressure == 0
1074
+      ) {
1075
+        const obj5 = '透前血压'
1076
+        checkDate.push(obj5);
1077
+      } if (this.predialysis.puncture_way == "") {
1078
+        const obj6 = '穿刺方式'
1079
+        checkDate.push(obj6);
1080
+      } if (this.predialysis.puncture_needle == "") {
1081
+        const obj7 = '穿刺针'
1082
+        checkDate.push(obj7);
1083
+      }if (this.prescription.dialysis_duration_hour == "" &&
1084
+        this.prescription.dialysis_duration_minute == ''
1085
+      ) {
1086
+        const obj8 = '透析时间'
1087
+        checkDate.push(obj8);
1088
+      } if (this.dialysisOrder.DeviceNumber.number == '' &&
1089
+          this.patientInfo.DialysisSchedule.device_number.number == ""
1090
+      ) {
1091
+        const obj9 = '透析机号'
1092
+        checkDate.push(obj9);
1093
+      } if (
1094
+        this.predialysis.blood_access_part_id == "" &&
1095
+        this.predialysis.blood_access_part_opera_name == ""
1096
+      ) {
1097
+        const obj10 = '血管通路'
1098
+        checkDate.push(obj10);
1099
+      } if (this.predialysis.internal_fistula == "") {
1100
+        const obj11 = '透前内瘘'
1101
+        checkDate.push(obj11);
1102
+      } if (this.predialysis.catheter == "") {
1103
+        const obj12 = '透前导管'
1104
+        checkDate.push(obj12);
1105
+      } if (this.prescription.mode == "") {
1106
+        const obj13 = '透析方式'
1107
+        checkDate.push(obj13);
1108
+      } if (
1109
+        this.prescription.displace_liqui_part == 0 &&
1110
+        this.prescription.mode_id == 2
1111
+      ) {
1112
+        const obj14 = '置换方式'
1113
+        checkDate.push(obj14);
1114
+      } if (
1115
+        this.prescription.displace_liqui_value == 0 &&
1116
+        this.prescription.mode_id == 2
1117
+      ) {
1118
+        const obj15 = '置换量'
1119
+        checkDate.push(obj15);
1120
+      } if (this.prescription.blood_flow_volume == 0) {
1121
+        const obj16 = '血流量'
1122
+        checkDate.push(obj16);
1123
+      } if (
1124
+        this.prescription.dialysis_strainer == "" &&
1125
+        this.prescription.dialysis_dialyszers == ""
1126
+      ) {
1127
+        const obj17 = '透析(滤)器'
1128
+        checkDate.push(obj17);
1129
+      } if (this.prescription.dialysis_irrigation == "") {
1130
+        const obj18 = '灌流器'
1131
+        checkDate.push(obj18);
1132
+      } if (this.lastWeight.weight_after == 0) {
1133
+        const obj19 = '上次透后体重'
1134
+        checkDate.push(obj19);
1135
+      } if (this.predialysis.weight_before == 0) {
1136
+        const obj20 = '透前体重'
1137
+        checkDate.push(obj20);
1138
+      } if (this.predialysis.dry_weight == 0) {
1139
+        const obj21 = '干体重'
1140
+        checkDate.push(obj21);
1141
+      } if (this.prescription.target_ultrafiltration == 0) {
1142
+        const obj22 = '计划超滤量'
1143
+        checkDate.push(obj22);
1144
+      } if (this.prescription.calcium == 0) {
1145
+        const obj23 = '钙'
1146
+        checkDate.push(obj23);
1147
+      } if (this.prescription.sodium == 0) {
1148
+        const obj24 = '钠'
1149
+        checkDate.push(obj24);
1150
+      } if (this.prescription.kalium == 0) {
1151
+        const obj25 = '钾'
1152
+        checkDate.push(obj25);
1153
+      } if (this.prescription.bicarbonate == 0) {
1154
+        const obj26 = '碳酸氢根'
1155
+        checkDate.push(obj26);
1156
+      } if (this.prescription.dialysate_flow == 0) {
1157
+        const obj27 = '流量'
1158
+        checkDate.push(obj27);
1159
+      } if (this.prescription.anticoagulant_name == '') {
1160
+        const obj28 = '抗凝剂'
1161
+        checkDate.push(obj28);
1162
+      } if (
1163
+        this.prescription.anticoagulant_gaimingcheng == "" &&
1164
+        this.prescription.anticoagulant == 5
1165
+      ) {
1166
+        const obj29 = '钙名称'
1167
+        checkDate.push(obj29);
1168
+      } if (
1169
+        this.prescription.anticoagulant_gaijiliang == "" &&
1170
+        this.prescription.anticoagulant == 5
1171
+      ) {
1172
+        const obj29 = '钙剂量'
1173
+        checkDate.push(obj29);
1174
+      } if (
1175
+        this.prescription.anticoagulant_shouji == "" &&
1176
+        this.prescription.anticoagulant != 5 &&
1177
+        this.prescription.anticoagulant != 1
1178
+      ) {
1179
+        const obj30 = '首剂'
1180
+        checkDate.push(obj30);
1181
+      } if (
1182
+        this.prescription.anticoagulant_weichi == "" &&
1183
+        this.prescription.anticoagulant != 1
1184
+      ) {
1185
+        const obj31 = '维持'
1186
+        checkDate.push(obj31);
1187
+      } if (
1188
+        this.prescription.anticoagulant_zongliang == "" &&
1189
+        this.prescription.anticoagulant != 1 &&
1190
+        this.prescription.anticoagulant != 5
1191
+      ) {
1192
+        const obj32 = '总量'
1193
+        checkDate.push(obj32);
1194
+      } if (this.afterdialysis.temperature == 0) {
1195
+        const obj33 = '透后体温'
1196
+        checkDate.push(obj33);
1197
+      } if (this.afterdialysis.pulse_frequency == 0) {
1198
+        const obj34 = '透后脉搏'
1199
+        checkDate.push(obj34);
1200
+      } if (this.afterdialysis.breathing_rate == 0) {
1201
+        const obj35 = '透后呼吸频率'
1202
+        checkDate.push(obj35);
1203
+      } if (
1204
+        this.afterdialysis.systolic_blood_pressure == 0 ||
1205
+        this.afterdialysis.diastolic_blood_pressure == 0
1206
+      ) {
1207
+        const obj36 = '透后血压'
1208
+        checkDate.push(obj36);
1209
+      } if (
1210
+        this.afterdialysis.actual_treatment_hour == 0 &&
1211
+        this.afterdialysis.actual_treatment_minute == 0
1212
+      ) {
1213
+        const obj37 = '实际治疗时间'
1214
+        checkDate.push(obj37);
1215
+      } if (this.afterdialysis.cruor == "") {
1216
+        const obj38 = '透析器凝血'
1217
+        checkDate.push(obj38);
1218
+      } if (this.afterdialysis.internal_fistula == "") {
1219
+        const obj39 = '透后内瘘'
1220
+        checkDate.push(obj39);
1221
+      } if (this.afterdialysis.catheter == "") {
1222
+        const obj40 = '透后导管'
1223
+        checkDate.push(obj40);
1224
+      } if (this.afterdialysis.weight_after == 0) {
1225
+        const obj41 = '透后体重'
1226
+        checkDate.push(obj41);
1227
+      } if (this.afterdialysis.weight_loss == 0) {
1228
+        const obj42 = '透后体重'
1229
+        checkDate.push(obj42);
1230
+      } if (this.afterdialysis.dialysis_intakes == 0) {
1231
+        const obj43 = '透后中入量'
1232
+        checkDate.push(obj43);
1233
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1234
+        const obj44 = '实际超滤量'
1235
+        checkDate.push(obj44);
1236
+      } if (this.summary.dialysis_summary == "") {
1237
+        const obj45 = '透析小结'
1238
+        checkDate.push(obj45);
1239
+      } if (this.afterdialysis.ktv == '') {
1240
+        const obj46 = '在线KTV'
1241
+        checkDate.push(obj46);
1242
+      } if (
1243
+        this.dialysisOrder == null &&
1244
+        this.dialysisOrder.puncture_nurse == 0
1245
+      ) {
1246
+        const obj47 = '穿刺护士'
1247
+        checkDate.push(obj47);
1248
+      } if (
1249
+        this.dialysisOrder == null &&
1250
+        this.dialysisOrder.start_nurse == 0
1251
+      ) {
1252
+        const obj48 = '治疗护士'
1253
+        checkDate.push(obj48);
1254
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
1255
+        const obj49 = '核对人员'
1256
+        checkDate.push(obj49);
1257
+      } else if (
1258
+        this.dialysisOrder != null &&
1259
+        this.dialysisOrder.start_nurse == this.check.modifier &&
1260
+        this.check.creater == 0
1261
+      ) {
1262
+        const obj50 = '核对人员'
1263
+        checkDate.push(obj50);
1264
+      } else if (
1265
+        this.dialysisOrder != null &&
1266
+        this.dialysisOrder.start_nurse == this.check.creater &&
1267
+        this.check.modifier == 0
1268
+      ) {
1269
+        const obj50 = '核对人员'
1270
+        checkDate.push(obj50);
1271
+      } else if (
1272
+        this.dialysisOrder != null &&
1273
+        this.dialysisOrder.start_nurse != this.check.creater &&
1274
+        this.dialysisOrder.start_nurse != this.check.modifier &&
1275
+        this.check.creater == 0
1276
+      ) {
1277
+        const obj50 = '核对人员'
1278
+        checkDate.push(obj50);
1279
+      } if (
1280
+        this.dialysisOrder == null &&
1281
+        this.dialysisOrder.finish_nurse == 0
1282
+      ) {
1283
+        const obj51 = '下机护士'
1284
+        checkDate.push(obj51);
1285
+      } if (this.prescription.creater == 0) {
1286
+        const obj52 = '医生签名'
1287
+        checkDate.push(obj52);
1288
+      } if (this.doctor_advices.length > 0) {
1289
+        console.log('12122this.doctor_advices',this.doctor_advices);
1290
+        
1291
+        this.doctor_advices.map((item) => {
1292
+          if (item.id > 0 && (item.created_time || item.start_time)) {
1293
+            if(item.advice_doctor ==0 && item.execution_staff == 0){
1294
+              const obj53 = '医嘱医生,执行'
1295
+              checkDate.push(obj53);
1296
+            }
1297
+          }
1298
+        });
1299
+      }
1300
+      this.getcheckData(checkDate)
1301
+    },
1130 1302
     getDisplaceLiquiPart: function (val) {
1131 1303
       let displace_liqui_part_name = '/'
1132 1304
       let displace_liqui_part = this.displaceLiquiPartOptions
@@ -1679,6 +1851,16 @@ export default {
1679 1851
           return 'ml'
1680 1852
           break
1681 1853
       }
1854
+    },
1855
+    getcheckData(val){
1856
+      if(val.length >0){
1857
+        const a = val.join(',')
1858
+        console.log('a',a);
1859
+        this.$toast(a +" 未填");
1860
+        return a
1861
+      }else{
1862
+        this.$toast('核对完成')
1863
+      }
1682 1864
     }
1683 1865
   },
1684 1866
   watch: {