XMLWAN 4 years ago
parent
commit
b5e8098480

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

541
          var str = val.join(';')
541
          var str = val.join(';')
542
          console.log("strw222222222",str)
542
          console.log("strw222222222",str)
543
         if(str.indexOf('透析器/灌流器')!=-1 && this.prescription!=null){
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
             arr.push("透析器/灌流器:")
548
             arr.push("透析器/灌流器:")
548
         }
549
         }
550
+       
549
         if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
551
         if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
550
            arr.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
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
            arr.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
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
           arr.push("钾:"+this.prescription.kalium)
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
           arr.push("钙:"+this.prescription.calcium)
573
           arr.push("钙:"+this.prescription.calcium)
560
         }
574
         }
575
+        if(str.indexOf('钙')!=-1 && this.prescription==null ){
576
+          arr.push("钙:")
577
+        }
561
         console.log("arr",arr)
578
         console.log("arr",arr)
562
         this.doubleReview.dialysis_item_desc = arr.join(";")
579
         this.doubleReview.dialysis_item_desc = arr.join(";")
563
       },
580
       },
616
          console.log("333333333",this.patient)
633
          console.log("333333333",this.patient)
617
         console.log("透前评估23455",this.predialysis_evaluation)
634
         console.log("透前评估23455",this.predialysis_evaluation)
618
         console.log("透析处方23567",this.prescription)
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
           this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
638
           this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
621
           this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
639
           this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
622
           this.kalium = this.kalium + this.prescription.kalium
640
           this.kalium = this.kalium + this.prescription.kalium
625
         if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
643
         if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
626
           this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle
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
       'double_check.id': function() {
654
       'double_check.id': function() {
630
         if (this.double_check.id > 0) {
655
         if (this.double_check.id > 0) {

+ 2 - 1
src/xt_pages/management/components/PlanForm.vue View File

183
         { id: 1, name: "0.22%季铵盐" },
183
         { id: 1, name: "0.22%季铵盐" },
184
         { id: 2, name: "500mg/l含氯消毒剂" },
184
         { id: 2, name: "500mg/l含氯消毒剂" },
185
         { id: 3, name: "1000mg/l含氯消毒剂" },
185
         { id: 3, name: "1000mg/l含氯消毒剂" },
186
-        { id: 4, name: "1500mg/l含氯消毒剂" }
186
+        { id: 4, name: "1500mg/l含氯消毒剂" },
187
+        { id: 5,  name:"消毒湿巾"}
187
       ],
188
       ],
188
       // 夜路消毒方式
189
       // 夜路消毒方式
189
       sterilizeType: [
190
       sterilizeType: [

+ 8 - 1
src/xt_pages/management/home.vue View File

2329
           { id: 1, name: '0.22%季铵盐' },
2329
           { id: 1, name: '0.22%季铵盐' },
2330
           { id: 2, name: '500mg/l含氯消毒剂' },
2330
           { id: 2, name: '500mg/l含氯消毒剂' },
2331
           { id: 3, name: '1000mg/l含氯消毒剂' },
2331
           { id: 3, name: '1000mg/l含氯消毒剂' },
2332
-          { id: 4, name: '1500mg/l含氯消毒剂' }
2332
+          { id: 4, name: '1500mg/l含氯消毒剂' },
2333
+          { id: 5,  name:  "消毒湿巾"}
2333
         ],
2334
         ],
2334
         // 夜路消毒方式
2335
         // 夜路消毒方式
2335
         sterilizeType: [
2336
         sterilizeType: [
3212
               if (plan[index].machine_disinfectant === 4) {
3213
               if (plan[index].machine_disinfectant === 4) {
3213
                 plan[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3214
                 plan[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3214
               }
3215
               }
3216
+              if(plan[index].machine_disinfectant === 5){
3217
+                 plan[index].machine_disinfectant = "消毒湿巾"
3218
+              }
3215
 
3219
 
3216
               if (plan[index].disinfectan_way === 0) {
3220
               if (plan[index].disinfectan_way === 0) {
3217
                 plan[index].disinfectan_way = '/'
3221
                 plan[index].disinfectan_way = '/'
3346
               if (plandetail[index].machine_disinfectant === 4) {
3350
               if (plandetail[index].machine_disinfectant === 4) {
3347
                 plandetail[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3351
                 plandetail[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3348
               }
3352
               }
3353
+              if(plandetail[index].machine_disinfectant === 5){
3354
+                  plandetail[index].machine_disinfectant = "消毒湿巾"
3355
+              }
3349
 
3356
 
3350
               if (plandetail[index].disinfectan_way === 0) {
3357
               if (plandetail[index].disinfectan_way === 0) {
3351
                 plandetail[index].disinfectan_way = '/'
3358
                 plandetail[index].disinfectan_way = '/'