index.js
1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'User',
component: () => import('../views/user/index.vue')
},
{
path: '/user',
name: 'User',
component: () => import('../views/user/index.vue')
},
{
path: '/role',
name: 'Role',
component: () => import('../views/role/index.vue')
},
{
path: '/orginizaManage',
name: 'OrginizaManage',
component: () => import('../views/orginizaManage/index.vue')
},
{
path: '/menuManage',
name: 'MenuManage',
component: () => import('../views/menuManage/index.vue')
},
{
path: '/dictionaryManage',
name: 'DictionaryManage',
component: () => import('../views/dictionaryManage/index.vue')
},
{
path: '/dictionaryManage/dictionaryData',
name: 'dictionaryData',
meta: { title: '字典数据' },
component: () => import('../views/dictionaryManage/dictionaryData/index.vue')
},
{
path: '/workLog',
name: 'workLog',
component: () => import('../views/workLog/index.vue')
}
]
export default routes