index.js
2.25 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'user',
meta: { title: '用户管理' },
component: () => import('../views/user/index.vue')
},
{
path: '/user',
name: 'user',
meta: { title: '用户管理' },
component: () => import('../views/user/index.vue')
},
{
path: '/role',
name: 'role',
meta: { title: '角色管理' },
component: () => import('../views/role/index.vue')
},
{
path: '/vehicleTypeManage',
name: 'vehicleTypeManage',
meta: { title: '车型管理' },
keepAlive:false,
component: () => import('../views/vehicleTypeManage/index.vue')
},
{
path: '/vehicleTypeManage/vehicleAddUpadate',
name: 'vehicleAddUpadate',
meta: { title: '车型库' },
hidden:true,
keepAlive:false,
component: () => import('../views/vehicleTypeManage/vehicleAddUpadate.vue')
},
{
path: '/orginizaManage',
name: 'orginizaManage',
meta: { title: '组织管理' },
component: () => import('../views/orginizaManage/index.vue')
},
{
path: '/menuManage',
name: 'menuManage',
meta: { title: '菜单管理' },
component: () => import('../views/menuManage/index.vue')
},
{
path: '/dictionaryManage',
name: 'dictionaryManage',
meta: { title: '字典管理' },
component: () => import('../views/dictionaryManage/index.vue')
},
{
path: '/dictionaryManage/dictionaryData',
name: 'dictionaryData',
meta: {
title: '字典数据',
pushState: true
},
component: () => import('../views/dictionaryManage/dictionaryData/index.vue')
},
{
path: '/workLog',
name: 'workLog',
meta: { title: '操作日志' },
component: () => import('../views/workLog/index.vue')
},
{
path: '/home/index',
name: 'homeIndex',
meta: { title: '数据看板' },
component: () => import('../views/home/index.vue')
},
{
path: '/work/order',
name: 'workOrder',
meta: { title: '工单管理' },
component: () => import('../views/work/order.vue')
},
{
path: '/work/order/add',
name: 'workOrderAdd',
meta: { title: '新增工单' },
component: () => import('../views/work/add.vue')
}
]
export default routes