XMLWAN 4 anos atrás
pai
commit
b5e8098480

+ 31 - 6
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue Ver arquivo

@@ -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) {

+ 2 - 1
src/xt_pages/management/components/PlanForm.vue Ver arquivo

@@ -183,7 +183,8 @@ export default {
183 183
         { id: 1, name: "0.22%季铵盐" },
184 184
         { id: 2, name: "500mg/l含氯消毒剂" },
185 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 190
       sterilizeType: [

+ 8 - 1
src/xt_pages/management/home.vue Ver arquivo

@@ -2329,7 +2329,8 @@ export default {
2329 2329
           { id: 1, name: '0.22%季铵盐' },
2330 2330
           { id: 2, name: '500mg/l含氯消毒剂' },
2331 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 2336
         sterilizeType: [
@@ -3212,6 +3213,9 @@ export default {
3212 3213
               if (plan[index].machine_disinfectant === 4) {
3213 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 3220
               if (plan[index].disinfectan_way === 0) {
3217 3221
                 plan[index].disinfectan_way = '/'
@@ -3346,6 +3350,9 @@ export default {
3346 3350
               if (plandetail[index].machine_disinfectant === 4) {
3347 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 3357
               if (plandetail[index].disinfectan_way === 0) {
3351 3358
                 plandetail[index].disinfectan_way = '/'