Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 month ago
parent
commit
ef53f716c1

File diff suppressed because it is too large
+ 1372 - 1738
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue


File diff suppressed because it is too large
+ 654 - 1239
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue


+ 30 - 46
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

@@ -191,48 +191,51 @@
191 191
                     <td style="text-align:left;margin-left:15px;padding-top:10px;">
192 192
                       抗凝剂:
193 193
                       <span class="under-line">
194
-                        &nbsp;{{ prescription.anticoagulant ? prescription.anticoagulant : "/" }}
194
+                        &nbsp;{{ prescription.anticoagulant_name ? prescription.anticoagulant_name : "/" }}
195 195
                       </span>
196 196
                     </td>
197 197
                     <td style="text-align:left;margin-left:15px">
198 198
                       首剂:<span class="under-line">
199 199
                         {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }}
200 200
                       </span>
201
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
202
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
203
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
204
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
205
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
206
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
207
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>&nbsp;
208
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
201
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu</span>
202
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
203
+                      <span v-if="prescription.anticoagulant == 5">mg</span>
204
+                      <span v-else-if="prescription.anticoagulant == 4">mg</span>
205
+                      <span v-else-if="prescription.anticoagulant == 3">iu</span>
206
+                      <span v-else-if="prescription.anticoagulant == 2">mg</span>
207
+                      <span v-else-if="prescription.anticoagulant == 1">mg</span>
208
+                      <span v-else-if="prescription.anticoagulant == 6">iu</span>
209
+                      <span v-else>iu</span>
209 210
                     </td>
210 211
                     <td style="text-align:left;margin-left:15px">
211 212
                       维持:
212 213
                       <span class="under-line">
213 214
                         &nbsp;{{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0" }}
214 215
                       </span>
215
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
216
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
217
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
218
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
219
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
220
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
221
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu/h</span>
222
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg/h</span>&nbsp;
216
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu/h</span>
217
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg/h</span>&nbsp;
218
+                      <span v-if="prescription.anticoagulant == 5">mg/h</span>
219
+                      <span v-else-if="prescription.anticoagulant == 4">mg/h</span>
220
+                      <span v-else-if="prescription.anticoagulant == 3">iu/h</span>
221
+                      <span v-else-if="prescription.anticoagulant == 2">mg/h</span>
222
+                      <span v-else-if="prescription.anticoagulant == 1">mg/h</span>
223
+                      <span v-else-if="prescription.anticoagulant == 6">iu/h</span>
224
+                      <span v-else>iu/h</span>
223 225
                     </td>
224 226
                     <td style="text-align:left;margin-left:15px">
225 227
                       总量:<span class="under-line">
226 228
                         &nbsp;{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
227 229
                         </span>
228
-                      <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
229
-                      <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
230
-                      <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
231
-                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
232
-                      <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
233
-                      <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
234
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>
235
-                      <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
230
+                      <span v-if="prescription.anticoagulant == 7&&(org_id!=9990&&org_id!=9675)">iu</span>
231
+                      <span v-else-if="prescription.anticoagulant == 7&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
232
+                      <span v-if="prescription.anticoagulant == 5">mg</span>
233
+                      <span v-else-if="prescription.anticoagulant == 4">mg</span>
234
+                      <span v-else-if="prescription.anticoagulant == 3">iu</span>
235
+                      <span v-else-if="prescription.anticoagulant == 2">mg</span>
236
+                      <span v-else-if="prescription.anticoagulant == 1">mg</span>
237
+                      <span v-else-if="prescription.anticoagulant == 6">iu</span>
238
+                      <span v-else>iu</span>
236 239
                     </td>
237 240
                   </tr>
238 241
                   <tr>
@@ -1105,12 +1108,7 @@ export default {
1105 1108
           this.doctorForm.url = doctorname.url;
1106 1109
           var prescription = response.data.data.dialysisPrescription;
1107 1110
           console.log("透析处方", prescription);
1108
-          if (prescription.anticoagulant == 6) {
1109
-            prescription.anticoagulant = "低分子肝素钙";
1110
-          }
1111
-          if (prescription.anticoagulant == 7) {
1112
-            prescription.anticoagulant = "低分子肝素钠";
1113
-          }
1111
+          
1114 1112
           if (prescription.blood_access === 1) {
1115 1113
             prescription.blood_access = "正常";
1116 1114
           }
@@ -1147,21 +1145,7 @@ export default {
1147 1145
           if (prescription.replacement_way === 4) {
1148 1146
             prescription.replacement_way = "混合置换";
1149 1147
           }
1150
-          if (prescription.anticoagulant === 1) {
1151
-            prescription.anticoagulant = "无肝素";
1152
-          }
1153
-          if (prescription.anticoagulant === 2) {
1154
-            prescription.anticoagulant = "普通肝素";
1155
-          }
1156
-          if (prescription.anticoagulant === 3) {
1157
-            prescription.anticoagulant = "低分子肝素";
1158
-          }
1159
-          if (prescription.anticoagulant === 4) {
1160
-            prescription.anticoagulant = "阿加曲班";
1161
-          }
1162
-          if (prescription.anticoagulant === 5) {
1163
-            prescription.anticoagulant = "枸橼酸钠";
1164
-          }
1148
+         
1165 1149
           this.prescription = prescription;
1166 1150
           var receiverTreatmentAccess =
1167 1151
             response.data.data.receiverTreatmentAccess;

File diff suppressed because it is too large
+ 666 - 1212
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue


File diff suppressed because it is too large
+ 969 - 1650
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue


File diff suppressed because it is too large
+ 1207 - 1443
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue


+ 176 - 201
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

@@ -26,7 +26,7 @@
26 26
               display: inline-block;
27 27
             "
28 28
           >
29
-            血液净化治疗记录单67
29
+            血液净化治疗记录单
30 30
           </div>
31 31
 
32 32
           <div class="infoTitle"> 透前情况</div>
@@ -705,219 +705,181 @@ export default {
705 705
     },
706 706
 
707 707
     checkData() {
708
-      if (this.receiverTreatmentAccess.way == 0) {
709
-        this.$message.error("入科方式未填");
710
-      } else if (this.predialysis.symptom_before_dialysis == "") {
711
-        this.$message.error("透前症状未填");
712
-      } else if (this.predialysis.temperature == "") {
713
-        this.$message.error("透前体温未填");
714
-      } else if (this.predialysis.pulse_frequency == "") {
715
-        this.$message.error("透前脉搏未填");
716
-      } else if (this.predialysis.breathing_rate == "") {
717
-        this.$message.error("透前呼吸频率未填");
718
-      } else if (
719
-        this.predialysis.systolic_blood_pressure == 0 ||
720
-        this.predialysis.diastolic_blood_pressure == 0
721
-      ) {
722
-        this.$message.error("透前血压未填完整");
723
-      } else if (this.predialysis.puncture_way == "") {
724
-        this.$message.error("穿刺方式未填");
725
-      } else if (this.predialysis.puncture_needle == "") {
726
-        this.$message.error("穿刺针未填");
727
-      } else if (
728
-        this.predialysis.blood_access_part_id == "" &&
729
-        this.predialysis.blood_access_part_opera_name == ""
730
-      ) {
731
-        this.$message.error("血管通路未填");
732
-      } else if (this.predialysis.internal_fistula == "") {
733
-        this.$message.error("透前内瘘未填");
734
-      } else if (this.predialysis.catheter == "") {
735
-        this.$message.error("透前导管未填");
736
-      } else if (this.prescription.mode_id == "") {
737
-        this.$message.error("透析方式未填");
738
-      } else if (
739
-        this.prescription.displace_liqui_part == 0 &&
740
-        this.prescription.mode_id == 2
741
-      ) {
742
-        this.$message.error("置换方式未填");
743
-      } else if (
744
-        this.prescription.displace_liqui_value == 0 &&
745
-        this.prescription.mode_id == 2
746
-      ) {
747
-        this.$message.error("置换量未填");
748
-      } else if (this.prescription.blood_flow_volume == 0) {
749
-        this.$message.error("血流量未填");
750
-      } else if (
751
-        this.prescription.dialysis_duration_hour == 0 &&
752
-        this.prescription.dialysis_duration_minute == 0
753
-      ) {
754
-        this.$message.error("透析时间未填");
755
-      } else if (
756
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
757
-        this.prescription.dialysis_dialyszers == ""
708
+      var checkDate =[]
709
+      if(this.predialysis.dry_weight == ''){
710
+        const obj = '干体重'
711
+        checkDate.push(obj)
712
+      } if(this.lastafterdialysis.weight_after ==''){
713
+        const obj1 = '上次透后体重'
714
+        checkDate.push(obj1)
715
+      } if(this.predialysis.weight_before ==''){
716
+        const obj2 = '透前体重'
717
+        checkDate.push(obj2)
718
+      } if(this.receiverTreatmentAccess.way ==''){
719
+        const obj3 = '入科方式'
720
+        checkDate.push(obj3)
721
+      } if(this.receiverTreatmentAccess.consciousness ==''){
722
+        const obj4 = '意识'
723
+        checkDate.push(obj4)
724
+      } if(this.predialysis.blood_access_part_opera_name ==''){
725
+        const obj5 = '血管通路'
726
+        checkDate.push(obj5)
727
+      } if(this.predialysis.blood_access_part_id == ''){
728
+        const obj6 = '部位'
729
+        checkDate.push(obj6)
730
+      } if(this.predialysis.internal_fistula ==''){
731
+        const obj7 = '通路评估'
732
+        checkDate.push(obj7)
733
+      } if(this.prescription.displace_liqui_part =='' && this.prescription.mode_id ==2){
734
+        const obj8 = '置换方式'
735
+        checkDate.push(obj8)
736
+      } if(this.prescription.displace_liqui_value =='' && this.prescription.mode_id ==2){
737
+        const obj9 = '置换总量'
738
+        checkDate.push(obj9)
739
+      } if(this.predialysis.temperature ==''){
740
+        const obj10 = '透前体温'
741
+        checkDate.push(obj10)
742
+      } if(this.predialysis.pulse_frequency == ''){
743
+        const obj11 ='透前脉搏'
744
+        checkDate.push(obj11)
745
+      } if(this.predialysis.breathing_rate == ''){
746
+        const obj12 ='透前呼吸'
747
+        checkDate.push(obj12)
748
+      } if(this.predialysis.systolic_blood_pressure =='' &&
749
+          this.predialysis.diastolic_blood_pressure == ''
758 750
       ) {
759
-        this.$message.error("透析器未填");
760
-      } else if (this.prescription.dialysis_irrigation == "") {
761
-        this.$message.error("灌流器未填");
762
-      } else if (
763
-        this.prescription.plasma_separator == "" &&
764
-        this.org_id == 9538
765
-      ) {
766
-        this.$message.error("血浆分离器未填");
767
-      } else if (
768
-        this.prescription.bilirubin_adsorption_column == "" &&
769
-        this.org_id == 9538
751
+        const obj13 ='透前血压'
752
+        checkDate.push(obj13)
753
+      } if(this.prescription.mode_id ==0){
754
+        const obj14 ='治疗模式'
755
+        checkDate.push(obj14)
756
+      } if(this.prescription.dialysis_duration_hour =="" &&
757
+          this.prescription.dialysis_duration_minute == ''
758
+      ){
759
+        const obj15 ='透析时长'
760
+        checkDate.push(obj15)
761
+      } if(this.prescription.target_ultrafiltration == ''){
762
+        const obj16 ='预超'
763
+        checkDate.push(obj16)
764
+      } if(this.prescription.blood_flow_volume == ''){
765
+        const obj17 = '血流量'
766
+        checkDate.push(obj17)
767
+      }  if(this.prescription.anticoagulant == 0) {
768
+        const obj18 = "抗凝剂"
769
+        checkDate.push(obj18)
770
+      } if(this.prescription.anticoagulant_shouji == 0 &&
771
+          this.prescription.anticoagulant != 5 &&
772
+          this.prescription.anticoagulant != 1
770 773
       ) {
771
-        this.$message.error("胆红素吸附柱未填");
772
-      } else if (this.predialysis.weight_before == 0) {
773
-        this.$message.error("透前体重未填");
774
-      } else if (this.predialysis.dry_weight == 0) {
775
-        this.$message.error("干体重未填");
776
-      } else if (this.prescription.target_ultrafiltration == 0) {
777
-        this.$message.error("计划超滤量未填");
778
-      } else if (this.prescription.calcium == 0) {
779
-        this.$message.error("钙未填");
780
-      } else if (this.prescription.sodium == 0) {
781
-        this.$message.error("钠未填");
782
-      } else if (this.prescription.kalium == 0) {
783
-        this.$message.error("钾未填");
784
-      } else if (this.prescription.bicarbonate == 0) {
785
-        this.$message.error("碳酸氢根未填");
786
-      } else if (this.prescription.dialysate_flow == 0) {
787
-        this.$message.error("透析液流量未填");
788
-      } else if (this.prescription.anticoagulant == 0) {
789
-        this.$message.error("抗凝剂未填");
790
-      } else if (
791
-        this.prescription.anticoagulant_gaimingcheng == "" &&
792
-        this.prescription.anticoagulant == 5
793
-      ) {
794
-        this.$message.error("钙名称未填");
795
-      } else if (
796
-        this.prescription.anticoagulant_gaijiliang == "" &&
797
-        this.prescription.anticoagulant == 5
798
-      ) {
799
-        this.$message.error("钙剂量未填");
800
-      } else if (this.afterdialysis.temperature == 0) {
801
-        this.$message.error("透后体温未填");
802
-      } else if (this.afterdialysis.pulse_frequency == 0) {
803
-        this.$message.error("透后脉搏未填");
804
-      } else if (this.afterdialysis.breathing_rate == 0) {
805
-        this.$message.error("透后呼吸频率未填");
806
-      } else if (
774
+        const obj19 = "首剂"
775
+        checkDate.push(obj19)
776
+      } if(this.prescription.anticoagulant_zongliang ==''&&
777
+          this.prescription.anticoagulant != 5 &&
778
+          this.prescription.anticoagulant != 1
779
+      ){
780
+        const obj20 ='总量'
781
+        checkDate.push(obj20);
782
+      } if(this.predialysis.machine_type == ''){
783
+        const obj21 ='透析机'
784
+        checkDate.push(obj21);
785
+      } if(this.prescription.dialysis_dialyszers == '' &&
786
+          this.prescription.dialysis_irrigation == ''
787
+      ){
788
+        const obj22 ='透析器/灌流器'
789
+        checkDate.push(obj22);
790
+      } if (this.prescription.dialysate_flow == 0) {
791
+        const obj23 = "流量"
792
+        checkDate.push(obj23)
793
+      } if(this.prescription.dialysate_temperature ==''){
794
+        const obj24 = "透析液温度"
795
+        checkDate.push(obj24)
796
+      } if(this.prescription.calcium == 0) {
797
+        const obj25 = "钙"
798
+        checkDate.push(obj25)
799
+      } if (this.prescription.sodium == 0) {
800
+        const obj26 = "钠"
801
+        checkDate.push(obj26)
802
+      } if (this.prescription.kalium == 0) {
803
+        const obj27 = "钾"
804
+        checkDate.push(obj27)
805
+      } if (this.prescription.bicarbonate == 0) {
806
+        const obj28 = "碳酸氢根"
807
+        checkDate.push(obj28)
808
+      } if(this.doctor_advices !=undefined &&
809
+          this.doctor_advices[0].advice_doctor ==''
810
+      ){
811
+        const obj29 = "处方医生"
812
+        checkDate.push(obj29)
813
+      } if (this.afterdialysis.weight_after == 0) {
814
+        const obj30 ='透后体重'
815
+        checkDate.push(obj30);
816
+      } if(this.afterdialysis.actual_ultrafiltration == 0){
817
+        const obj31 ='实际超滤量'
818
+        checkDate.push(obj31);
819
+      } if(this.afterdialysis.actual_treatment_hour ==0 &&
820
+          this.afterdialysis.actual_treatment_minute == 0
821
+      ){
822
+        const obj32 ='实际治疗时长'
823
+        checkDate.push(obj32);
824
+      } if (this.afterdialysis.temperature == 0) {
825
+        const obj33 ='透后体温'
826
+        checkDate.push(obj33);
827
+      } if (this.afterdialysis.pulse_frequency == 0) {
828
+        const obj34 ='透后脉搏'
829
+        checkDate.push(obj34);
830
+      } if (this.afterdialysis.breathing_rate == 0) {
831
+        const obj35 ='透后呼吸频率'
832
+        checkDate.push(obj35);
833
+      } if (
807 834
         this.afterdialysis.systolic_blood_pressure == 0 ||
808 835
         this.afterdialysis.diastolic_blood_pressure == 0
809 836
       ) {
810
-        this.$message.error("透后血压未填完整");
811
-      } else if (
812
-        this.afterdialysis.actual_treatment_hour == 0 &&
813
-        this.afterdialysis.actual_treatment_minute == 0
814
-      ) {
815
-        this.$message.error("实际治疗时间未填");
816
-      } else if (this.afterdialysis.cruor == "") {
817
-        this.$message.error("透析器凝血未填");
818
-      } else if (this.afterdialysis.internal_fistula == "") {
819
-        this.$message.error("透后内瘘未填");
820
-      } else if (this.afterdialysis.catheter == "") {
821
-        this.$message.error("透后导管未填");
822
-      } else if (this.afterdialysis.weight_after == 0) {
823
-        this.$message.error("透后体重未填");
824
-      } else if (this.afterdialysis.weight_loss == 0) {
825
-        this.$message.error("透后体重减少未填");
826
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
827
-        this.$message.error("透析中入量未填");
828
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
829
-        this.$message.error("实际超滤量未填");
830
-      } else if (this.summary.dialysis_summary == "") {
831
-        this.$message.error("透析小结未填");
832
-      } else if (
833
-        this.dialysisOrder == null ||
834
-        this.dialysisOrder.puncture_nurse == 0
835
-      ) {
836
-        this.$message.error("穿刺护士未填");
837
-      } else if (
837
+        const obj36 ='透后血压'
838
+        checkDate.push(obj36);
839
+      } if(this.afterdialysis.internal_fistula == '' && this.afterdialysis.catheter ==''){
840
+        const obj37 ='通路评估'
841
+        checkDate.push(obj37);
842
+      } if(this.afterdialysis.cruor ==''){
843
+        const obj38 ='透析器凝血'
844
+        checkDate.push(obj38);
845
+      } if(this.afterdialysis.actual_displacement == '' && this.prescription.mode_id ==2){
846
+        const obj39 ='实际置换量'
847
+        checkDate.push(obj39);
848
+      } if (this.summary.dialysis_summary == "") {
849
+        const obj40 ='透析小结'
850
+        checkDate.push(obj40);
851
+      } if (
838 852
         this.dialysisOrder == null ||
839 853
         this.dialysisOrder.start_nurse == 0
840 854
       ) {
841
-        this.$message.error("治疗护士未填");
842
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
843
-        this.$message.error("核对人员未填");
844
-      } else if (
845
-        this.dialysisOrder != null &&
846
-        this.dialysisOrder.start_nurse == this.check.modifier &&
847
-        this.check.creater == 0
855
+        const obj41 ='上机护士'
856
+        checkDate.push(obj41);
857
+      } if (
858
+        this.check == null || this.check.modifier == 0
848 859
       ) {
849
-        this.$message.error("核对人员未填");
850
-      } else if (
860
+        const obj42 ='核对护士'
861
+        checkDate.push(obj42);
862
+      } if (
851 863
         this.dialysisOrder != null &&
852
-        this.dialysisOrder.start_nurse == this.check.creater &&
853
-        this.check.modifier == 0
864
+        this.dialysisOrder.finish_nurse ==''
854 865
       ) {
855
-        this.$message.error("核对人员未填");
856
-      } else if (
857
-        this.dialysisOrder != null &&
858
-        this.dialysisOrder.start_nurse != this.check.creater &&
859
-        this.dialysisOrder.start_nurse != this.check.modifier &&
860
-        this.check.creater == 0
861
-      ) {
862
-        this.$message.error("核对人员未填");
863
-      } else if (
864
-        this.dialysisOrder == null ||
865
-        this.dialysisOrder.finish_nurse == 0
866
-      ) {
867
-        this.$message.error("下机护士未填");
868
-      } else if (this.prescription.creater == 0) {
869
-        this.$message.error("医生签名未填");
870
-      } else if (this.tableAdvice.length > 0) {
871
-        let num = 0;
872
-        this.tableAdvice.map((item) => {
873
-          if (item.id > 0 && (item.created_time || item.start_time)) {
874
-            this.users.map((it) => {
875
-              if (it.id == item.advice_doctor) {
876
-                if (it.user_type == 3) {
877
-                  num++;
878
-                  this.$message.closeAll();
879
-                  this.$message.error("存在不是医生保存的医嘱");
880
-                } else if (
881
-                  it.id == item.execution_staff &&
882
-                  item.execution_staff > 0
883
-                ) {
884
-                  if (it.user_type == 2) {
885
-                    num++;
886
-                    this.$message.closeAll();
887
-                    this.$message.error("存在不是护士执行的医嘱");
888
-                  }
889
-                } else if (it.id == item.checker && item.checker > 0) {
890
-                  if (it.user_type == 2) {
891
-                    num++;
892
-                    this.$message.closeAll();
893
-                    this.$message.error("存在不是护士核对的医嘱");
894
-                  }
895
-                }
896
-              } else if (
897
-                it.id == item.execution_staff &&
898
-                item.execution_staff > 0
899
-              ) {
900
-                if (it.user_type == 2) {
901
-                  num++;
902
-                  this.$message.closeAll();
903
-                  this.$message.error("存在不是护士执行的医嘱");
904
-                }
905
-              } else if (it.id == item.checker && item.checker > 0) {
906
-                if (it.user_type == 2) {
907
-                  num++;
908
-                  this.$message.closeAll();
909
-                  this.$message.error("存在不是护士核对的医嘱");
910
-                }
911
-              }
912
-            });
866
+        const obj43 ='下机护士'
867
+        checkDate.push(obj43);
868
+      } if (this.prescription.creater == 0 && this.doctor_advices[0]!=null&& this.doctor_advices[0].advice_doctor==0) {
869
+        const obj44 ='医生签名'
870
+        checkDate.push(obj44);
871
+      } if(this.doctor_advices.length>0 && this.org_id != 10375){
872
+        this.doctor_advices.map((item) =>{
873
+          if(item.id > 0 && (item.created_time || item.start_time)){
874
+            if(item.execution_staff ==0 || item.advice_doctor ==0 || item.checker ==0){
875
+              const obj45 = '执行人员,医生签名,核对人员'
876
+              checkDate.push(obj45)
877
+            }
913 878
           }
914
-        });
915
-        if (num == 0) {
916
-          this.$message.success("核对完成");
917
-        }
918
-      } else {
919
-        this.$message.success("核对完成");
879
+        })
920 880
       }
881
+
882
+      this.getcheckData(checkDate)
921 883
     },
922 884
     getDisplaceLiquiPart: function (val) {
923 885
       let displace_liqui_part_name = "/";
@@ -1069,6 +1031,7 @@ export default {
1069 1031
 
1070 1032
         this.users = response.data.data.users;
1071 1033
         this.patientInfo = response.data.data.patientInfo;
1034
+        console.log('11111response.data.data',response.data.data);
1072 1035
 
1073 1036
         this.patientInfo.birth = uParseTime(
1074 1037
           this.patientInfo.birthday,
@@ -1507,6 +1470,18 @@ export default {
1507 1470
         return "0.0";
1508 1471
       }
1509 1472
     },
1473
+    getcheckData(val){
1474
+      if(val.length >0){
1475
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1476
+        this.$alert(message, '提示', {
1477
+          confirmButtonText: '确定',
1478
+          type: 'warning',
1479
+          dangerouslyUseHTMLString: true,
1480
+        });
1481
+      }else{
1482
+        this.$message.success('核对完成')
1483
+      }
1484
+    }
1510 1485
   },
1511 1486
   watch: {
1512 1487
     "patientInfo.gender": function () {