Browse Source

25 3月13 打印单

yq1 4 weeks ago
parent
commit
ef226e2ce7

+ 256 - 223
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -277,7 +277,7 @@
277 277
               <span style="display:inline-block;margin-left:15px;">
278 278
                 <span v-if="orderForm.url === ''" style="display:flex;align-items:center;">抗凝剂执行护士:{{
279 279
                   orderForm.start_nurse
280
-                  }}</span>
280
+                }}</span>
281 281
                 <span v-if="orderForm.url !== ''" style="display:flex;align-items:center;height:36px;">
282 282
                   抗凝剂执行护士:
283 283
                   <img :src="orderForm.url" style="height:30px;" />
@@ -287,7 +287,10 @@
287 287
             <td style="text-align:left;" colspan="3">
288 288
               <span style="display:inline-block;margin-left:15px;">
289 289
                 <span style="display:flex;align-items:center;"
290
-                  v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">医生签名:{{ getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) }}</span>
290
+                  v-if="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater)) == ''">医生签名:{{
291
+                    getAdminUser(prescription == null ? 0 : (prescription.prescription_doctor ?
292
+                      prescription.prescription_doctor :
293
+                  prescription.creater)) }}</span>
291 294
                 <span v-else style="display:flex;align-items:center;height:36px;">医生签名:
292 295
                   <img style="height:30px;"
293 296
                     :src="setAdminUserES(prescription == null ? 0 : (prescription.prescription_doctor ? prescription.prescription_doctor : prescription.creater))"
@@ -300,18 +303,18 @@
300 303
             <td style="text-align:left;" colspan="4">
301 304
               <span style="display:inline-block;margin-left:15px;">
302 305
                 透前评估: 入科方式:
303
-                <span v-for="(item,index) in ways" :key="index">
306
+                <span v-for="(item, index) in ways" :key="index">
304 307
                   <label-box :isChecked="receiverTreatmentAccess.way == item.id ? true : false"
305
-                  :showValue="item.name"></label-box>&nbsp;
308
+                    :showValue="item.name"></label-box>&nbsp;
306 309
                 </span>
307 310
               </span>
308 311
             </td>
309 312
             <td style="text-align:left;" colspan="4">
310 313
               <span style="display:inline-block;margin-left:15px;">
311 314
                 意识:
312
-                <span v-for="(item,index) in consciousnesses" :key="index">
315
+                <span v-for="(item, index) in consciousnesses" :key="index">
313 316
                   <label-box :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false"
314
-                  :showValue="item.name"></label-box>&nbsp;
317
+                    :showValue="item.name"></label-box>&nbsp;
315 318
                 </span>
316 319
               </span>
317 320
             </td>
@@ -319,9 +322,9 @@
319 322
           <tr>
320 323
             <td colspan="2" style="text-align:left;">
321 324
               <span style="display:inline-block;margin-left:15px;">食欲:</span>
322
-              <span v-for="(item,index) in appetites" :key="index">
325
+              <span v-for="(item, index) in appetites" :key="index">
323 326
                 <label-box :isChecked="receiverTreatmentAccess.appetite == item.id ? true : false"
324
-                :showValue="item.name"></label-box>&nbsp;
327
+                  :showValue="item.name"></label-box>&nbsp;
325 328
               </span>
326 329
             </td>
327 330
             <td colspan="2" style="text-align:left;">
@@ -335,9 +338,9 @@
335 338
             <td colspan="3" style="text-align:left;">
336 339
               <span style="display:inline-block;margin-left:15px;">
337 340
                 体位:
338
-                <span v-for="(item,index) in postures" :key="index">
341
+                <span v-for="(item, index) in postures" :key="index">
339 342
                   <label-box :isChecked="receiverTreatmentAccess.posture == item.id ? true : false"
340
-                  :showValue="item.name"></label-box>&nbsp;
343
+                    :showValue="item.name"></label-box>&nbsp;
341 344
                 </span>
342 345
               </span>
343 346
             </td>
@@ -345,27 +348,25 @@
345 348
           <tr>
346 349
             <td colspan="8" style="text-align:left;">
347 350
               <span style="display:inline-block;margin-left:15px;">
348
-                
349
-                  血管通路:内瘘波动及震颤: (&nbsp;
350
-                  <label-box
351
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
352
-                    showValue="存在"></label-box>
353
-                  <label-box
354
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
355
-                    showValue="减弱"></label-box>
356
-                  <label-box
357
-                    :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
358
-                    showValue="消失"></label-box>
359
-                  )
360
-                  <span style="display:inline-block;" v-if="org_id!=10293 && org_id !=0">
361
-                    <label-box v-for="(item, index) in arrtwo" :key="index" :isChecked="predialysis.blood_access_part_opera_id == item.id
362
-                        ? true
363
-                        : false
364
-                      " :showValue="item.name"></label-box>
365
-                  </span>
366
-                  <span v-if="org_id==10293||org_id==0">
367
-                    &nbsp;&nbsp;<span>{{ predialysis.blood_access_part_id }}&nbsp;</span>{{predialysis.blood_access_part_opera_name}}
368
-                  </span>
351
+
352
+                血管通路:内瘘波动及震颤: (&nbsp;
353
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false"
354
+                  showValue="存在"></label-box>
355
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false"
356
+                  showValue="减弱"></label-box>
357
+                <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false"
358
+                  showValue="消失"></label-box>
359
+                )
360
+                <span style="display:inline-block;" v-if="org_id != 10293 && org_id != 0">
361
+                  <label-box v-for="(item, index) in arrtwo" :key="index" :isChecked="predialysis.blood_access_part_opera_id == item.id
362
+                    ? true
363
+                    : false
364
+                    " :showValue="item.name"></label-box>
365
+                </span>
366
+                <span v-if="org_id == 10293 || org_id == 0">
367
+                  &nbsp;&nbsp;<span>{{ predialysis.blood_access_part_id
368
+                    }}&nbsp;</span>{{ predialysis.blood_access_part_opera_name }}
369
+                </span>
369 370
               </span>
370 371
             </td>
371 372
           </tr>
@@ -398,20 +399,20 @@
398 399
               <span style="display:inline-block;margin-left:15px;">
399 400
                 血管通路皮肤情况:
400 401
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1
401
-                    ? true
402
-                    : false
402
+                  ? true
403
+                  : false
403 404
                   " showValue="正常"></label-box>&nbsp;
404 405
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('淤血') > -1
405
-                    ? true
406
-                    : false
406
+                  ? true
407
+                  : false
407 408
                   " showValue="淤血"></label-box>&nbsp;
408 409
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1
409
-                    ? true
410
-                    : false
410
+                  ? true
411
+                  : false
411 412
                   " showValue="红"></label-box>&nbsp;
412 413
                 <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1
413
-                    ? true
414
-                    : false
414
+                  ? true
415
+                  : false
415 416
                   " showValue="肿"></label-box>
416 417
                 <!-- 其他: -->
417 418
               </span>
@@ -447,24 +448,24 @@
447 448
               <label-box showValue="无" :isChecked="predialysis.is_hemorrhage == 2 ? true : false"></label-box>
448 449
               <label-box showValue="异常" :isChecked="predialysis.is_hemorrhage == 1 ? true : false"></label-box>&nbsp;
449 450
               <label-box showValue="穿刺点渗血" :isChecked="predialysis.is_hemorrhage == 1 &&
450
-                  predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
451
-                  ? true
452
-                  : false
451
+                predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
452
+                ? true
453
+                : false
453 454
                 "></label-box>
454 455
               <label-box showValue="牙龈出血" :isChecked="predialysis.is_hemorrhage == 1 &&
455
-                  predialysis.hemorrhage.indexOf('牙龈出血') > -1
456
-                  ? true
457
-                  : false
456
+                predialysis.hemorrhage.indexOf('牙龈出血') > -1
457
+                ? true
458
+                : false
458 459
                 "></label-box>
459 460
               <label-box showValue="消化道出血" :isChecked="predialysis.is_hemorrhage == 1 &&
460
-                  predialysis.hemorrhage.indexOf('消化道出血') > -1
461
-                  ? true
462
-                  : false
461
+                predialysis.hemorrhage.indexOf('消化道出血') > -1
462
+                ? true
463
+                : false
463 464
                 "></label-box>
464 465
               <label-box showValue="女性经期" :isChecked="predialysis.is_hemorrhage == 1 &&
465
-                  predialysis.hemorrhage.indexOf('女性经期') > -1
466
-                  ? true
467
-                  : false
466
+                predialysis.hemorrhage.indexOf('女性经期') > -1
467
+                ? true
468
+                : false
468 469
                 "></label-box>其他:
469 470
               <span>{{ predialysis.hemorrhage_other }}</span>
470 471
             </td>
@@ -498,20 +499,20 @@
498 499
                 "></label-box>
499 500
               <span>&nbsp;&nbsp;</span>跌倒风险预防措施:
500 501
               <label-box showValue="镇定剂" :isChecked="receiverTreatmentAccess.precaution.indexOf('镇定剂') > -1
501
-                  ? true
502
-                  : false
502
+                ? true
503
+                : false
503 504
                 "></label-box>
504 505
               <label-box showValue="约束带" :isChecked="receiverTreatmentAccess.precaution.indexOf('约束带') > -1
505
-                  ? true
506
-                  : false
506
+                ? true
507
+                : false
507 508
                 "></label-box>
508 509
               <label-box showValue="床栏" :isChecked="receiverTreatmentAccess.precaution.indexOf('床栏') > -1
509
-                  ? true
510
-                  : false
510
+                ? true
511
+                : false
511 512
                 "></label-box>
512 513
               <label-box showValue="加强宣教" :isChecked="receiverTreatmentAccess.precaution.indexOf('加强宣教') > -1
513
-                  ? true
514
-                  : false
514
+                ? true
515
+                : false
515 516
                 "></label-box>
516 517
             </td>
517 518
           </tr>
@@ -626,16 +627,16 @@
626 627
               <span style="display:inline-block;margin-left:15px;">
627 628
                 内瘘搏动及震颤音:
628 629
                 <label-box showValue="存在" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在') > -1
629
-                    ? true
630
-                    : false
630
+                  ? true
631
+                  : false
631 632
                   "></label-box>
632 633
                 <label-box showValue="减弱" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1
633
-                    ? true
634
-                    : false
634
+                  ? true
635
+                  : false
635 636
                   "></label-box>
636 637
                 <label-box showValue="不存在" :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1
637
-                    ? true
638
-                    : false
638
+                  ? true
639
+                  : false
639 640
                   "></label-box>
640 641
               </span>&nbsp;
641 642
               <span>
@@ -1034,168 +1035,186 @@ export default {
1034 1035
       special_record: '',
1035 1036
       newTableAdvice: [],
1036 1037
       qualityNurse: {},
1037
-      org_id:'',
1038
+      org_id: '',
1038 1039
     }
1039 1040
   },
1040 1041
   methods: {
1041 1042
     checkData() {
1042
-      if (this.receiverTreatmentAccess.condition == 0) {
1043
-        this.$message.error('门诊或住院未填')
1044
-      } else if (this.receiverTreatmentAccess.condition == 1 && this.receiverTreatmentAccess.admission_number == '') {
1045
-        this.$message.error('住院号未填')
1046
-      } else if (this.receiverTreatmentAccess.condition == 2 && this.patientInfo.admission_number == '') {
1047
-        this.$message.error('门诊号未填')
1048
-      } else if (this.prescription.mode_id == "") {
1049
-        this.$message.error('治疗方式未填')
1050
-      } else if (this.predialysis.dry_weight == 0) {
1051
-        this.$message.error('干体重未填')
1052
-      } else if (this.prescription.conductivity == 0) {
1053
-        this.$message.error('电导率未填')
1054
-      } else if (this.prescription.calcium == 0) {
1055
-        this.$message.error('钙未填')
1056
-      } else if (this.prescription.dialysate_temperature == 0) {
1057
-        this.$message.error('透析液温度未填')
1058
-      } else if (this.predialysis.weight_before == 0) {
1059
-        this.$message.error('透前体重未填')
1060
-      } else if (this.prescription.target_ultrafiltration == 0) {
1061
-        this.$message.error('设定脱水量未填')
1062
-      } else if (this.prescription.anticoagulant == 0) {
1063
-        this.$message.error('抗凝剂未填')
1064
-      } else if (this.afterdialysis.weight_after == 0) {
1065
-        this.$message.error('透后体重未填')
1066
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1067
-        this.$message.error('实际脱水量未填')
1068
-      } else if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1069
-        this.$message.error('透析时间未填')
1070
-      } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
1071
-        this.$message.error('透析器型号未填')
1072
-      } else if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1073
-        this.$message.error('置换方式未填')
1074
-      } else if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1075
-        this.$message.error('置换量未填')
1076
-      } else if (this.orderForm.start_nurse == "") {
1077
-        this.$message.error('责任护士未填')
1078
-      } else if (this.orderForm.start_nurse == "") {
1079
-        this.$message.error('上机护士未填')
1080
-      } else if (this.orderForm.start_nurse == "") {
1081
-        this.$message.error('抗凝剂执行护士未填')
1082
-      } else if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
1083
-        this.$message.error('医生签名未填')
1084
-      } else if (this.receiverTreatmentAccess.way == 0) {
1085
-        this.$message.error('入科方式未填')
1086
-      } else if (this.receiverTreatmentAccess.consciousness == 0) {
1087
-        this.$message.error('意识未填')
1088
-      } else if (this.receiverTreatmentAccess.appetite == 0) {
1089
-        this.$message.error('食欲未填')
1090
-      } else if (this.predialysis.temperature == 0) {
1091
-        this.$message.error('透前体温未填')
1092
-      } else if (this.receiverTreatmentAccess.posture == 0) {
1093
-        this.$message.error('体位未填')
1094
-      } else if (this.predialysis.blood_access_part_opera_name == '') {
1095
-        this.$message.error('内瘘波动及震颤未填')
1096
-      } else if (this.predialysis.blood_access_part_id == 0) {
1097
-        this.$message.error('中心静脉导管部位未填')
1098
-      } else if (this.predialysis.venous_catheterization == 0) {
1099
-        this.$message.error('中心静脉导管未填')
1100
-      } else if (this.predialysis.catheter == '') {
1101
-        this.$message.error('中心静脉导管感染未填')
1102
-      } else if (this.predialysis.internal_fistula_skin == '') {
1103
-        this.$message.error('血管通路皮肤情况未填')
1104
-      } else if (this.predialysis.skin == '') {
1105
-        this.$message.error('皮肤未填')
1106
-      } else if (this.predialysis.is_hemorrhage == 0) {
1107
-        this.$message.error('是否出血未填')
1108
-      } else if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1109
-        this.$message.error('出血影响因素未填')
1110
-      } else if (this.predialysis.special_medicine_other == '') {
1111
-        this.$message.error('使用特殊药物未填')
1112
-      } else if (this.receiverTreatmentAccess.danger_level == 0) {
1113
-        this.$message.error('跌倒风险未填')
1114
-      } else if (this.receiverTreatmentAccess.precaution == '') {
1115
-        this.$message.error('跌倒风险预防措施未填')
1116
-      } else if (this.nursing_record == '') {
1117
-        this.$message.error('透析护理记录未填')
1118
-      } else if (this.afterdialysis.dialysis_process == 0) {
1119
-        this.$message.error('透析过程未填')
1120
-      } else if (this.afterdialysis.complication == "") {
1121
-        this.$message.error('透后并发症未填')
1122
-      } else if (this.afterdialysis.actual_displacement == 0) {
1123
-        this.$message.error('实际置换量未填')
1124
-      } else if (this.afterdialysis.internal_fistula == "") {
1125
-        this.$message.error('内瘘搏动及震颤音未填')
1126
-      } else if (this.afterdialysis.cruor == "") {
1127
-        this.$message.error('透析器及管路凝血情况未填')
1128
-      } else if (this.afterdialysis.is_eat == 0) {
1129
-        this.$message.error('透析中进食未填')
1130
-      } else if (this.afterdialysis.patient_gose == 0) {
1131
-        this.$message.error('患者去向未填')
1132
-      } else if (this.finshForm.finish_nurse == "") {
1133
-        this.$message.error('下机护士未填')
1134
-      } else if (this.special_record == "") {
1135
-        this.$message.error('特殊记录未填')
1136
-      } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
1137
-        let num = 0
1138
-        if (this.monitors.length > 0) {
1139
-          this.monitors.map(item => {
1140
-            if (item.id > 0 && item.operate_time) {
1141
-              this.users.map(it => {
1142
-                if (it.id == item.monitoring_nurse) {
1143
-                  if (it.user_type == 2) {
1144
-                    num++
1145
-                    this.$message.closeAll()
1146
-                    this.$message.error('存在不是护士保存的监测')
1147
-                  }
1148
-                }
1149
-              })
1150
-            }
1151
-          })
1043
+      var checkdata = []
1044
+      if (this.prescription.mode_id == "") {
1045
+        const obj = '治疗方式'
1046
+        checkdata.push(obj)
1047
+      } if (this.predialysis.dry_weight == 0) {
1048
+        const obj1 = '干体重'
1049
+        checkdata.push(obj1)
1050
+      } if (this.prescription.conductivity == 0) {
1051
+        const obj2 = '电导率'
1052
+        checkdata.push(obj2)
1053
+      } if (this.prescription.calcium == 0) {
1054
+        const obj3 = '钙'
1055
+        checkdata.push(obj3)
1056
+      } if (this.prescription.dialysate_temperature == 0) {
1057
+        const obj4 = '透析液温度'
1058
+        checkdata.push(obj4)
1059
+      } if (this.predialysis.weight_before == 0) {
1060
+        const obj5 = '透前体重'
1061
+        checkdata.push(obj5)
1062
+      } if (this.prescription.target_ultrafiltration == 0) {
1063
+        const obj6 = '设定脱水量'
1064
+        checkdata.push(obj6)
1065
+      } if (this.prescription.anticoagulant == 0) {
1066
+        const obj7 = '抗凝剂'
1067
+        checkdata.push(obj7)
1068
+      } if (this.afterdialysis.weight_after == 0) {
1069
+        const obj8 = '透后体重'
1070
+        checkdata.push(obj8)
1071
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1072
+        const obj9 = '实际脱水量'
1073
+        checkdata.push(obj9)
1074
+      } if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1075
+        const obj10 = '透析时间'
1076
+        checkdata.push(obj10)
1077
+      } if (this.prescription.dialyzer_perfusion_apparatus == "") {
1078
+        const obj11 = '透析器型号'
1079
+        checkdata.push(obj11)
1080
+      } if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1081
+        const obj12 = '置换方式'
1082
+        checkdata.push(obj12)
1083
+      } if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1084
+        const obj13 = '置换量'
1085
+        checkdata.push(obj13)
1086
+      } if (this.orderForm.start_nurse == "") {
1087
+        const obj14 = '责任护士'
1088
+        checkdata.push(obj14)
1089
+      } if (this.orderForm.start_nurse == "") {
1090
+        const obj15 = '上机护士'
1091
+        checkdata.push(obj15)
1092
+      } if (this.orderForm.start_nurse == "") {
1093
+        const obj16 = '抗凝剂执行护士'
1094
+        checkdata.push(obj16)
1095
+      } if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
1096
+        const obj17 = '医生签名'
1097
+        checkdata.push(obj17)
1098
+      } if (this.receiverTreatmentAccess.way == 0) {
1099
+        const obj18 = '入科方式'
1100
+        checkdata.push(obj18)
1101
+      } if (this.receiverTreatmentAccess.consciousness == 0) {
1102
+        const obj19 = '意识'
1103
+        checkdata.push(obj19)
1104
+      } if (this.receiverTreatmentAccess.appetite == 0) {
1105
+        const obj20 = '食欲'
1106
+        checkdata.push(obj20)
1107
+      } if (this.predialysis.temperature == 0) {
1108
+        const obj21 = '透前体温'
1109
+        checkdata.push(obj21)
1110
+      } if (this.receiverTreatmentAccess.posture == 0) {
1111
+        const obj22 = '体位'
1112
+        checkdata.push(obj22)
1113
+      } if (this.predialysis.blood_access_part_opera_name == '') {
1114
+        const obj23 = '内瘘波动及震颤'
1115
+        checkdata.push(obj23)
1116
+      } if (this.predialysis.blood_access_part_id == 0) {
1117
+        const obj24 = '中心静脉导管部位'
1118
+        checkdata.push(obj24)
1119
+      } if (this.predialysis.venous_catheterization == 0) {
1120
+        const obj25 = '中心静脉导管'
1121
+        checkdata.push(obj25)
1122
+      } if (this.predialysis.catheter == '') {
1123
+        const obj26 = '中心静脉导管感染'
1124
+        checkdata.push(obj26)
1125
+      } if (this.predialysis.internal_fistula_skin == '') {
1126
+        const obj27 = '血管通路皮肤情况'
1127
+        checkdata.push(obj27)
1128
+      } if (this.predialysis.skin == '') {
1129
+        const obj28 = '皮肤'
1130
+        checkdata.push(obj28)
1131
+      } if (this.predialysis.is_hemorrhage == 0) {
1132
+        const obj29 = '是否出血'
1133
+        checkdata.push(obj29)
1134
+      } if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1135
+        const obj30 = '出血影响因素'
1136
+        checkdata.push(obj30)
1137
+      } if (this.predialysis.special_medicine_other == '') {
1138
+        const obj31 = '使用特殊药物'
1139
+        checkdata.push(obj31)
1140
+      } if (this.receiverTreatmentAccess.danger_level == 0) {
1141
+        const obj32 = '跌倒风险'
1142
+        checkdata.push(obj32)
1143
+      } if (this.receiverTreatmentAccess.precaution == '') {
1144
+        const obj33 = '跌倒风险预防措施'
1145
+        checkdata.push(obj33)
1146
+      } if (this.nursing_record == '') {
1147
+        const obj34 = '透析护理记录'
1148
+        checkdata.push(obj34)
1149
+      } if (this.afterdialysis.dialysis_process == 0) {
1150
+        const obj35 = '透析过程'
1151
+        checkdata.push(obj35)
1152
+      } if (this.afterdialysis.complication == "") {
1153
+        const obj36 = '透后并发症'
1154
+        checkdata.push(obj36)
1155
+      } if (this.afterdialysis.actual_displacement == 0) {
1156
+        const obj37 = '实际置换量'
1157
+        checkdata.push(obj37)
1158
+      } if (this.afterdialysis.internal_fistula == "") {
1159
+        const obj38 = '内瘘搏动及震颤音'
1160
+        checkdata.push(obj38)
1161
+      } if (this.afterdialysis.cruor == "") {
1162
+        const obj39 = '透析器及管路凝血情况'
1163
+        checkdata.push(obj39)
1164
+      } if (this.afterdialysis.is_eat == 0) {
1165
+        const obj40 = '透析中进食'
1166
+        checkdata.push(obj40)
1167
+      } if (this.afterdialysis.patient_gose == 0) {
1168
+        const obj41 = '患者去向'
1169
+        checkdata.push(obj41)
1170
+      } if (this.finshForm.finish_nurse == "") {
1171
+        const obj42 = '下机护士'
1172
+        checkdata.push(obj42)
1173
+      } if (this.special_record == "") {
1174
+        const obj43 = '特殊记录'
1175
+        checkdata.push(obj43)
1176
+      }
1177
+      if (this.monitors.length > 0) {
1178
+        for(let i in this.monitors){
1179
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
1180
+              this.monitors.diastolic_blood_pressure==0){
1181
+            const obj44 = '监测第'+((i*1)+1)+'行血压'
1182
+            checkdata.push(obj44)
1183
+          } if(this.monitors[i].pulse_frequency ==0){
1184
+            const obj45 = '监测第'+((i*1)+1)+'行心率'
1185
+            checkdata.push(obj45)
1186
+          } if(this.monitors[i].blood_flow_volume ==0){
1187
+            const obj46 = '监测第'+((i*1)+1)+'行血流量'
1188
+            checkdata.push(obj46)
1189
+          } if(this.monitors[i].venous_pressure ==0){
1190
+            const obj47 = '监测第'+((i*1)+1)+'行静脉压'
1191
+            checkdata.push(obj47)
1192
+          } if(this.monitors[i].transmembrane_pressure ==0){
1193
+            const obj48 = '监测第'+((i*1)+1)+'行跨膜压'
1194
+            checkdata.push(obj48)
1195
+          } if(this.monitors[i].ultrafiltration_volume ==0){
1196
+            const obj49 = '监测第'+((i*1)+1)+'行超滤量'
1197
+            checkdata.push(obj49)
1198
+          } if(this.monitors[i].ultrafiltration_rate == 0){
1199
+            const obj50 = '监测第'+((i*1)+1)+'行超滤率'
1200
+            checkdata.push(obj50)
1201
+          } if(this.monitors[i].sodium_concentration == 0){
1202
+            const obj51= '监测第'+((i*1)+1)+'行NA⁺'
1203
+            checkdata.push(obj51)
1204
+          }
1152 1205
         }
1153
-        if (this.tableAdvice.length > 0) {
1154
-          this.tableAdvice.map(item => {
1155
-            if (item.id > 0 && (item.created_time || item.start_time)) {
1156
-              this.users.map(it => {
1157
-                if (it.id == item.advice_doctor) {
1158
-                  if (it.user_type == 3) {
1159
-                    num++
1160
-                    this.$message.closeAll()
1161
-                    this.$message.error('存在不是医生保存的医嘱')
1162
-                  } else if (it.id == item.execution_staff && item.execution_staff > 0) {
1163
-                    if (it.user_type == 2) {
1164
-                      num++
1165
-                      this.$message.closeAll()
1166
-                      this.$message.error('存在不是护士执行的医嘱')
1167
-                    }
1168
-                  } else if (it.id == item.checker && item.checker > 0) {
1169
-                    if (it.user_type == 2) {
1170
-                      num++
1171
-                      this.$message.closeAll()
1172
-                      this.$message.error('存在不是护士核对的医嘱')
1173
-                    }
1174
-                  }
1175
-                } else if (it.id == item.execution_staff && item.execution_staff > 0) {
1176
-                  if (it.user_type == 2) {
1177
-                    num++
1178
-                    this.$message.closeAll()
1179
-                    this.$message.error('存在不是护士执行的医嘱')
1180
-                  }
1181
-                } else if (it.id == item.checker && item.checker > 0) {
1182
-                  if (it.user_type == 2) {
1183
-                    num++
1184
-                    this.$message.closeAll()
1185
-                    this.$message.error('存在不是护士核对的医嘱')
1186
-                  }
1187
-                }
1188
-              })
1206
+      }
1207
+      if (this.tableAdvice.length > 0) {
1208
+        this.tableAdvice.map((item) =>{
1209
+          if(item.id > 0 && (item.created_time || item.start_time)){
1210
+            if(item.execution_staff ==0 || item.checker ==0){
1211
+              const obj57 = '执行人员,核对签名'
1212
+              checkdata.push(obj57)
1189 1213
             }
1190
-          })
1191
-        }
1192
-
1193
-        if (num == 0) {
1194
-          this.$message.success('核对完成')
1195
-        }
1196
-      } else {
1197
-        this.$message.success('核对完成')
1214
+          }
1215
+        })
1198 1216
       }
1217
+      this.getcheckData(checkdata)
1199 1218
     },
1200 1219
     getCruor(cruor) {
1201 1220
       if (cruor.indexOf(',') == -1) {
@@ -1329,8 +1348,8 @@ export default {
1329 1348
       this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1330 1349
       getDialysisRecord(this.queryParams).then(response => {
1331 1350
         if (response.data.state === 1) {
1332
-          console.log('response.data.data11111',response.data.data);
1333
-          
1351
+          console.log('response.data.data11111', response.data.data);
1352
+
1334 1353
           this.adminUser = response.data.data.users
1335 1354
           this.users = response.data.data.users
1336 1355
           var patientInfo = response.data.data.patientInfo
@@ -1908,7 +1927,21 @@ export default {
1908 1927
           return this.vascularAccess[i].name
1909 1928
         }
1910 1929
       }
1911
-    }
1930
+    },
1931
+    getcheckData(val){
1932
+      if(val.length >0){
1933
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
1934
+        this.$alert(message, '提示', {
1935
+          confirmButtonText: '确定',
1936
+          type: 'warning',
1937
+          dangerouslyUseHTMLString: true,
1938
+
1939
+        });
1940
+        // return message
1941
+      }else{
1942
+        this.$message.success('核对完成')
1943
+      }
1944
+    },
1912 1945
   },
1913 1946
   watch: {
1914 1947
     'patientInfo.gender': function () {

+ 177 - 153
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -3581,8 +3581,6 @@ export default {
3581 3581
         window.open(fileURL);//打开ppf文件
3582 3582
       }
3583 3583
     },
3584
-
3585
-
3586 3584
     openPdf(blob) {
3587 3585
       const objectUrl = URL.createObjectURL(blob);
3588 3586
       const a = document.createElement('a');
@@ -3614,7 +3612,6 @@ export default {
3614 3612
         type: contentType
3615 3613
       });
3616 3614
     },
3617
-
3618 3615
     UploadPdf(res) {
3619 3616
       let pdfBase64Str = res;
3620 3617
       let title = "上传给后端的个人报告";
@@ -3649,219 +3646,233 @@ export default {
3649 3646
     },
3650 3647
 
3651 3648
     checkData() {
3649
+      var checkdata = []
3652 3650
       if (this.receiverTreatmentAccess.way == 0) {
3653
-        this.$message.error("入科方式未填");
3654
-      } else if (this.predialysis.symptom_before_dialysis == "") {
3655
-        this.$message.error("透前症状未填");
3656
-      } else if (this.predialysis.temperature == "") {
3657
-        this.$message.error("透前体温未填");
3658
-      } else if (this.predialysis.pulse_frequency == "") {
3659
-        this.$message.error("透前脉搏未填");
3660
-      } else if (this.predialysis.breathing_rate == "") {
3661
-        this.$message.error("透前呼吸频率未填");
3662
-      } else if (
3651
+        const obj = '入科方式'
3652
+        checkdata.push(obj)
3653
+      } if (this.predialysis.symptom_before_dialysis == "") {
3654
+        const obj1 = '透前症状'
3655
+        checkdata.push(obj1)
3656
+      } if (this.predialysis.temperature == "") {
3657
+        const obj2 = '透前体温'
3658
+        checkdata.push(obj2)
3659
+      } if (this.predialysis.pulse_frequency == "") {
3660
+        const obj3 = '透前脉搏'
3661
+        checkdata.push(obj3)
3662
+      } if (this.predialysis.breathing_rate == "") {
3663
+        const obj4 = '透前呼吸频率'
3664
+        checkdata.push(obj4)
3665
+      } if (
3663 3666
         this.predialysis.systolic_blood_pressure == 0 ||
3664 3667
         this.predialysis.diastolic_blood_pressure == 0
3665 3668
       ) {
3666
-        this.$message.error("透前血压未填完整");
3667
-      } else if (this.predialysis.puncture_way == "") {
3668
-        this.$message.error("穿刺方式未填");
3669
-      } else if (this.predialysis.puncture_needle == "") {
3670
-        this.$message.error("穿刺针未填");
3671
-      } else if (
3669
+        const obj5 = '透前血压'
3670
+        checkdata.push(obj5)
3671
+      } if (this.predialysis.puncture_way == "") {
3672
+        const obj6 = '穿刺方式'
3673
+        checkdata.push(obj6)
3674
+      } if (this.predialysis.puncture_needle == "") {
3675
+        const obj7 = '穿刺针'
3676
+        checkdata.push(obj7)
3677
+      } if (
3672 3678
         this.predialysis.blood_access_part_id == "" &&
3673 3679
         this.predialysis.blood_access_part_opera_name == ""
3674 3680
       ) {
3675
-        this.$message.error("血管通路未填");
3676
-      } else if (this.predialysis.internal_fistula == "") {
3677
-        this.$message.error("透前内瘘未填");
3678
-      } else if (this.predialysis.catheter == "") {
3679
-        this.$message.error("透前导管未填");
3680
-      } else if (this.prescription.mode_id == "") {
3681
-        this.$message.error("透析方式未填");
3682
-      } else if (
3681
+        const obj8 = '血管通路'
3682
+        checkdata.push(obj8)
3683
+      } if (this.predialysis.internal_fistula == "") {
3684
+        const obj9 = '透前内瘘'
3685
+        checkdata.push(obj9)
3686
+      } if (this.predialysis.catheter == "") {
3687
+        const obj10 = '透前导管'
3688
+        checkdata.push(obj10)
3689
+      } if (this.prescription.mode_id == "") {
3690
+        const obj11 = '透析方式'
3691
+        checkdata.push(obj11)
3692
+      } if (
3683 3693
         this.prescription.displace_liqui_part == 0 &&
3684 3694
         this.prescription.mode_id == 2
3685 3695
       ) {
3686
-        this.$message.error("置换方式未填");
3687
-      } else if (
3696
+        const obj12 = '置换方式'
3697
+        checkdata.push(obj12)
3698
+      } if (
3688 3699
         this.prescription.displace_liqui_value == 0 &&
3689 3700
         this.prescription.mode_id == 2
3690 3701
       ) {
3691
-        this.$message.error("置换量未填");
3692
-      } else if (this.prescription.blood_flow_volume == 0) {
3693
-        this.$message.error("血流量未填");
3694
-      } else if (
3702
+        const obj13 = '置换量'
3703
+        checkdata.push(obj13)
3704
+      } if (this.prescription.blood_flow_volume == 0) {
3705
+        const obj14 = '血流量'
3706
+        checkdata.push(obj14)
3707
+      } if (
3695 3708
         this.prescription.dialysis_duration_hour == 0 &&
3696 3709
         this.prescription.dialysis_duration_minute == 0
3697 3710
       ) {
3698
-        this.$message.error("透析时间未填");
3699
-      } else if (
3711
+        const obj15 = '透析时间'
3712
+        checkdata.push(obj15)
3713
+      } if (
3700 3714
         this.prescription.dialyzer_perfusion_apparatus == "" &&
3701 3715
         this.prescription.dialysis_dialyszers == ""
3702 3716
       ) {
3703
-        this.$message.error("透析器未填");
3704
-      } else if (this.prescription.dialysis_irrigation == "") {
3705
-        this.$message.error("灌流器未填");
3706
-      } else if (
3717
+        const obj16 = '透析器'
3718
+        checkdata.push(obj16)
3719
+      } if (this.prescription.dialysis_irrigation == "") {
3720
+        const obj17 = '灌流器'
3721
+        checkdata.push(obj17)
3722
+      } if (
3707 3723
         this.prescription.plasma_separator == "" &&
3708 3724
         this.org_id == 9538
3709 3725
       ) {
3710
-        this.$message.error("血浆分离器未填");
3711
-      } else if (
3726
+        const obj18 = '血浆分离器'
3727
+        checkdata.push(obj18)
3728
+      } if (
3712 3729
         this.prescription.bilirubin_adsorption_column == "" &&
3713 3730
         this.org_id == 9538
3714 3731
       ) {
3715
-        this.$message.error("胆红素吸附柱未填");
3716
-      } else if (this.predialysis.weight_before == 0) {
3717
-        this.$message.error("透前体重未填");
3718
-      } else if (this.predialysis.dry_weight == 0) {
3719
-        this.$message.error("干体重未填");
3720
-      } else if (this.prescription.target_ultrafiltration == 0) {
3721
-        this.$message.error("计划超滤量未填");
3722
-      } else if (this.prescription.calcium == 0) {
3723
-        this.$message.error("钙未填");
3724
-      } else if (this.prescription.sodium == 0) {
3725
-        this.$message.error("钠未填");
3726
-      } else if (this.prescription.kalium == 0) {
3727
-        this.$message.error("钾未填");
3728
-      } else if (this.prescription.bicarbonate == 0) {
3729
-        this.$message.error("碳酸氢根未填");
3730
-      } else if (this.prescription.dialysate_flow == 0) {
3731
-        this.$message.error("透析液流量未填");
3732
-      } else if (this.prescription.anticoagulant == 0) {
3733
-        this.$message.error("抗凝剂未填");
3734
-      } else if (
3732
+        const obj19 = '胆红素吸附柱'
3733
+        checkdata.push(obj19)
3734
+      } if (this.predialysis.weight_before == 0) {
3735
+        const obj20 = '透前体重'
3736
+        checkdata.push(obj20)
3737
+      } if (this.predialysis.dry_weight == 0) {
3738
+        const obj21 = '干体重'
3739
+        checkdata.push(obj21)
3740
+      } if (this.prescription.target_ultrafiltration == 0) {
3741
+        const obj22 = '计划超滤量'
3742
+        checkdata.push(obj22)
3743
+      } if (this.prescription.calcium == 0) {
3744
+        const obj23 = '钙'
3745
+        checkdata.push(obj23)
3746
+      } if (this.prescription.sodium == 0) {
3747
+        const obj24 = '钠'
3748
+        checkdata.push(obj24)
3749
+      } if (this.prescription.kalium == 0) {
3750
+        const obj25 = '钾'
3751
+        checkdata.push(obj25)
3752
+      } if (this.prescription.bicarbonate == 0) {
3753
+        const obj26 = '碳酸氢根'
3754
+        checkdata.push(obj26)
3755
+      } if (this.prescription.dialysate_flow == 0) {
3756
+        const obj27 = '透析液流量'
3757
+        checkdata.push(obj27)
3758
+      } if (this.prescription.anticoagulant == 0) {
3759
+        const obj28 = '抗凝剂'
3760
+        checkdata.push(obj28)
3761
+      } if (
3735 3762
         this.prescription.anticoagulant_gaimingcheng == "" &&
3736 3763
         this.prescription.anticoagulant == 5
3737 3764
       ) {
3738
-        this.$message.error("钙名称未填");
3739
-      } else if (
3765
+        const obj29 = '钙名称'
3766
+        checkdata.push(obj29)
3767
+      } if (
3740 3768
         this.prescription.anticoagulant_gaijiliang == "" &&
3741 3769
         this.prescription.anticoagulant == 5
3742 3770
       ) {
3743
-        this.$message.error("钙剂量未填");
3744
-      } else if (this.afterdialysis.temperature == 0) {
3745
-        this.$message.error("透后体温未填");
3746
-      } else if (this.afterdialysis.pulse_frequency == 0) {
3747
-        this.$message.error("透后脉搏未填");
3748
-      } else if (this.afterdialysis.breathing_rate == 0) {
3749
-        this.$message.error("透后呼吸频率未填");
3750
-      } else if (
3771
+        const obj30 = '钙剂量'
3772
+        checkdata.push(obj30)
3773
+      } if (this.afterdialysis.temperature == 0) {
3774
+        const obj31 = '透后体温'
3775
+        checkdata.push(obj31)
3776
+      } if (this.afterdialysis.pulse_frequency == 0) {
3777
+        const obj32 = '透后脉搏'
3778
+        checkdata.push(obj32)
3779
+      } if (this.afterdialysis.breathing_rate == 0) {
3780
+        const obj33 = '透后呼吸频率'
3781
+        checkdata.push(obj33)
3782
+      } if (
3751 3783
         this.afterdialysis.systolic_blood_pressure == 0 ||
3752 3784
         this.afterdialysis.diastolic_blood_pressure == 0
3753 3785
       ) {
3754
-        this.$message.error("透后血压未填完整");
3755
-      } else if (
3786
+        const obj34 = '透后血压'
3787
+        checkdata.push(obj34)
3788
+      } if (
3756 3789
         this.afterdialysis.actual_treatment_hour == 0 &&
3757 3790
         this.afterdialysis.actual_treatment_minute == 0
3758 3791
       ) {
3759
-        this.$message.error("实际治疗时间未填");
3760
-      } else if (this.afterdialysis.cruor == "") {
3761
-        this.$message.error("透析器凝血未填");
3762
-      } else if (this.afterdialysis.internal_fistula == "") {
3763
-        this.$message.error("透后内瘘未填");
3764
-      } else if (this.afterdialysis.catheter == "") {
3765
-        this.$message.error("透后导管未填");
3766
-      } else if (this.afterdialysis.weight_after == 0) {
3767
-        this.$message.error("透后体重未填");
3768
-      } else if (this.afterdialysis.weight_loss == 0) {
3769
-        this.$message.error("透后体重减少未填");
3770
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
3771
-        this.$message.error("透析中入量未填");
3772
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
3773
-        this.$message.error("实际超滤量未填");
3774
-      } else if (this.summary.dialysis_summary == "") {
3775
-        this.$message.error("透析小结未填");
3776
-      } else if (
3792
+        const obj35 = '实际治疗时间'
3793
+        checkdata.push(obj35)
3794
+      } if (this.afterdialysis.cruor == "") {
3795
+        const obj36 = '透析器凝血'
3796
+        checkdata.push(obj36)
3797
+      } if (this.afterdialysis.internal_fistula == "") {
3798
+        const obj37 = '透后内瘘'
3799
+        checkdata.push(obj37)
3800
+      } if (this.afterdialysis.catheter == "") {
3801
+        const obj38 = '透后导管'
3802
+        checkdata.push(obj38)
3803
+      } if (this.afterdialysis.weight_after == 0) {
3804
+        const obj39 = '透后体重'
3805
+        checkdata.push(obj39)
3806
+      } if (this.afterdialysis.weight_loss == 0) {
3807
+        const obj40 = '透后体重减少'
3808
+        checkdata.push(obj40)
3809
+      } if (this.afterdialysis.dialysis_intakes == 0) {
3810
+        const obj41 = '透析中入量'
3811
+        checkdata.push(obj41)
3812
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
3813
+        const obj42 = '实际超滤量'
3814
+        checkdata.push(obj42)
3815
+      } if (this.summary.dialysis_summary == "") {
3816
+        const obj43 = '透析小结'
3817
+        checkdata.push(obj43)
3818
+      } if (
3777 3819
         this.dialysisOrder == null ||
3778 3820
         this.dialysisOrder.puncture_nurse == 0
3779 3821
       ) {
3780
-        this.$message.error("穿刺护士未填");
3781
-      } else if (
3822
+        const obj44 = '穿刺护士'
3823
+        checkdata.push(obj44)
3824
+      } if (
3782 3825
         this.dialysisOrder == null ||
3783 3826
         this.dialysisOrder.start_nurse == 0
3784 3827
       ) {
3785
-        this.$message.error("治疗护士未填");
3786
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
3787
-        this.$message.error("核对人员未填");
3828
+        const obj45 = '治疗护士'
3829
+        checkdata.push(obj45)
3830
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
3831
+        const obj46 = '核对人员'
3832
+        checkdata.push(obj46)
3788 3833
       } else if (
3789 3834
         this.dialysisOrder != null &&
3790 3835
         this.dialysisOrder.start_nurse == this.check.modifier &&
3791 3836
         this.check.creater == 0
3792 3837
       ) {
3793
-        this.$message.error("核对人员未填");
3838
+        const obj46 = '核对人员'
3839
+        checkdata.push(obj46)
3794 3840
       } else if (
3795 3841
         this.dialysisOrder != null &&
3796 3842
         this.dialysisOrder.start_nurse == this.check.creater &&
3797 3843
         this.check.modifier == 0
3798 3844
       ) {
3799
-        this.$message.error("核对人员未填");
3845
+        const obj46 = '核对人员'
3846
+        checkdata.push(obj46)
3800 3847
       } else if (
3801 3848
         this.dialysisOrder != null &&
3802 3849
         this.dialysisOrder.start_nurse != this.check.creater &&
3803 3850
         this.dialysisOrder.start_nurse != this.check.modifier &&
3804 3851
         this.check.creater == 0
3805 3852
       ) {
3806
-        this.$message.error("核对人员未填");
3807
-      } else if (
3853
+        const obj46 = '核对人员'
3854
+        checkdata.push(obj46)
3855
+      } if (
3808 3856
         this.dialysisOrder == null ||
3809 3857
         this.dialysisOrder.finish_nurse == 0
3810 3858
       ) {
3811
-        this.$message.error("下机护士未填");
3812
-      } else if (this.prescription.creater == 0) {
3813
-        this.$message.error("医生签名未填");
3814
-      } else if (this.tableAdvice.length > 0) {
3815
-        let num = 0;
3816
-        this.tableAdvice.map((item) => {
3817
-          if (item.id > 0 && (item.created_time || item.start_time)) {
3818
-            this.users.map((it) => {
3819
-              if (it.id == item.advice_doctor) {
3820
-                if (it.user_type == 3) {
3821
-                  num++;
3822
-                  this.$message.closeAll();
3823
-                  this.$message.error("存在不是医生保存的医嘱");
3824
-                } else if (
3825
-                  it.id == item.execution_staff &&
3826
-                  item.execution_staff > 0
3827
-                ) {
3828
-                  if (it.user_type == 2) {
3829
-                    num++;
3830
-                    this.$message.closeAll();
3831
-                    this.$message.error("存在不是护士执行的医嘱");
3832
-                  }
3833
-                } else if (it.id == item.checker && item.checker > 0) {
3834
-                  if (it.user_type == 2) {
3835
-                    num++;
3836
-                    this.$message.closeAll();
3837
-                    this.$message.error("存在不是护士核对的医嘱");
3838
-                  }
3839
-                }
3840
-              } else if (
3841
-                it.id == item.execution_staff &&
3842
-                item.execution_staff > 0
3843
-              ) {
3844
-                if (it.user_type == 2) {
3845
-                  num++;
3846
-                  this.$message.closeAll();
3847
-                  this.$message.error("存在不是护士执行的医嘱");
3848
-                }
3849
-              } else if (it.id == item.checker && item.checker > 0) {
3850
-                if (it.user_type == 2) {
3851
-                  num++;
3852
-                  this.$message.closeAll();
3853
-                  this.$message.error("存在不是护士核对的医嘱");
3854
-                }
3855
-              }
3856
-            });
3859
+        const obj47 = '下机护士'
3860
+        checkdata.push(obj47)
3861
+      } if (this.prescription.creater == 0) {
3862
+        const obj48 = '医生签名'
3863
+        checkdata.push(obj48)
3864
+      } if (this.new_doctor_advice_list.length > 0) {
3865
+        this.new_doctor_advice_list.map((item) =>{
3866
+          if(item.id > 0 && (item.created_time || item.start_time)){
3867
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
3868
+              const obj49 = '执行人员,核对签名'
3869
+              checkdata.push(obj49)
3870
+            }
3857 3871
           }
3858
-        });
3859
-        if (num == 0) {
3860
-          this.$message.success("核对完成");
3861
-        }
3862
-      } else {
3863
-        this.$message.success("核对完成");
3864
-      }
3872
+        })
3873
+        
3874
+      } 
3875
+      this.getcheckData(checkdata)
3865 3876
     },
3866 3877
     getDisplaceLiquiPart: function (val) {
3867 3878
       let displace_liqui_part_name = "/";
@@ -4649,7 +4660,20 @@ export default {
4649 4660
         return "0.0";
4650 4661
       }
4651 4662
     },
4663
+    getcheckData(val){
4664
+      if(val.length >0){
4665
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
4666
+        this.$alert(message, '提示', {
4667
+          confirmButtonText: '确定',
4668
+          type: 'warning',
4669
+          dangerouslyUseHTMLString: true,
4652 4670
 
4671
+        });
4672
+        // return message
4673
+      }else{
4674
+        this.$message.success('核对完成')
4675
+      }
4676
+    },
4653 4677
   },
4654 4678
   watch: {
4655 4679
     "patientInfo.gender": function () {