浏览代码

医护管理

XMLWAN 4 年前
父节点
当前提交
bf8b4b4064
共有 1 个文件被更改,包括 28 次插入34 次删除
  1. 28 34
      src/router/index.js

+ 28 - 34
src/router/index.js 查看文件

22
 import scrm from './modules/scrm'
22
 import scrm from './modules/scrm'
23
 import shop from './modules/shop'
23
 import shop from './modules/shop'
24
 
24
 
25
-
26
-
27
-
28
-
29
-
30
-
31
 Vue.use(Router)
25
 Vue.use(Router)
32
 
26
 
33
 /** note: submenu only apppear when children.length>=1
27
 /** note: submenu only apppear when children.length>=1
60
   component: () => import('@/xt_pages/index/verify_token'),
54
   component: () => import('@/xt_pages/index/verify_token'),
61
   hidden: true
55
   hidden: true
62
 },
56
 },
63
-  {
64
-    path: '/404',
65
-    component: () => import('@/views/errorPage/404'),
66
-    hidden: true
67
-  },
68
-  {
69
-    path: '/401',
70
-    component: () => import('@/views/errorPage/401'),
71
-    hidden: true
72
-  },
73
-  {
74
-    path: '',
75
-    component: Layout,
76
-    redirect: '/home',
77
-    children: [{
78
-      path: '/home',
79
-      component: () => import('@/xt_pages/home/index'),
80
-      name: 'home',
81
-      meta: {
82
-        title: 'home',
83
-        icon: 'dashboard',
84
-        noCache: true
85
-      }
86
-    }]
87
-  },
88
-  service,
57
+{
58
+  path: '/404',
59
+  component: () => import('@/views/errorPage/404'),
60
+  hidden: true
61
+},
62
+{
63
+  path: '/401',
64
+  component: () => import('@/views/errorPage/401'),
65
+  hidden: true
66
+},
67
+{
68
+  path: '',
69
+  component: Layout,
70
+  redirect: '/home',
71
+  children: [{
72
+    path: '/home',
73
+    component: () => import('@/xt_pages/home/index'),
74
+    name: 'home',
75
+    meta: {
76
+      title: 'home',
77
+      icon: 'dashboard',
78
+      noCache: true
79
+    }
80
+  }]
81
+},
82
+service
89
   // patient,
83
   // patient,
90
   // workforce,
84
   // workforce,
91
   // weight_sign,
85
   // weight_sign,
101
 var _asy_router_map = [
95
 var _asy_router_map = [
102
   patient,
96
   patient,
103
   workforce,
97
   workforce,
104
-  // medicalScheduling,
98
+  medicalScheduling,
105
   weight_sign,
99
   weight_sign,
106
   dialysis,
100
   dialysis,
107
   stock,
101
   stock,
113
   scrm,
107
   scrm,
114
   shop,
108
   shop,
115
   integration,
109
   integration,
116
-  systems,
110
+  systems
117
 ]
111
 ]
118
 
112
 
119
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证
113
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证