Ver código fonte

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 anos atrás
pai
commit
7992764c03
2 arquivos alterados com 14 adições e 14 exclusões
  1. 1 1
      src/xt_pages/user/templateSummary.vue
  2. 13 13
      src/xt_permission.js

+ 1 - 1
src/xt_pages/user/templateSummary.vue Ver arquivo

@@ -1003,7 +1003,7 @@
1003 1003
         })
1004 1004
 
1005 1005
       this.anticoagulantList = arrFour
1006
-      console.log("抗凝剂量",this.anticoagulantList)
1006
+      // console.log("抗凝剂量",this.anticoagulantList)
1007 1007
       var endtime= moment(new Date()).endOf('month').subtract('month', +1).endOf('month').format("YYYY-MM-DD")
1008 1008
       console.log("endtime",endtime)
1009 1009
       this.getlist()

+ 13 - 13
src/xt_permission.js Ver arquivo

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 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 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))