|
@@ -541,23 +541,40 @@
|
541
|
541
|
var str = val.join(';')
|
542
|
542
|
console.log("strw222222222",str)
|
543
|
543
|
if(str.indexOf('透析器/灌流器')!=-1 && this.prescription!=null){
|
544
|
|
- arr.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus)
|
|
544
|
+ arr.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus?this.prescription.dialyzer_perfusion_apparatus:"")
|
545
|
545
|
}
|
546
|
|
- if(str.indexOf('透析器/灌流器')!=-1 && this.prescription==null){
|
|
546
|
+
|
|
547
|
+ if(str.indexOf('透析器/灌流器')!=-1 && this.prescription==null){
|
547
|
548
|
arr.push("透析器/灌流器:")
|
548
|
549
|
}
|
|
550
|
+
|
549
|
551
|
if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
|
550
|
552
|
arr.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
|
551
|
553
|
}
|
552
|
|
- if(str.indexOf('透析液配方')!=-1 && this.GetDialysateFormulationById(this.prescription.dialysate_formulation)!=null){
|
|
554
|
+
|
|
555
|
+ if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id==0){
|
|
556
|
+ arr.push("穿刺针:")
|
|
557
|
+ }
|
|
558
|
+
|
|
559
|
+ if(str.indexOf('透析液配方')!=-1 && this.prescription!=null){
|
553
|
560
|
arr.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
|
554
|
561
|
}
|
555
|
|
- if(str.indexOf('钾')!=-1 ){
|
|
562
|
+
|
|
563
|
+ if(str.indexOf('透析液配方')!=-1 && this.prescription==null){
|
|
564
|
+ arr.push("透析液配方:")
|
|
565
|
+ }
|
|
566
|
+ if(str.indexOf('钾')!=-1 && this.prescription!=null ){
|
556
|
567
|
arr.push("钾:"+this.prescription.kalium)
|
557
|
568
|
}
|
558
|
|
- if(str.indexOf('钙')!=-1 ){
|
|
569
|
+ if(str.indexOf('钾')!=-1 && this.prescription==null ){
|
|
570
|
+ arr.push("钾:")
|
|
571
|
+ }
|
|
572
|
+ if(str.indexOf('钙')!=-1 && this.prescription!=null ){
|
559
|
573
|
arr.push("钙:"+this.prescription.calcium)
|
560
|
574
|
}
|
|
575
|
+ if(str.indexOf('钙')!=-1 && this.prescription==null ){
|
|
576
|
+ arr.push("钙:")
|
|
577
|
+ }
|
561
|
578
|
console.log("arr",arr)
|
562
|
579
|
this.doubleReview.dialysis_item_desc = arr.join(";")
|
563
|
580
|
},
|
|
@@ -616,7 +633,8 @@
|
616
|
633
|
console.log("333333333",this.patient)
|
617
|
634
|
console.log("透前评估23455",this.predialysis_evaluation)
|
618
|
635
|
console.log("透析处方23567",this.prescription)
|
619
|
|
- if(this.prescription=null && this.prescription.id!=0){
|
|
636
|
+ console.log("双人核对",this.double_check)
|
|
637
|
+ if(this.prescription!=null && this.prescription.id!=0){
|
620
|
638
|
this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
|
621
|
639
|
this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
|
622
|
640
|
this.kalium = this.kalium + this.prescription.kalium
|
|
@@ -625,6 +643,13 @@
|
625
|
643
|
if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
|
626
|
644
|
this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle
|
627
|
645
|
}
|
|
646
|
+ if(this.double_check !=null && this.double_check.id!=0){
|
|
647
|
+ console.log("双人核对",this.double_check)
|
|
648
|
+ if(this.double_check.dialysis_item_desc.indexOf("透析器/灌流器")!=-1){
|
|
649
|
+ this.checkList.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus)
|
|
650
|
+ console.log("222222",this.checkList)
|
|
651
|
+ }
|
|
652
|
+ }
|
628
|
653
|
},
|
629
|
654
|
'double_check.id': function() {
|
630
|
655
|
if (this.double_check.id > 0) {
|