28169 1 ano atrás
pai
commit
73452dae41

+ 4 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

2752
           last_weight_after = this.last_record.weight_after
2752
           last_weight_after = this.last_record.weight_after
2753
         }
2753
         }
2754
         console.log("last2323232323232332wode",this.predialysis)
2754
         console.log("last2323232323232332wode",this.predialysis)
2755
+        console.log("lastwoowowow",last)
2755
         if(this.predialysis!=null && this.predialysis.id == 0){
2756
         if(this.predialysis!=null && this.predialysis.id == 0){
2756
             if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 ){
2757
             if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 ){
2757
               this.dialysisPrescription.sodium = 138
2758
               this.dialysisPrescription.sodium = 138
2784
             this.dialysisPrescription.a_liquid = last.a_liquid
2785
             this.dialysisPrescription.a_liquid = last.a_liquid
2785
             this.zongliang = last.anticoagulant_zongliang
2786
             this.zongliang = last.anticoagulant_zongliang
2786
             this.dialysisPrescription.chaptalization = last.chaptalization
2787
             this.dialysisPrescription.chaptalization = last.chaptalization
2788
+            this.dialysisPrescription.blood_access_part_id = last.blood_access_part_id
2787
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2789
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2788
               this.remark = last.remark
2790
               this.remark = last.remark
2789
             }
2791
             }
5079
       }
5081
       }
5080
     },
5082
     },
5081
     created() {
5083
     created() {
5082
-      console.log('weretrertf',this.dialysisPrescription.sodium);
5083
-      console.log("schedual232323323232323232",this.adminRoles)
5084
+      
5084
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5085
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5085
 
5086
 
5086
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5087
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5092
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5093
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5093
 
5094
 
5094
      
5095
      
5095
-      console.log("透析准备232323232323wo",this.educationList)
5096
+      
5096
     }
5097
     }
5097
   }
5098
   }
5098
 </script>
5099
 </script>

+ 13 - 13
src/xt_permission.js Ver arquivo

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))