Browse Source

11月19日,打印单

yq1 1 month ago
parent
commit
76466655a7
1 changed files with 276 additions and 270 deletions
  1. 276 270
      src/pages/main/template/DialysisPrintOrderSeventyeight.vue

+ 276 - 270
src/pages/main/template/DialysisPrintOrderSeventyeight.vue View File

@@ -1117,7 +1117,7 @@ import { getDialysisRecord } from '@/api/dialysis'
1117 1117
 import { getDataConfig } from '@/utils/data'
1118 1118
 import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
1119 1119
 import LabelBox from '../printItem/LabelBox'
1120
-import {Dialog} from 'vant'
1120
+import {Dialog,Toast} from 'vant'
1121 1121
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1122 1122
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1123 1123
 import print from 'print-js'
@@ -1242,286 +1242,292 @@ export default {
1242 1242
       },
1243 1243
       lastWeight:{},
1244 1244
       scroller:{},
1245
+      new_date:(Date.parse(new Date())/1000),
1245 1246
     }
1246 1247
   },
1247 1248
   methods: {
1248 1249
     checkData() {
1249 1250
       var checkDate =[]
1250 1251
       var monearr = []
1251
-      if (this.predialysis.temperature == '') {
1252
-        const obj = "透前体温"
1253
-        checkDate.push(obj)
1254
-      } if (this.predialysis.pulse_frequency == "") {
1255
-        const obj1 = "透前脉搏"
1256
-        checkDate.push(obj1)
1257
-      } if (this.predialysis.breathing_rate == "") {
1258
-         const obj2 = "透前呼吸频率"
1259
-         checkDate.push(obj2)
1260
-      } if (
1261
-        this.predialysis.systolic_blood_pressure == 0 ||
1262
-        this.predialysis.diastolic_blood_pressure == 0
1263
-      ) {
1264
-        const obj3 = "透前血压"
1265
-        checkDate.push(obj3)
1266
-      } if (this.predialysis.symptom_before_dialysis == "") {
1267
-        const obj5 = "透前症状"
1268
-        checkDate.push(obj5)
1269
-      } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1270
-        const obj6 = "透前内瘘,导管"
1271
-        checkDate.push(obj6)
1272
-      } if (this.predialysis.complication == "" ) {
1273
-        const obj7 = "合并症"
1274
-        checkDate.push(obj7)
1275
-      } if (this.predialysis.dry_weight == '' ) {
1276
-        const obj8 = "干体重"
1277
-        checkDate.push(obj8)
1278
-      } if ( this. predialysis.weight_before == '') {
1279
-        const obj9 = "透前体重"
1280
-        checkDate.push(obj9)
1281
-      } if (this.afterdialysis.temperature == '') {
1282
-        const obj10 = "透后体温"
1283
-        checkDate.push(obj10)
1284
-      } if (this.afterdialysis.pulse_frequency == "") {
1285
-        const obj11 = "透后脉搏"
1286
-        checkDate.push(obj11)
1287
-      } if (this.afterdialysis.breathing_rate == "") {
1288
-        const obj12 = "透后呼吸频率"
1289
-        checkDate.push(obj12)
1290
-      } if (
1291
-        this.afterdialysis.systolic_blood_pressure == 0 ||
1292
-        this.afterdialysis.diastolic_blood_pressure == 0
1293
-      ) {
1294
-        const obj13 = "透后血压"
1295
-        checkDate.push(obj13)
1296
-      } if (this.afterdialysis.cruor == "") {
1297
-        const obj14 = "凝血"
1298
-        checkDate.push(obj14)
1299
-      } if (this.afterdialysis.symptom_after_dialysis == "") {
1300
-        const obj15 = "透后症状"
1301
-        checkDate.push(obj15)
1302
-      } if (this.afterdialysis.internal_fistula == "" || this.afterdialysis.catheter == "") {
1303
-        const obj16 = "透后内瘘,导管"
1304
-        checkDate.push(obj16)
1305
-      }  if (this.afterdialysis.complication == 0) {
1306
-        const obj17 = "并发症"
1307
-        checkDate.push(obj17)
1308
-      } if (this.afterdialysis.actual_displacement == 0 &&
1309
-        (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)) {
1310
-        const obj18 = "实际置换量"
1311
-        checkDate.push(obj18)
1312
-      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1313
-        const obj19 = "实际超滤量"
1314
-        checkDate.push(obj19)
1315
-      } if (this.afterdialysis.weight_after == 0) {
1316
-        const obj20 = "透后体重"
1317
-        checkDate.push(obj20)
1318
-      } if (this.afterdialysis.weight_loss == 0) {
1319
-        const obj21 = "体重减少"
1320
-        checkDate.push(obj21)
1321
-      } if (this.prescription.target_ultrafiltration == 0) {
1322
-        const obj22 = "处方脱水量"
1323
-        checkDate.push(obj22)
1324
-      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1325
-        const obj23 = "超滤总量"
1326
-        checkDate.push(obj23)
1327
-      } if (this.prescription.dialysis_duration_hour == 0) {
1328
-        const obj24 = "透析时长"
1329
-        checkDate.push(obj24)
1330
-      } if (this.prescription.mode == '') {
1331
-        const obj25 = "透析方式"
1332
-        checkDate.push(obj25)
1333
-      } if (this.prescription.displace_liqui_part == '' &&
1334
-      (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1335
-        const obj26 = "置换方式"
1336
-        checkDate.push(obj26)
1337
-      } if (this.prescription.displace_liqui_value == 0 &&
1338
-      (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1339
-        const obj27 = "置换总量"
1340
-        checkDate.push(obj27)
1341
-      } if (this.predialysis.blood_access_part_opera_name == ''){
1342
-        const obj28 = "血管通路"
1343
-        checkDate.push(obj28)
1344
-      } if (this.prescription.blood_flow_volume == 0) {
1345
-        const obj29 = "血流量"
1346
-        checkDate.push(obj29)
1347
-      } if (
1348
-        this.prescription.dialysis_irrigation == '' &&
1349
-        this.prescription.dialysis_dialyszers == '' &&
1350
-        this.prescription.dialysis_strainer == ''
1351
-      ){
1352
-        const obj30 = "透析器"
1353
-        checkDate.push(obj30)
1354
-      } 
1355
-      // if (this.predialysis.machine_type == 0) {
1356
-      //   const obj31 = "透析机型"
1357
-      //   checkDate.push(obj31)
1358
-      // } 
1359
-      if (this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1360
-        const obj32 = "机号"
1361
-        checkDate.push(obj32)
1362
-      } if (this.prescription.anticoagulant_name == 0) {
1363
-        const obj33 = "抗凝剂"
1364
-        checkDate.push(obj33)
1365
-      } if (this.prescription.anticoagulant_shouji == 0 &&
1366
-        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1367
-      ) {
1368
-        const obj34 = "首剂"
1369
-        checkDate.push(obj34)
1370
-      }
1371
-      // if (this.prescription.anticoagulant_weichi == 0 &&
1372
-      //   this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1373
-      // ) {
1374
-      //   const obj35 = "维持"
1375
-      //   checkDate.push(obj35)
1376
-      // }
1377
-      if (this.prescription.anticoagulant_zongliang == 0 &&
1378
-        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
1379
-      ) {
1380
-        const obj36 = "总量"
1381
-        checkDate.push(obj36)
1382
-      } if (this.prescription.calcium == 0) {
1383
-        const obj37 = "钙"
1384
-        checkDate.push(obj37)
1385
-      } if (this.prescription.sodium == 0) {
1386
-        const obj38 = "钠"
1387
-        checkDate.push(obj38)
1388
-      } if (this.prescription.kalium == 0) {
1389
-        const obj39 = "钾"
1390
-        checkDate.push(obj39)
1391
-      } if (this.prescription.bicarbonate == 0) {
1392
-        const obj40 = "碳酸氢根"
1393
-        checkDate.push(obj40)
1394
-      } if (this.prescription.dialysate_flow == 0) {
1395
-        const obj41 = "透析液流量"
1396
-        checkDate.push(obj41)
1397
-      } if (
1398
-        this.prescription.anticoagulant_gaimingcheng == "" &&
1399
-        this.prescription.anticoagulant == 5
1400
-      ) {
1401
-        const obj42 = "钙名称"
1402
-        checkDate.push(obj42)
1403
-      } if (
1404
-        this.prescription.anticoagulant_gaijiliang == "" &&
1405
-        this.prescription.anticoagulant == 5
1406
-      ) {
1407
-        const obj43 = "钙剂量"
1408
-        checkDate.push(obj43)
1409
-      } if (
1410
-        this.afterdialysis.actual_treatment_hour == 0 &&
1411
-        this.afterdialysis.actual_treatment_minute == 0
1412
-      ) {
1413
-        const obj44 = "实际治疗时间"
1414
-        checkDate.push(obj44)
1415
-      } if (this.summary.mission == 0) {
1416
-        const obj45 = "透后宣教"
1417
-        checkDate.push(obj45)
1418
-      } if (this.summary.dialysis_summary == "") {
1419
-        const obj46 = "透析小结"
1420
-        checkDate.push(obj46)
1421
-      } if (
1422
-        this.dialysisOrder == null ||
1423
-        this.dialysisOrder.puncture_nurse == 0
1424
-      ) {
1425
-        const obj47 = "穿刺护士"
1426
-        checkDate.push(obj47)
1427
-      } if (
1428
-        this.dialysisOrder == null ||
1429
-        this.dialysisOrder.start_nurse == 0
1430
-      ) {
1431
-        const obj48 = "治疗护士"
1432
-        checkDate.push(obj48)
1433
-      } if (this.dialysisOrder == null && this.check.creater == 0) {
1434
-        const obj49 = "核对人员"
1435
-        checkDate.push(obj49)
1436
-      } else if (
1437
-        this.dialysisOrder != null &&
1438
-        this.dialysisOrder.start_nurse == this.check.modifier &&
1439
-        this.check.creater == 0
1440
-      ) {
1441
-        const obj49 = "核对人员"
1442
-        checkDate.push(obj49)
1443
-      } else if (
1444
-        this.dialysisOrder != null &&
1445
-        this.dialysisOrder.start_nurse == this.check.creater &&
1446
-        this.check.modifier == 0
1447
-      ) {
1448
-        const obj49 = "核对人员"
1449
-        checkDate.push(obj49)
1450
-      } else if (
1451
-        this.dialysisOrder != null &&
1452
-        this.dialysisOrder.start_nurse != this.check.creater &&
1453
-        this.dialysisOrder.start_nurse != this.check.modifier &&
1454
-        this.check.creater == 0
1455
-      ) {
1456
-        const obj49 = "核对人员"
1457
-        checkDate.push(obj49)
1458
-      } if (
1459
-        this.dialysisOrder == null ||
1460
-        this.dialysisOrder.finish_nurse == 0
1461
-      ) {
1462
-        const obj50 = "下机护士"
1463
-        checkDate.push(obj50)
1464
-      } if (this.prescription.creater == 0) {
1465
-        const obj51 = "治疗医生"
1466
-        checkDate.push(obj51)
1467
-      }
1468
-      if(this.doctor_advices.length > 0){
1469
-        this.doctor_advices.map((item) =>{
1470
-          if(item.id > 0 && (item.created_time || item.start_time)){
1471
-            if(item.execution_staff ==0 || item.checker ==0){
1472
-              const obj52 = '执行人员,核对人员'
1473
-              checkDate.push(obj52)
1474
-            }
1475
-          }
1476
-        })
1477
-      }
1478
-      if(this.monitors.length >0){
1479
-        for(let i in this.monitors){
1480
-        if(this.monitors[i].blood_flow_volume ==0){
1481
-        const obj55 = '监测第'+((i*1)+1)+'行血流量'
1482
-        monearr.push(obj55)
1483
-        } if(this.monitors[i].venous_pressure ==0 ||
1484
-        this.monitors[i].transmembrane_pressure ==0
1485
-        ){
1486
-        const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1487
-        monearr.push(obj56)
1488
-        } if(this.monitors[i].ultrafiltration_rate ==0){
1489
-        const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1490
-        monearr.push(obj57)
1491
-        } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1492
-        const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1493
-        monearr.push(obj53)
1494
-        } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1252
+      if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1253
+          if (this.predialysis.temperature == '') {
1254
+          const obj = "透前体温"
1255
+          checkDate.push(obj)
1256
+        } if (this.predialysis.pulse_frequency == "") {
1257
+          const obj1 = "透前脉搏"
1258
+          checkDate.push(obj1)
1259
+        } if (this.predialysis.breathing_rate == "") {
1260
+          const obj2 = "透前呼吸频率"
1261
+          checkDate.push(obj2)
1262
+        } if (
1263
+          this.predialysis.systolic_blood_pressure == 0 ||
1264
+          this.predialysis.diastolic_blood_pressure == 0
1265
+        ) {
1266
+          const obj3 = "透前血压"
1267
+          checkDate.push(obj3)
1268
+        } if (this.predialysis.symptom_before_dialysis == "") {
1269
+          const obj5 = "透前症状"
1270
+          checkDate.push(obj5)
1271
+        } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1272
+          const obj6 = "透前内瘘,导管"
1273
+          checkDate.push(obj6)
1274
+        } if (this.predialysis.complication == "" ) {
1275
+          const obj7 = "合并症"
1276
+          checkDate.push(obj7)
1277
+        } if (this.predialysis.dry_weight == '' ) {
1278
+          const obj8 = "干体重"
1279
+          checkDate.push(obj8)
1280
+        } if ( this. predialysis.weight_before == '') {
1281
+          const obj9 = "透前体重"
1282
+          checkDate.push(obj9)
1283
+        } if (this.afterdialysis.temperature == '') {
1284
+          const obj10 = "透后体温"
1285
+          checkDate.push(obj10)
1286
+        } if (this.afterdialysis.pulse_frequency == "") {
1287
+          const obj11 = "透后脉搏"
1288
+          checkDate.push(obj11)
1289
+        } if (this.afterdialysis.breathing_rate == "") {
1290
+          const obj12 = "透后呼吸频率"
1291
+          checkDate.push(obj12)
1292
+        } if (
1293
+          this.afterdialysis.systolic_blood_pressure == 0 ||
1294
+          this.afterdialysis.diastolic_blood_pressure == 0
1295
+        ) {
1296
+          const obj13 = "透后血压"
1297
+          checkDate.push(obj13)
1298
+        } if (this.afterdialysis.cruor == "") {
1299
+          const obj14 = "凝血"
1300
+          checkDate.push(obj14)
1301
+        } if (this.afterdialysis.symptom_after_dialysis == "") {
1302
+          const obj15 = "透后症状"
1303
+          checkDate.push(obj15)
1304
+        } if (this.afterdialysis.internal_fistula == "" || this.afterdialysis.catheter == "") {
1305
+          const obj16 = "透后内瘘,导管"
1306
+          checkDate.push(obj16)
1307
+        }  if (this.afterdialysis.complication == 0) {
1308
+          const obj17 = "并发症"
1309
+          checkDate.push(obj17)
1310
+        } if (this.afterdialysis.actual_displacement == 0 &&
1311
+          (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)) {
1312
+          const obj18 = "实际置换量"
1313
+          checkDate.push(obj18)
1314
+        } if (this.afterdialysis.actual_ultrafiltration == 0) {
1315
+          const obj19 = "实际超滤量"
1316
+          checkDate.push(obj19)
1317
+        } if (this.afterdialysis.weight_after == 0) {
1318
+          const obj20 = "透后体重"
1319
+          checkDate.push(obj20)
1320
+        } if (this.afterdialysis.weight_loss == 0) {
1321
+          const obj21 = "体重减少"
1322
+          checkDate.push(obj21)
1323
+        } if (this.prescription.target_ultrafiltration == 0) {
1324
+          const obj22 = "处方脱水量"
1325
+          checkDate.push(obj22)
1326
+        } if (this.afterdialysis.actual_ultrafiltration == 0) {
1327
+          const obj23 = "超滤总量"
1328
+          checkDate.push(obj23)
1329
+        } if (this.prescription.dialysis_duration_hour == 0) {
1330
+          const obj24 = "透析时长"
1331
+          checkDate.push(obj24)
1332
+        } if (this.prescription.mode == '') {
1333
+          const obj25 = "透析方式"
1334
+          checkDate.push(obj25)
1335
+        } if (this.prescription.displace_liqui_part == '' &&
1336
+        (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1337
+          const obj26 = "置换方式"
1338
+          checkDate.push(obj26)
1339
+        } if (this.prescription.displace_liqui_value == 0 &&
1340
+        (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1341
+          const obj27 = "置换总量"
1342
+          checkDate.push(obj27)
1343
+        } if (this.predialysis.blood_access_part_opera_name == ''){
1344
+          const obj28 = "血管通路"
1345
+          checkDate.push(obj28)
1346
+        } if (this.prescription.blood_flow_volume == 0) {
1347
+          const obj29 = "血流量"
1348
+          checkDate.push(obj29)
1349
+        } if (
1350
+          this.prescription.dialysis_irrigation == '' &&
1351
+          this.prescription.dialysis_dialyszers == '' &&
1352
+          this.prescription.dialysis_strainer == ''
1495 1353
         ){
1496
-        const obj58 = '监测第'+((i*1)+1)+'行置换率'
1497
-        monearr.push(obj58)
1498
-        } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1499
-        const obj54 = '监测第'+((i*1)+1)+'行置换量'
1500
-        monearr.push(obj54)
1501
-        }  if(this.monitors[i].sodium_concentration ==0 ){
1502
-        // this.monitors[i].temperature == 0
1503
-        const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1504
-        monearr.push(obj59)
1505
-        } if(this.monitors[i].pulse_frequency ==0){
1506
-        const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1507
-        monearr.push(obj60)
1508
-        } if(this.monitors[i].breathing_rate ==0){
1509
-        const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1510
-        monearr.push(obj61)
1511
-        } if(this.monitors[i].systolic_blood_pressure ==0 ||
1512
-        this.monitors.diastolic_blood_pressure==0){
1513
-        const obj62 = '监测第'+((i*1)+1)+'行血压'
1514
-        monearr.push(obj62)
1354
+          const obj30 = "透析器"
1355
+          checkDate.push(obj30)
1356
+        } 
1357
+        // if (this.predialysis.machine_type == 0) {
1358
+        //   const obj31 = "透析机型"
1359
+        //   checkDate.push(obj31)
1360
+        // } 
1361
+        if (this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1362
+          const obj32 = "机号"
1363
+          checkDate.push(obj32)
1364
+        } if (this.prescription.anticoagulant_name == 0) {
1365
+          const obj33 = "抗凝剂"
1366
+          checkDate.push(obj33)
1367
+        } if (this.prescription.anticoagulant_shouji == 0 &&
1368
+          this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1369
+        ) {
1370
+          const obj34 = "首剂"
1371
+          checkDate.push(obj34)
1515 1372
         }
1373
+        // if (this.prescription.anticoagulant_weichi == 0 &&
1374
+        //   this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1375
+        // ) {
1376
+        //   const obj35 = "维持"
1377
+        //   checkDate.push(obj35)
1378
+        // }
1379
+        if (this.prescription.anticoagulant_zongliang == 0 &&
1380
+          this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && prescription.anticoagulant != 5
1381
+        ) {
1382
+          const obj36 = "总量"
1383
+          checkDate.push(obj36)
1384
+        } if (this.prescription.calcium == 0) {
1385
+          const obj37 = "钙"
1386
+          checkDate.push(obj37)
1387
+        } if (this.prescription.sodium == 0) {
1388
+          const obj38 = "钠"
1389
+          checkDate.push(obj38)
1390
+        } if (this.prescription.kalium == 0) {
1391
+          const obj39 = "钾"
1392
+          checkDate.push(obj39)
1393
+        } if (this.prescription.bicarbonate == 0) {
1394
+          const obj40 = "碳酸氢根"
1395
+          checkDate.push(obj40)
1396
+        } if (this.prescription.dialysate_flow == 0) {
1397
+          const obj41 = "透析液流量"
1398
+          checkDate.push(obj41)
1399
+        } if (
1400
+          this.prescription.anticoagulant_gaimingcheng == "" &&
1401
+          this.prescription.anticoagulant == 5
1402
+        ) {
1403
+          const obj42 = "钙名称"
1404
+          checkDate.push(obj42)
1405
+        } if (
1406
+          this.prescription.anticoagulant_gaijiliang == "" &&
1407
+          this.prescription.anticoagulant == 5
1408
+        ) {
1409
+          const obj43 = "钙剂量"
1410
+          checkDate.push(obj43)
1411
+        } if (
1412
+          this.afterdialysis.actual_treatment_hour == 0 &&
1413
+          this.afterdialysis.actual_treatment_minute == 0
1414
+        ) {
1415
+          const obj44 = "实际治疗时间"
1416
+          checkDate.push(obj44)
1417
+        } if (this.summary.mission == 0) {
1418
+          const obj45 = "透后宣教"
1419
+          checkDate.push(obj45)
1420
+        } if (this.summary.dialysis_summary == "") {
1421
+          const obj46 = "透析小结"
1422
+          checkDate.push(obj46)
1423
+        } if (
1424
+          this.dialysisOrder == null ||
1425
+          this.dialysisOrder.puncture_nurse == 0
1426
+        ) {
1427
+          const obj47 = "穿刺护士"
1428
+          checkDate.push(obj47)
1429
+        } if (
1430
+          this.dialysisOrder == null ||
1431
+          this.dialysisOrder.start_nurse == 0
1432
+        ) {
1433
+          const obj48 = "治疗护士"
1434
+          checkDate.push(obj48)
1435
+        } if (this.dialysisOrder == null && this.check.creater == 0) {
1436
+          const obj49 = "核对人员"
1437
+          checkDate.push(obj49)
1438
+        } else if (
1439
+          this.dialysisOrder != null &&
1440
+          this.dialysisOrder.start_nurse == this.check.modifier &&
1441
+          this.check.creater == 0
1442
+        ) {
1443
+          const obj49 = "核对人员"
1444
+          checkDate.push(obj49)
1445
+        } else if (
1446
+          this.dialysisOrder != null &&
1447
+          this.dialysisOrder.start_nurse == this.check.creater &&
1448
+          this.check.modifier == 0
1449
+        ) {
1450
+          const obj49 = "核对人员"
1451
+          checkDate.push(obj49)
1452
+        } else if (
1453
+          this.dialysisOrder != null &&
1454
+          this.dialysisOrder.start_nurse != this.check.creater &&
1455
+          this.dialysisOrder.start_nurse != this.check.modifier &&
1456
+          this.check.creater == 0
1457
+        ) {
1458
+          const obj49 = "核对人员"
1459
+          checkDate.push(obj49)
1460
+        } if (
1461
+          this.dialysisOrder == null ||
1462
+          this.dialysisOrder.finish_nurse == 0
1463
+        ) {
1464
+          const obj50 = "下机护士"
1465
+          checkDate.push(obj50)
1466
+        } if (this.prescription.creater == 0) {
1467
+          const obj51 = "治疗医生"
1468
+          checkDate.push(obj51)
1469
+        }
1470
+        if(this.doctor_advices.length > 0){
1471
+          this.doctor_advices.map((item) =>{
1472
+            if(item.id > 0 && (item.created_time || item.start_time)){
1473
+              if(item.execution_staff ==0 || item.checker ==0){
1474
+                const obj52 = '执行人员,核对人员'
1475
+                checkDate.push(obj52)
1476
+              }
1477
+            }
1478
+          })
1479
+        }
1480
+        if(this.monitors.length >0){
1481
+          for(let i in this.monitors){
1482
+          if(this.monitors[i].blood_flow_volume ==0){
1483
+          const obj55 = '监测第'+((i*1)+1)+'行血流量'
1484
+          monearr.push(obj55)
1485
+          } if(this.monitors[i].venous_pressure ==0 ||
1486
+          this.monitors[i].transmembrane_pressure ==0
1487
+          ){
1488
+          const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1489
+          monearr.push(obj56)
1490
+          } if(this.monitors[i].ultrafiltration_rate ==0){
1491
+          const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1492
+          monearr.push(obj57)
1493
+          } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1494
+          const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1495
+          monearr.push(obj53)
1496
+          } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1497
+          ){
1498
+          const obj58 = '监测第'+((i*1)+1)+'行置换率'
1499
+          monearr.push(obj58)
1500
+          } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1501
+          const obj54 = '监测第'+((i*1)+1)+'行置换量'
1502
+          monearr.push(obj54)
1503
+          }  if(this.monitors[i].sodium_concentration ==0 ){
1504
+          // this.monitors[i].temperature == 0
1505
+          const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1506
+          monearr.push(obj59)
1507
+          } if(this.monitors[i].pulse_frequency ==0){
1508
+          const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1509
+          monearr.push(obj60)
1510
+          } if(this.monitors[i].breathing_rate ==0){
1511
+          const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1512
+          monearr.push(obj61)
1513
+          } if(this.monitors[i].systolic_blood_pressure ==0 ||
1514
+          this.monitors.diastolic_blood_pressure==0){
1515
+          const obj62 = '监测第'+((i*1)+1)+'行血压'
1516
+          monearr.push(obj62)
1517
+          }
1516 1518
 
1519
+          }
1520
+        }
1521
+        if(monearr.length>0){
1522
+          checkDate =checkDate.concat(monearr)
1523
+          console.log('1111',checkDate.concat(monearr));
1517 1524
         }
1518
-      }
1519
-      if(monearr.length>0){
1520
-        checkDate =checkDate.concat(monearr)
1521
-        console.log('1111',checkDate.concat(monearr));
1522
-      }
1523 1525
 
1524
-      this.getcheckData(checkDate)
1526
+        this.getcheckData(checkDate)
1527
+      }else{
1528
+        this.$toast('该患者已下机');
1529
+      }
1530
+      
1525 1531
     },
1526 1532
     getDisplaceLiquiPart: function (val) {
1527 1533
       let displace_liqui_part_name = '/'