Browse Source

hah阿凡达

28169 1 month ago
parent
commit
c0da6bebe6

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

3903
       // }
3903
       // }
3904
 
3904
 
3905
       if (this.curStatus == 1 && this.rightTab == 2) {
3905
       if (this.curStatus == 1 && this.rightTab == 2) {
3906
-        this.$message.error('处方是药品,无法添加项目')
3906
+        this.$message.error('处方是药品,无法添加项目')
3907
         this.teamList = []
3907
         this.teamList = []
3908
         this.$refs.tables.clearSelection()
3908
         this.$refs.tables.clearSelection()
3909
 
3909
 
3911
       }
3911
       }
3912
 
3912
 
3913
       if (this.curStatus == 2 && this.rightTab == 1) {
3913
       if (this.curStatus == 2 && this.rightTab == 1) {
3914
-        this.$message.error('处方是项目,无法添加药品')
3914
+        this.$message.error('处方是项目,无法添加药品')
3915
         this.curDrugs = []
3915
         this.curDrugs = []
3916
         this.tempDrugs = []
3916
         this.tempDrugs = []
3917
         this.$refs.multipleTable.clearSelection()
3917
         this.$refs.multipleTable.clearSelection()

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