Browse Source

11月21日,打印单

yq1 1 month ago
parent
commit
b3ce86df6f

+ 5 - 5
src/pages/main/PrintIndex.vue View File

@@ -735,13 +735,13 @@ export default {
735 735
         if (response.data.state == 1) {
736 736
             this.childResponse = response;
737 737
 
738
-          if(this.org_id != 10727&&this.org_id !=0){
738
+          // if(this.org_id != 10727){//&&this.org_id !=0
739 739
             this.org_template_info = response.data.data.org_template_info;
740
-          }else{
741
-            this.org_template_info.template_id = 82
742
-          }
740
+          // }else{
741
+          //   this.org_template_info.template_id = 82
742
+          // }
743 743
           console.log('responsevvvvvv',response.data.data);
744
-          
744
+
745 745
         } else {
746 746
           this.$message.error("请求数据失败");
747 747
           return false;

+ 88 - 48
src/pages/main/template/DialysisPrintOrderSeventyeight.vue View File

@@ -885,7 +885,7 @@
885 885
                               >【开始透析】引血 {{ dialysisOrder.blood_drawing }} ml/min
886 886
                               </template>
887 887
 
888
-                            {{ monitor.end }}  &nbsp;
888
+                              {{ monitor.dispose }}{{ monitor.end }}  &nbsp;
889 889
                             &nbsp;
890 890
                           </span>
891 891
                         </div>
@@ -1487,56 +1487,96 @@ export default {
1487 1487
         if(this.dialysisOrder != undefined && this.dialysisOrder.end_time !=0){
1488 1488
           if(this.monitors.length >0){
1489 1489
             for(let i in this.monitors){
1490
-              if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1491
-                const obj55 = '监测第'+((i*1)+1)+'行血流量'
1492
-                checkDate.push(obj55)
1493
-              } if((this.monitors[i].venous_pressure ==0 ||
1494
-                  this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1490
+              if(this.dialysisOrder.end_time >= this.monitors[i].operate_time && 
1491
+                this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
1495 1492
               ){
1496
-                const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1497
-                checkDate.push(obj56)
1498
-              } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1499
-                const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1500
-                checkDate.push(obj57)
1501
-              } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
1502
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1503
-              ){
1504
-                const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1505
-                checkDate.push(obj53)
1506
-              } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
1507
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1508
-              ){
1509
-                const obj58 = '监测第'+((i*1)+1)+'行置换率'
1510
-                checkDate.push(obj58)
1511
-              } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
1512
-                  && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1513
-              ){
1514
-                const obj54 = '监测第'+((i*1)+1)+'行置换量'
1515
-                checkDate.push(obj54)
1516
-              } if(this.monitors[i].sodium_concentration ==0 && 
1517
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1518
-              ){
1519
-                // this.monitors[i].temperature == 0
1520
-                const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1521
-                checkDate.push(obj59)
1522
-              } if(this.monitors[i].pulse_frequency ==0  && 
1523
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
1524
-              ){
1525
-                const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1526
-                checkDate.push(obj60)
1527
-              } if(this.monitors[i].breathing_rate ==0 && 
1528
-                this.dialysisOrder.end_time >= this.monitors[i].operate_time
1529
-              ){
1530
-                const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1531
-                checkDate.push(obj61)
1532
-              } if((this.monitors[i].systolic_blood_pressure ==0 ||
1533
-                    this.monitors.diastolic_blood_pressure==0) && 
1534
-                    this.dialysisOrder.end_time > this.monitors[i].operate_time
1535
-              ){
1536
-                const obj62 = '监测第'+((i*1)+1)+'行血压'
1537
-                checkDate.push(obj62)
1493
+                  console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
1494
+                if(this.monitors[i].blood_flow_volume ==0 ){
1495
+                  const obj55 = '监测第'+((i*1)+1)+'行血流量'
1496
+                  checkDate.push(obj55)
1497
+                } if((this.monitors[i].venous_pressure ==0 ||
1498
+                    this.monitors[i].transmembrane_pressure ==0 ) ){
1499
+                  const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1500
+                  checkDate.push(obj56)
1501
+                } if(this.monitors[i].ultrafiltration_rate ==0 ){
1502
+                  const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1503
+                  checkDate.push(obj57)
1504
+                } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 ){
1505
+                  const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1506
+                  checkDate.push(obj53)
1507
+                } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'){
1508
+                  const obj58 = '监测第'+((i*1)+1)+'行置换率'
1509
+                  checkDate.push(obj58)
1510
+                } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1511
+                  const obj54 = '监测第'+((i*1)+1)+'行置换量'
1512
+                  checkDate.push(obj54)
1513
+                } if(this.monitors[i].sodium_concentration ==0 ){
1514
+                  // this.monitors[i].temperature == 0
1515
+                  const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1516
+                  checkDate.push(obj59)
1517
+                } if(this.monitors[i].pulse_frequency ==0  ){
1518
+                  const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1519
+                  checkDate.push(obj60)
1520
+                } if(this.monitors[i].breathing_rate ==0 ){
1521
+                  const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1522
+                  checkDate.push(obj61)
1523
+                } if((this.monitors[i].systolic_blood_pressure ==0 ||
1524
+                      this.monitors.diastolic_blood_pressure==0) ){
1525
+                  const obj62 = '监测第'+((i*1)+1)+'行血压'
1526
+                  checkDate.push(obj62)
1527
+                }
1538 1528
               }
1539 1529
 
1530
+              // if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1531
+              //   const obj55 = '监测第'+((i*1)+1)+'行血流量'
1532
+              //   checkDate.push(obj55)
1533
+              // } if((this.monitors[i].venous_pressure ==0 ||
1534
+              //     this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1535
+              // ){
1536
+              //   const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
1537
+              //   checkDate.push(obj56)
1538
+              // } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
1539
+              //   const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1540
+              //   checkDate.push(obj57)
1541
+              // } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
1542
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1543
+              // ){
1544
+              //   const obj53 = '监测第'+((i*1)+1)+'行超滤量'
1545
+              //   checkDate.push(obj53)
1546
+              // } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
1547
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1548
+              // ){
1549
+              //   const obj58 = '监测第'+((i*1)+1)+'行置换率'
1550
+              //   checkDate.push(obj58)
1551
+              // } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
1552
+              //     && this.dialysisOrder.end_time >= this.monitors[i].operate_time
1553
+              // ){
1554
+              //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1555
+              //   checkDate.push(obj54)
1556
+              // } if(this.monitors[i].sodium_concentration ==0 && 
1557
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1558
+              // ){
1559
+              //   // this.monitors[i].temperature == 0
1560
+              //   const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
1561
+              //   checkDate.push(obj59)
1562
+              // } if(this.monitors[i].pulse_frequency ==0  && 
1563
+              //     this.dialysisOrder.end_time >= this.monitors[i].operate_time
1564
+              // ){
1565
+              //   const obj60 = '监测第'+((i*1)+1)+'行脉搏'
1566
+              //   checkDate.push(obj60)
1567
+              // } if(this.monitors[i].breathing_rate ==0 && 
1568
+              //   this.dialysisOrder.end_time >= this.monitors[i].operate_time
1569
+              // ){
1570
+              //   const obj61 = '监测第'+((i*1)+1)+'行呼吸'
1571
+              //   checkDate.push(obj61)
1572
+              // } if((this.monitors[i].systolic_blood_pressure ==0 ||
1573
+              //       this.monitors.diastolic_blood_pressure==0) && 
1574
+              //       this.dialysisOrder.end_time > this.monitors[i].operate_time
1575
+              // ){
1576
+              //   const obj62 = '监测第'+((i*1)+1)+'行血压'
1577
+              //   checkDate.push(obj62)
1578
+              // }
1579
+
1540 1580
             }
1541 1581
           }
1542 1582
         }