Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 4 days ago
parent
commit
9c728ca5ea
2 changed files with 15 additions and 14 deletions
  1. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  2. 13 13
      src/xt_permission.js

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

1100
                         {{prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : ''}}
1100
                         {{prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : ''}}
1101
                       </span>
1101
                       </span>
1102
                       <span v-if="org_id !=10740">
1102
                       <span v-if="org_id !=10740">
1103
+
1103
                         {{
1104
                         {{
1104
                           prescription.dialyzer_perfusion_apparatus
1105
                           prescription.dialyzer_perfusion_apparatus
1105
                             ? prescription.dialyzer_perfusion_apparatus
1106
                             ? prescription.dialyzer_perfusion_apparatus
1106
-                            : ""
1107
+                            : prescription.dialysis_dialyszers
1107
                         }}
1108
                         }}
1108
                       </span>
1109
                       </span>
1109
 
1110
 

+ 13 - 13
src/xt_permission.js View File

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