28169 6 天前
父节点
当前提交
05e154d819
共有 2 个文件被更改,包括 14 次插入14 次删除
  1. 1 1
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  2. 13 13
      src/xt_permission.js

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -1044,7 +1044,7 @@
1044 1044
                     </el-col>
1045 1045
 
1046 1046
                     <el-col :span="8" v-if="isShows('葡萄糖')">
1047
-                        <el-form-item label="葡萄糖:" prop="amylaceum" :rules="isCheckmust('葡萄糖')">
1047
+                        <el-form-item label="葡萄糖(mmol/L):" prop="amylaceum" :rules="isCheckmust('葡萄糖')">
1048 1048
                             <el-input v-model="dialysisPrescription.amylaceum"></el-input>
1049 1049
                         </el-form-item>
1050 1050
                     </el-col>

+ 13 - 13
src/xt_permission.js 查看文件

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