Kaynağa Gözat

10月30日,杏康

yq1 3 ay önce
ebeveyn
işleme
18cb5aca8d

+ 244 - 161
src/pages/main/template/DialysisPrintOrderThirtyOne.vue Dosyayı Görüntüle

@@ -1,9 +1,8 @@
1 1
 <template>
2 2
   <div>
3 3
     <el-button type="primary" @click="checkData">一键核对</el-button>
4
-    <div id="dialysis-print-box-1">
5
-      <div
6
-        id="dialysis-print-box-1-1"
4
+    <div id="dialysis-print-box-1" >
5
+      <div id="dialysis-print-box-1-1" style="margin-left: 10px;"
7 6
         class="dialysis-print-order print-template-two print_page_main_content"
8 7
       >
9 8
       <!-- <div style="width:100%;text-align:center;">
@@ -29,7 +28,7 @@
29 28
               <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(8,11) }}</div>日
30 29
           </div>
31 30
           <div class="inline_block" style="margin-right:10px;">
32
-            姓名 
31
+            姓名
33 32
             <div class="inline_block under_line" style="width:80px;text-align: center;">
34 33
                 {{ patientInfo.name ? patientInfo.name : "" }}
35 34
             </div>
@@ -47,7 +46,7 @@
47 46
48 47
           </div>
49 48
           <div class="inline_block" style="margin-right:10px;">
50
-              机器编号 
49
+              机器编号
51 50
               <div class="inline_block under_line" style="width:80px;">
52 51
               {{ getNumber() }}
53 52
               </div>
@@ -59,7 +58,7 @@
59 58
         <div style="border-bottom: 2px solid #000;width:100%;"></div>
60 59
         <div class="row">
61 60
             <div class="inline_block" style="margin-right:30px;">
62
-              血液净化方式 
61
+              血液净化方式
63 62
               <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
64 63
                 /
65 64
               </div>
@@ -125,22 +124,29 @@
125 124
               </div>
126 125
             </div>
127 126
             <div class="inline_block" style="margin-right:30px;">
128
-              血液净化器类型 
127
+              血液净化器类型
129 128
               <div class="inline_block under_line" style="width:150px;text-align: center;">
130 129
                   {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : ''}}
131 130
               </div>
132 131
             </div>
133 132
             <div class="inline_block" style="margin-right:30px;">
134
-              透析液配方 
133
+              透析液配方
135 134
               <div class="inline_block under_line" style="width:150px;text-align: center;">
136 135
                   {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : ''}}
137 136
               </div>
138 137
             </div>
139 138
         </div>
140 139
         <div class="row">
141
-          血管通路 
142
-          <div class="inline_block under_line" style="width:92%;text-align: left;">
143
-            <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="内瘘"></label-box>
140
+          血管通路部位
141
+          <div class="inline_block under_line" style="width:200px;text-align: left;">
142
+            {{ predialysis.blood_access_part_id }}
143
+          </div>
144
+
145
+          血管通路
146
+          <div class="inline_block under_line" style="width:200px;text-align: left;">
147
+
148
+            {{ predialysis.blood_access_part_opera_name?predialysis.blood_access_part_opera_name:"/" }}
149
+            <!-- <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="内瘘"></label-box>
144 150
             (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : false" showValue="左"></label-box>
145 151
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="右"></label-box>)
146 152
             &nbsp;
@@ -154,6 +160,13 @@
154 160
             &nbsp;
155 161
             <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股')>-1?true:predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股')>-1?true:false" showValue="股"></label-box>
156 162
             &nbsp;
163
+
164
+            <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-左')>-1?true:predialysis.blood_access_part_opera_name.indexOf('股静脉-右')>-1?true:false" showValue="股静脉"></label-box>
165
+            (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-左') > -1 ? true : false" showValue="左"></label-box>
166
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉-右') > -1 ? true : false" showValue="右"></label-box>)
167
+            &nbsp;
168
+            <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股')>-1?true:predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股')>-1?true:false" showValue="股"></label-box>
169
+            &nbsp; -->
157 170
           </div>
158 171
         </div>
159 172
         <div class="row">
@@ -167,11 +180,14 @@
167 180
           </div>
168 181
         </div>
169 182
         <div class="row">
170
-          抗凝药物 
183
+          抗凝药物
171 184
           <div class="inline_block under_line" style="width:92%;text-align: left;">
172 185
             <label-box :isChecked="prescription.anticoagulant == '普通肝素' ? true : false" showValue="普通肝素"></label-box>&nbsp;
173 186
             <label-box :isChecked="prescription.anticoagulant == '甲磺酸萘莫司他' ? true : false" showValue="甲磺酸萘莫司他"></label-box>&nbsp;
174
-            <label-box :isChecked="prescription.anticoagulant == '低分子肝素钙' ? true : prescription.anticoagulant == '低分子肝素钠' ? true : false" showValue="低分子肝素"></label-box>
187
+            <label-box :isChecked="(prescription.anticoagulant == '低分子肝素钙'||
188
+                  prescription.anticoagulant == '低分子肝素钠'||
189
+                  prescription.anticoagulant == '低分子肝素') ? true : false" showValue="低分子肝素">
190
+            </label-box>&nbsp;
175 191
             (<label-box :isChecked="prescription.anticoagulant == '低分子肝素钙' ? true : false" showValue="钙"></label-box>
176 192
               <label-box :isChecked="prescription.anticoagulant == '低分子肝素钠' ? true : false" showValue="钠"></label-box>)
177 193
             <div class="inline_block">
@@ -185,7 +201,7 @@
185 201
               <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
186 202
               <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
187 203
               <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
188
-              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp; 
204
+              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp;
189 205
             </div>
190 206
             <div class="inline_block">
191 207
               追加
@@ -198,7 +214,7 @@
198 214
               <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
199 215
               <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
200 216
               <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
201
-              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>&nbsp; 
217
+              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>&nbsp;
202 218
             </div>
203 219
             <div class="inline_block">
204 220
               总量
@@ -265,7 +281,7 @@
265 281
             </div>
266 282
         </div>
267 283
         <div class="row">
268
-          透前评估 
284
+          透前评估
269 285
           <div class="inline_block under_line" style="width:50%;text-align: left;margin-right:30px;">
270 286
             <div class="inline_block" style="margin-right:30px;">
271 287
               体温
@@ -319,8 +335,10 @@
319 335
         <div class="row">
320 336
           上机医生
321 337
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
322
-            <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
323
-            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
338
+            <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''">
339
+              {{ getAdminUser(prescription==null?0:(prescription.creater?prescription.creater:'')) }}
340
+            </span>
341
+            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:''))" alt="" srcset="" v-else />
324 342
           </div>
325 343
           冲管护士
326 344
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
@@ -464,7 +482,7 @@
464 482
                       <!-- <td width="10" style="border:none;"></td> -->
465 483
 
466 484
                       <td width="50" style="border:none;padding-left:5px;">血压:</td>
467
-                      <td width="120" style="text-align:left;border:none;line-height: 30px;">
485
+                      <td width="150" style="text-align:left;border:none;line-height: 30px;">
468 486
                         <div>
469 487
                           <span class="under_line" style="width:100px;display:inline-block">
470 488
                             {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
@@ -473,7 +491,7 @@
473 491
                         </div>
474 492
                       </td>
475 493
                       <td width="50" style="border:none;padding-left:5px">脉搏:</td>
476
-                      <td width="70" style="text-align:left;border:none;">
494
+                      <td width="120" style="text-align:left;border:none;">
477 495
                         <div>
478 496
                           <span class="under_line" style="width:50px;display:inline-block">
479 497
                             {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "" }}
@@ -481,7 +499,7 @@
481 499
                         </div>
482 500
                       </td>
483 501
                       <td width="70" style="border:none;padding-left:5px">透后症状:</td>
484
-                      <td width="100" style="text-align:left;border:none;">
502
+                      <td width="120" style="text-align:left;border:none;">
485 503
                         <div>
486 504
                           <span class="under_line" style="width:100px;display:inline-block">
487 505
                             {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
@@ -502,8 +520,8 @@
502 520
                           </span>L
503 521
                         </div>
504 522
                       </td>
505
-                      
506
-                      
523
+
524
+
507 525
                       <!-- <td width="50" style="text-align:left;border:none;"></td> -->
508 526
                       <!-- <td width="110" style="text-align:left;border:none;"></td> -->
509 527
                       <td width="120" style="border:none;padding-left:5px">透析期间进食:</td>
@@ -590,13 +608,7 @@
590 608
                   </tbody>
591 609
                 </table>
592 610
               </td>
593
-              
594
-              
595 611
             </tr>
596
-              
597
-            
598
-            
599
-            
600 612
           </tbody>
601 613
         </table>
602 614
 
@@ -639,25 +651,25 @@
639 651
                 </span>
640 652
                 <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
641 653
               </span> -->
642
-              </span>
654
+              <!-- </span> -->
643 655
               医生签名
644 656
               <span style="display: inline-block;width:100px;text-align: left;">
645 657
                 &nbsp;
646
-                <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
647
-                <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
658
+                <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''">
659
+                  {{ getAdminUser(prescription==null?0:(prescription.creater?prescription.creater:'')) }}
660
+                </span>
661
+                <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:''))" alt="" srcset="" v-else />
648 662
                 <!-- <span v-if="doctorForm.url === ''">{{ doctorForm.doctor }}</span>
649 663
                 <span v-if="doctorForm.url !== ''">
650 664
                   <img class="es-img" style="height:30px;" :src="doctorForm.url" />
651 665
                 </span> -->
652 666
               </span>
653
-              
654
-              
655 667
             </td>
656 668
           </tr>
657 669
         </table>
658 670
       </div>
659 671
     </div>
660
-  </div>  
672
+  </div>
661 673
 </template>
662 674
 
663 675
 <script>
@@ -804,136 +816,197 @@ export default {
804 816
   },
805 817
   methods: {
806 818
     checkData(){
807
-      if(this.prescription.mode_id == ""){
808
-        this.$message.error('血液净化方式未填')
809
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
810
-        this.$message.error('血液净化器类型未填')
811
-      }else if(this.prescription.dialysate_formulation_name == ""){
812
-        this.$message.error('透析液配方未填')
813
-      }else if(this.predialysis.blood_access_part_opera_name == ''){
814
-        this.$message.error('血管通路未填')
815
-      }else if(this.predialysis.catheter == ''){
816
-        this.$message.error('透前导管未填')
817
-      }else if(this.predialysis.internal_fistula == ''){
818
-        this.$message.error('透前内瘘未填')
819
-      }else if(this.prescription.anticoagulant == 0){
820
-        this.$message.error('抗凝药物未填')
821
-      }else if(this.predialysis.dry_weight == 0){
822
-        this.$message.error('干体重未填')
823
-      }else if(this.predialysis.weight_before == 0){
824
-        this.$message.error('净化前体重未填')
825
-      }else if(this.prescription.target_ultrafiltration == 0){
826
-        this.$message.error('预设脱水未填')
827
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
828
-        this.$message.error('净化时间未填')
829
-      }else if(this.afterdialysis.weight_after == 0){
830
-        this.$message.error('净化后体重未填')
831
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
832
-        this.$message.error('实际脱水未填')
833
-      }else if(this.prescription.conductivity == 0){
834
-        this.$message.error('电导度未填')
835
-      }else if(this.predialysis.temperature == ""){
836
-        this.$message.error('透前体温未填')
837
-      }else if(this.predialysis.pulse_frequency == ""){
838
-        this.$message.error('透前脉搏未填')
839
-      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
840
-        this.$message.error('透前血压未填完整')
841
-      }else if(this.receiverTreatmentAccess.way == 0){
842
-        this.$message.error('入室方式未填')
843
-      }else if(this.predialysis.dialysis_count == 0){
844
-        this.$message.error('透析频次未填')
845
-      }else if(this.predialysis.symptom_before_dialysis == ""){
846
-        this.$message.error('透析前症状未填')
847
-      }else if(this.predialysis.edema == ""){
848
-        this.$message.error('水肿未填')
849
-      }else if(this.predialysis.is_hemorrhage == 1 && (this.predialysis.hemorrhage == "" && this.predialysis.hemorrhage_other == "")){
850
-        this.$message.error('出血未填')
851
-      }else if(this.receiverTreatmentAccess.precaution == ''){
852
-        this.$message.error('跌倒风险预防措施未填')
853
-      }else if(this.prescription.prescription_doctor == 0){
854
-        this.$message.error('上机医生未填')
855
-      }else if(this.dialysisOrder == null || this.dialysisOrder.washpipe_nurse == 0){
856
-        this.$message.error('冲管护士未填')
857
-      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
858
-        this.$message.error('穿刺者未填')
859
-      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
860
-        this.$message.error('上机护士未填')
861
-      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
862
-        this.$message.error('下机护士未填')
863
-      }else if(this.afterdialysis.temperature == 0){
864
-        this.$message.error('透后体温未填')
865
-      }else if(this.afterdialysis.pulse_frequency == 0){
866
-        this.$message.error('透后脉搏未填')
867
-      }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
868
-        this.$message.error('透后血压未填完整')
869
-      }else if(this.afterdialysis.symptom_after_dialysis == ""){
870
-        this.$message.error('透后症状未填')
871
-      }else if(this.afterdialysis.actual_displacement == 0){
872
-        this.$message.error('实际置换量未填')
873
-      }else if(this.afterdialysis.is_eat == 0){
874
-        this.$message.error('透析期间进食未填')
875
-      }else if(this.predialysis.is_eat == 1 && this.predialysis.dialysis_during == 0){
876
-        this.$message.error('透析进食未填')
877
-      }else if(this.afterdialysis.cruor == ""){
878
-        this.$message.error('透析器凝血未填')
879
-      }else if(this.afterdialysis.arterial_tube == 0){
880
-        this.$message.error('动脉管道未填')
881
-      }else if(this.afterdialysis.intravenous_tube == 0){
882
-        this.$message.error('静脉管道未填')
883
-      }else if(this.afterdialysis.internal_fistula == ''){
884
-        this.$message.error('透后内瘘未填')
885
-      }else if(this.summary.dialysis_summary == ""){
886
-        this.$message.error('透析小结未填')
887
-      }else if(this.summary.special_record == ""){
888
-        this.$message.error('病情记录未填')
889
-      }else if(this.tableAdvice.length > 0){
890
-        let num = 0
891
-        if(this.tableAdvice.length > 0){
892
-          this.tableAdvice.map(item => {
893
-            if(item.id > 0 && (item.created_time || item.start_time)){
894
-              this.users.map(it => {
895
-                if(it.id == item.advice_doctor){
896
-                  if(it.user_type == 3){
897
-                    num++
898
-                    this.$message.closeAll()
899
-                    this.$message.error('存在不是医生保存的医嘱')
900
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
901
-                    if(it.user_type == 2){
902
-                      num++
903
-                      this.$message.closeAll()
904
-                      this.$message.error('存在不是护士执行的医嘱')
905
-                    }
906
-                  }else if(it.id == item.checker && item.checker > 0){
907
-                    if(it.user_type == 2){
908
-                      num++
909
-                      this.$message.closeAll()
910
-                      this.$message.error('存在不是护士核对的医嘱')
911
-                    }
912
-                  }
913
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
914
-                  if(it.user_type == 2){
915
-                    num++
916
-                    this.$message.closeAll()
917
-                    this.$message.error('存在不是护士执行的医嘱')
918
-                  }
919
-                }else if(it.id == item.checker && item.checker > 0){
920
-                  if(it.user_type == 2){
921
-                    num++
922
-                    this.$message.closeAll()
923
-                    this.$message.error('存在不是护士核对的医嘱')
924
-                  }
925
-                }
926
-              })
819
+      var checkDate =[]
820
+      var monearr = []
821
+      if(this.prescription.mode_id ==0){
822
+        const obj0 = '血液净化方式'
823
+        checkDate.push(obj0)
824
+      }
825
+      if(this.prescription.dialyzer_perfusion_apparatus ==''){
826
+        const obj = '血液净化器类型'
827
+        checkDate.push(obj)
828
+      } if(this.prescription.dialysate_formulation_name ==''){
829
+        const obj1 = '透析液配方'
830
+        checkDate.push(obj1)
831
+      } if(this.predialysis.blood_access_part_id ==''){
832
+        const obj2 = '血管通路部位'
833
+        checkDate.push(obj2)
834
+      } if(this.predialysis.blood_access_part_opera_name ==''){
835
+        const obj3 = '血管通路'
836
+        checkDate.push(obj3)
837
+      } if(this.predialysis.catheter == ''){
838
+        const obj4 = '透前导管'
839
+        checkDate.push(obj4)
840
+      } if(this.predialysis.internal_fistula ==''){
841
+        const obj5 = '透前内瘘'
842
+        checkDate.push(obj5)
843
+      } if(this.prescription.anticoagulant == 0){
844
+        const obj6 = '抗凝药物'
845
+        checkDate.push(obj6)
846
+      } if(this.prescription.anticoagulant_shouji ==''){
847
+        const obj7 = '首剂'
848
+        checkDate.push(obj7)
849
+      } if(this.prescription.anticoagulant_zongliang ==''){
850
+        const obj8 = '总量'
851
+        checkDate.push(obj8)
852
+      } if(this.predialysis.dry_weight ==''){
853
+        const obj9 = '干体重'
854
+        checkDate.push(obj9)
855
+      } if(this.predialysis.weight_before ==0){
856
+        const obj10 = '净化前体重'
857
+        checkDate.push(obj10)
858
+      } if(this.prescription.target_ultrafiltration == 0){
859
+        const obj11 = '预设脱水'
860
+        checkDate.push(obj11)
861
+      } if(this.afterdialysis.actual_treatment_hour == 0 &&
862
+           this.afterdialysis.actual_treatment_minute == 0
863
+      ){
864
+        const obj12 = '净化时间'
865
+        checkDate.push(obj12)
866
+      } if(this.afterdialysis.weight_after == 0){
867
+        const obj13 = '净化后体重'
868
+        checkDate.push(obj13)
869
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
870
+        const obj14 = '实际脱水'
871
+        checkDate.push(obj14)
872
+      } if(this.prescription.conductivity == 0){
873
+        const obj15 = '电导度'
874
+        checkDate.push(obj15)
875
+      } if(this.predialysis.temperature == ""){
876
+        const obj16 = '透前体温'
877
+        checkDate.push(obj16)
878
+      } if(this.predialysis.pulse_frequency == ""){
879
+        const obj17 = '透前脉搏'
880
+        checkDate.push(obj17)
881
+      } if(this.predialysis.systolic_blood_pressure == 0 ||
882
+            this.predialysis.diastolic_blood_pressure == 0
883
+      ){
884
+        const obj18 = '透前血压'
885
+        checkDate.push(obj18)
886
+      } if(this.receiverTreatmentAccess.way == 0){
887
+        const obj19 = '入室方式'
888
+        checkDate.push(obj19)
889
+      } if(this.predialysis.dialysis_count == 0){
890
+        const obj20 = '透析频次'
891
+        checkDate.push(obj20)
892
+      } if(this.predialysis.symptom_before_dialysis == ""){
893
+        const obj21 = '透析前症状'
894
+        checkDate.push(obj21)
895
+      } if(this.predialysis.edema == ""){
896
+        const obj22 = '水肿'
897
+        checkDate.push(obj22)
898
+      } if(this.predialysis.is_hemorrhage == 1 &&
899
+          (this.predialysis.hemorrhage == "" && this.predialysis.hemorrhage_other == "")
900
+      ){
901
+        const obj23 = '出血'
902
+        checkDate.push(obj23)
903
+      } if(this.receiverTreatmentAccess.precaution == ''){
904
+        const obj24 = '跌倒风险预防措施'
905
+        checkDate.push(obj24)
906
+      } if(this.prescription.prescription_doctor == 0){
907
+        const obj25 = '上机医生'
908
+        checkDate.push(obj25)
909
+      } if(this.dialysisOrder == null || this.dialysisOrder.washpipe_nurse == 0){
910
+        const obj26 = '冲管护士'
911
+        checkDate.push(obj26)
912
+      } if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
913
+        const obj27 = '穿刺者'
914
+        checkDate.push(obj27)
915
+      } if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
916
+        const obj28 = '上机护士'
917
+        checkDate.push(obj28)
918
+      } if(this.afterdialysis.temperature == 0){
919
+        const obj29 = '透后体温'
920
+        checkDate.push(obj29)
921
+      } if(this.afterdialysis.pulse_frequency == 0){
922
+        const obj30 = '透后脉搏'
923
+        checkDate.push(obj30)
924
+      } if(this.afterdialysis.systolic_blood_pressure == 0 ||
925
+            this.afterdialysis.diastolic_blood_pressure == 0
926
+      ){
927
+        const obj31 = '透后血压'
928
+        checkDate.push(obj31)
929
+      } if(this.afterdialysis.symptom_after_dialysis == ""){
930
+        const obj32 = '透后症状'
931
+        checkDate.push(obj32)
932
+      } if(this.afterdialysis.actual_displacement == 0){
933
+        const obj33 = '实际置换量'
934
+        checkDate.push(obj33)
935
+      } if(this.afterdialysis.is_eat == 0){
936
+        const obj34 = '透析期间进食'
937
+        checkDate.push(obj34)
938
+      } if(this.predialysis.is_eat == 1 && this.predialysis.dialysis_during == 0){
939
+        const obj35 = '透析进食'
940
+        checkDate.push(obj35)
941
+      } if(this.afterdialysis.cruor == ""){
942
+        const obj36 = '透析器凝血'
943
+        checkDate.push(obj36)
944
+      } if(this.afterdialysis.arterial_tube == 0){
945
+        const obj37 = '动脉管道'
946
+        checkDate.push(obj37)
947
+      } if(this.afterdialysis.intravenous_tube == 0){
948
+        const obj38 = '静脉管道'
949
+        checkDate.push(obj38)
950
+      } if(this.afterdialysis.internal_fistula == ''){
951
+        const obj39 = '透后内瘘'
952
+        checkDate.push(obj39)
953
+      } if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
954
+        const obj40 = '下机护士'
955
+        checkDate.push(obj40)
956
+      } if(this.summary.dialysis_summary == ""){
957
+        const obj41 = '透析小结'
958
+        checkDate.push(obj41)
959
+      } if(this.summary.special_record == ""){
960
+        const obj42 = '病情记录'
961
+        checkDate.push(obj42)
962
+      } if(this.tableAdvice.length > 0){
963
+        this.tableAdvice.map((item) =>{
964
+          if(item.id > 0 && (item.created_time || item.start_time)){
965
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
966
+              const obj43 = '执行人员,医生签名'
967
+              checkDate.push(obj43)
927 968
             }
969
+          }
928 970
         })
971
+      } if(this.monitors.length >0){
972
+        for(let i in this.monitors){
973
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
974
+                this.monitors.diastolic_blood_pressure==0){
975
+            const obj62 = '监测第'+((i*1)+1)+'行血压'
976
+            monearr.push(obj62)
977
+          } if(this.monitors[i].pulse_frequency ==0){
978
+            const obj60 = '监测第'+((i*1)+1)+'行脉搏'
979
+            monearr.push(obj60)
980
+          }
981
+          if(this.monitors[i].blood_flow_volume ==0){
982
+            const obj44 = '监测第'+((i*1)+1)+'行血流速'
983
+            monearr.push(obj44)
984
+          } if(this.monitors[i].venous_pressure ==0 &&this.monitors[i].arterial_pressure ==0){
985
+            const obj45 = '监测第'+((i*1)+1)+'行静脉压/动脉压'
986
+            monearr.push(obj45)
987
+          } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
988
+            const obj47= '监测第'+((i*1)+1)+'行超滤量'
989
+            monearr.push(obj47)
990
+          } if(this.monitors[i].transmembrane_pressure ==0){
991
+            const obj46 = '监测第'+((i*1)+1)+'行TMP'
992
+            monearr.push(obj46)
993
+          } if(this.monitors[i].conductivity == 0){
994
+            const obj47= '监测第'+((i*1)+1)+'行电导率'
995
+            monearr.push(obj47)
996
+          } if(this.monitors[i].dialysate_temperature == 0){
997
+            const obj51 = '监测第'+((i*1)+1)+'行温度'
998
+            monearr.push(obj51)
999
+          } if(this.monitors[i].ultrafiltration_rate ==0 ){
1000
+            const obj48 = '监测第'+((i*1)+1)+'行UF'
1001
+            monearr.push(obj48)
1002
+          }
929 1003
         }
930
-        
931
-        if(num == 0){
932
-          this.$message.success('核对完成')
933
-        }
934
-      }else{
935
-        this.$message.success('核对完成')
936 1004
       }
1005
+      if(monearr.length>0){
1006
+       checkDate =checkDate.concat(monearr)
1007
+        console.log('1111',checkDate.concat(monearr));
1008
+      }
1009
+      this.getcheckData(checkDate)
937 1010
     },
938 1011
     getNewAge (UUserCard) {
939 1012
       if (UUserCard != null && UUserCard != '') {
@@ -1490,6 +1563,16 @@ export default {
1490 1563
           return this.vascularAccess[i].name
1491 1564
         }
1492 1565
       }
1566
+    },
1567
+    getcheckData(val){
1568
+      if(val.length >0){
1569
+        const a = val.join(',')
1570
+        console.log('a',a);
1571
+        this.$toast(a +" 未填");
1572
+        return a
1573
+      }else{
1574
+        this.$toast('核对完成');
1575
+      }
1493 1576
     }
1494 1577
   },
1495 1578
   watch: {

+ 22 - 21
src/pages/main/template/DialysisPrintOrdereightyone.vue Dosyayı Görüntüle

@@ -277,15 +277,7 @@
277 277
                     </div>
278 278
                     ml/min
279 279
                   </div>
280
-                  <div class="inline_block" style="flex: 1;">
281
-                    预透时间:
282
-                    <div class="under_line"
283
-                      style=" width: 50%; text-align: center; white-space: normal; "
284
-                    >
285
-                      {{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0"}}h
286
-                      {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0"}}min
287
-                    </div>
288
-                  </div>
280
+                  
289 281
                 </div>
290 282
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
291 283
                   <div class="inline_block" style="flex: 1">
@@ -316,8 +308,25 @@
316 308
                       }}
317 309
                     </div>
318 310
                   </div>
319
-
320
-                  <div class="inline_block" style="flex: 1.3">
311
+                  <div class="inline_block" style="flex: 1;">
312
+                    预透时间:
313
+                    <div class="under_line"
314
+                      style=" width: 50%; text-align: center; white-space: normal; "
315
+                    >
316
+                      {{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0"}}h
317
+                      {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0"}}min
318
+                    </div>
319
+                  </div>
320
+                  <div class="inline_block" style="flex: 1">
321
+                    干体重:
322
+                    <div class="under_line" style="width: 100px; text-align: center">
323
+                      {{
324
+                        predialysis.dry_weight ? predialysis.dry_weight : "/"
325
+                      }}
326
+                    </div>
327
+                    kg
328
+                  </div>
329
+                  <!-- <div class="inline_block" style="flex: 1.3">
321 330
                     可复用透析器使用次数:
322 331
                     <div class="under_line"
323 332
                       style="width: 20%;text-align: center;white-space: normal;"
@@ -342,18 +351,10 @@
342 351
                       <span> 
343 352
                       </span>
344 353
                     </div>
345
-                  </div>
354
+                  </div> -->
346 355
                 </div>
347 356
                 <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
348
-                  <div class="inline_block" style="flex: 1">
349
-                    干体重:
350
-                    <div class="under_line" style="width: 100px; text-align: center">
351
-                      {{
352
-                        predialysis.dry_weight ? predialysis.dry_weight : "/"
353
-                      }}
354
-                    </div>
355
-                    kg
356
-                  </div>
357
+                  
357 358
                   <div class="inline_block" style="flex: 1">
358 359
                     上次透后体重:
359 360
                     <div class="under_line" style="width: 50px; text-align: center">