XMLWAN 4 years ago
parent
commit
e5e896b97d
1 changed files with 10 additions and 10 deletions
  1. 10 10
      src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue

+ 10 - 10
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue View File

565
            arr.push("透析液配方:")
565
            arr.push("透析液配方:")
566
         }
566
         }
567
         if(str.indexOf('钾')!=-1 && this.prescription!=null ){
567
         if(str.indexOf('钾')!=-1 && this.prescription!=null ){
568
-          arr.push("钾:"+this.prescription.kalium)
568
+          arr.push("钾:"+(this.prescription.kalium?this.prescription.kalium:""))
569
         }
569
         }
570
         if(str.indexOf('钾')!=-1 && this.prescription==null ){
570
         if(str.indexOf('钾')!=-1 && this.prescription==null ){
571
           arr.push("钾:")
571
           arr.push("钾:")
572
         }
572
         }
573
         if(str.indexOf('钙')!=-1 && this.prescription!=null ){
573
         if(str.indexOf('钙')!=-1 && this.prescription!=null ){
574
-          arr.push("钙:"+this.prescription.calcium)
574
+          arr.push("钙:"+(this.prescription.calcium?this.prescription.calcium:""))
575
         }
575
         }
576
         if(str.indexOf('钙')!=-1 && this.prescription==null ){
576
         if(str.indexOf('钙')!=-1 && this.prescription==null ){
577
           arr.push("钙:")
577
           arr.push("钙:")
610
            arr.push("目标超滤量:")
610
            arr.push("目标超滤量:")
611
         }
611
         }
612
         if(str.indexOf("抗凝剂")!=-1 && this.prescription!=null){
612
         if(str.indexOf("抗凝剂")!=-1 && this.prescription!=null){
613
-           arr.push("抗凝剂:"+this.prescription.anticoagulant)
613
+           arr.push("抗凝剂:"+(this.prescription.anticoagulant?this.prescription.anticoagulant:""))
614
         }
614
         }
615
        if(str.indexOf("抗凝剂")!=-1 && this.prescription==null){
615
        if(str.indexOf("抗凝剂")!=-1 && this.prescription==null){
616
            arr.push("抗凝剂:")
616
            arr.push("抗凝剂:")
617
         }
617
         }
618
         if(str.indexOf("首剂")!=-1 && this.prescription!=null){
618
         if(str.indexOf("首剂")!=-1 && this.prescription!=null){
619
-           arr.push("首剂:"+this.prescription.anticoagulant_shouji)
619
+           arr.push("首剂:"+(this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:""))
620
         }
620
         }
621
         if(str.indexOf("首剂")!=-1 && this.prescription==null){
621
         if(str.indexOf("首剂")!=-1 && this.prescription==null){
622
            arr.push("首剂:")
622
            arr.push("首剂:")
623
         }
623
         }
624
        if(str.indexOf("维持")!=-1 && this.prescription!=null){
624
        if(str.indexOf("维持")!=-1 && this.prescription!=null){
625
-           arr.push("维持:"+this.prescription.anticoagulant_weichi)
625
+           arr.push("维持:"+(this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:""))
626
         }
626
         }
627
 
627
 
628
         if(str.indexOf("维持")!=-1 && this.prescription==null){
628
         if(str.indexOf("维持")!=-1 && this.prescription==null){
630
         }
630
         }
631
 
631
 
632
         if(str.indexOf("总量")!=-1 && this.prescription!=null){
632
         if(str.indexOf("总量")!=-1 && this.prescription!=null){
633
-           arr.push("总量:"+this.prescription.anticoagulant_zongliang)
633
+           arr.push("总量:"+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:""))
634
         }
634
         }
635
         
635
         
636
         if(str.indexOf("总量")!=-1 && this.prescription==null){
636
         if(str.indexOf("总量")!=-1 && this.prescription==null){
638
         }
638
         }
639
 
639
 
640
        if(str.indexOf("置换液")!=-1 && this.prescription!=null){
640
        if(str.indexOf("置换液")!=-1 && this.prescription!=null){
641
-           arr.push("置换液:"+this.prescription.displace_liqui_part)
641
+           arr.push("置换液:"+(this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:""))
642
         } 
642
         } 
643
 
643
 
644
        if(str.indexOf("置换液")!=-1 && this.prescription==null){
644
        if(str.indexOf("置换液")!=-1 && this.prescription==null){
646
         } 
646
         } 
647
       
647
       
648
        if(str.indexOf("置换总量")!=-1 && this.prescription!=null){
648
        if(str.indexOf("置换总量")!=-1 && this.prescription!=null){
649
-           arr.push("置换总量:"+this.prescription.replacement_total)
649
+           arr.push("置换总量:"+(this.prescription.replacement_total?this.prescription.replacement_total:""))
650
         } 
650
         } 
651
 
651
 
652
         if(str.indexOf("置换总量")!=-1 && this.prescription==null){
652
         if(str.indexOf("置换总量")!=-1 && this.prescription==null){
654
         } 
654
         } 
655
 
655
 
656
        if(str.indexOf("处方血流量")!=-1 && this.prescription!=null){
656
        if(str.indexOf("处方血流量")!=-1 && this.prescription!=null){
657
-           arr.push("处方血流量:"+this.prescription.blood_flow_volume)
657
+           arr.push("处方血流量:"+(this.prescription.blood_flow_volume?this.prescription.blood_flow_volume:""))
658
         } 
658
         } 
659
 
659
 
660
        if(str.indexOf("处方血流量")!=-1 && this.prescription==null){
660
        if(str.indexOf("处方血流量")!=-1 && this.prescription==null){
662
         } 
662
         } 
663
        
663
        
664
        if(str.indexOf("透析液流量")!=-1 && this.prescription!=null){
664
        if(str.indexOf("透析液流量")!=-1 && this.prescription!=null){
665
-           arr.push("透析液流量:"+this.prescription.dialysate_flow)
665
+           arr.push("透析液流量:"+(this.prescription.dialysate_flow?this.prescription.dialysate_flow:""))
666
         } 
666
         } 
667
 
667
 
668
        if(str.indexOf("透析液流量")!=-1 && this.prescription==null){
668
        if(str.indexOf("透析液流量")!=-1 && this.prescription==null){