yq1 3 дней назад
Родитель
Сommit
94d1118587
1 измененных файлов: 92 добавлений и 40 удалений
  1. 92 40
      src/pages/main/template/DialysisPrintOrderSeventyeight.vue

+ 92 - 40
src/pages/main/template/DialysisPrintOrderSeventyeight.vue Просмотреть файл

@@ -1249,7 +1249,7 @@ export default {
1249 1249
     checkData() {
1250 1250
       var checkDate =[]
1251 1251
       var monearr = []
1252
-      if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1252
+      // if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1253 1253
           if (this.predialysis.temperature == '') {
1254 1254
           const obj = "透前体温"
1255 1255
           checkDate.push(obj)
@@ -1479,44 +1479,96 @@ export default {
1479 1479
         }
1480 1480
         if(this.monitors.length >0){
1481 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
-          }
1482
+            if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time > this.monitors[i].operate_time){
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 ) && this.dialysisOrder.end_time > this.monitors[i].operate_time
1487
+            ){
1488
+              const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1489
+              monearr.push(obj56)
1490
+            } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time > this.monitors[i].operate_time){
1491
+              const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1492
+              monearr.push(obj57)
1493
+            } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
1494
+                this.dialysisOrder.end_time > this.monitors[i].operate_time
1495
+            ){
1496
+              const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1497
+              monearr.push(obj53)
1498
+            } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
1499
+                this.dialysisOrder.end_time > this.monitors[i].operate_time
1500
+            ){
1501
+              const obj58 = '监测第'+((i*1)+1)+'行置换率'
1502
+              monearr.push(obj58)
1503
+            } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
1504
+                && this.dialysisOrder.end_time > this.monitors[i].operate_time
1505
+            ){
1506
+              const obj54 = '监测第'+((i*1)+1)+'行置换量'
1507
+              monearr.push(obj54)
1508
+            } if(this.monitors[i].sodium_concentration ==0 && 
1509
+                this.dialysisOrder.end_time > this.monitors[i].operate_time
1510
+            ){
1511
+              // this.monitors[i].temperature == 0
1512
+              const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1513
+              monearr.push(obj59)
1514
+            } if(this.monitors[i].pulse_frequency ==0  && 
1515
+                this.dialysisOrder.end_time > this.monitors[i].operate_time
1516
+            ){
1517
+              const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1518
+              monearr.push(obj60)
1519
+            } if(this.monitors[i].breathing_rate ==0 && 
1520
+              this.dialysisOrder.end_time > this.monitors[i].operate_time
1521
+            ){
1522
+              const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1523
+              monearr.push(obj61)
1524
+            } if((this.monitors[i].systolic_blood_pressure ==0 ||
1525
+                  this.monitors.diastolic_blood_pressure==0) && 
1526
+                  this.dialysisOrder.end_time > this.monitors[i].operate_time
1527
+            ){
1528
+              const obj62 = '监测第'+((i*1)+1)+'行血压'
1529
+              monearr.push(obj62)
1530
+            }
1518 1531
 
1519 1532
           }
1533
+          // for(let i in this.monitors){
1534
+          // if(this.monitors[i].blood_flow_volume ==0){
1535
+          // const obj55 = '监测第'+((i*1)+1)+'行血流量'
1536
+          // monearr.push(obj55)
1537
+          // } if(this.monitors[i].venous_pressure ==0 ||
1538
+          // this.monitors[i].transmembrane_pressure ==0
1539
+          // ){
1540
+          // const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1541
+          // monearr.push(obj56)
1542
+          // } if(this.monitors[i].ultrafiltration_rate ==0){
1543
+          // const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1544
+          // monearr.push(obj57)
1545
+          // } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1546
+          // const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1547
+          // monearr.push(obj53)
1548
+          // } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1549
+          // ){
1550
+          // const obj58 = '监测第'+((i*1)+1)+'行置换率'
1551
+          // monearr.push(obj58)
1552
+          // } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1553
+          // const obj54 = '监测第'+((i*1)+1)+'行置换量'
1554
+          // monearr.push(obj54)
1555
+          // }  if(this.monitors[i].sodium_concentration ==0 ){
1556
+          // // this.monitors[i].temperature == 0
1557
+          // const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1558
+          // monearr.push(obj59)
1559
+          // } if(this.monitors[i].pulse_frequency ==0){
1560
+          // const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1561
+          // monearr.push(obj60)
1562
+          // } if(this.monitors[i].breathing_rate ==0){
1563
+          // const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1564
+          // monearr.push(obj61)
1565
+          // } if(this.monitors[i].systolic_blood_pressure ==0 ||
1566
+          // this.monitors.diastolic_blood_pressure==0){
1567
+          // const obj62 = '监测第'+((i*1)+1)+'行血压'
1568
+          // monearr.push(obj62)
1569
+          // }
1570
+
1571
+          // }
1520 1572
         }
1521 1573
         if(monearr.length>0){
1522 1574
           checkDate =checkDate.concat(monearr)
@@ -1524,9 +1576,9 @@ export default {
1524 1576
         }
1525 1577
 
1526 1578
         this.getcheckData(checkDate)
1527
-      }else{
1528
-        this.$toast('该患者已下机');
1529
-      }
1579
+      // }else{
1580
+      //   this.$toast('该患者已下机');
1581
+      // }
1530 1582
       
1531 1583
     },
1532 1584
     getDisplaceLiquiPart: function (val) {