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
| const Layout = () => import('@/layout/index.vue');
|
| const devicesRouter = {
| path: '/device',
| component: Layout,
| redirect: 'noRedirect',
| name: 'Device',
| meta: {
| title: '设备管理',
| icon: 'device-hdw'
| },
| children: [
| {
| path: 'realtime',
| component: () => import('@/views/device/realtime/index.vue'),
| name: 'Realtime',
| meta: { title: '实时监测', icon: 'lock-hdw', noCache: false }
| },
| {
| path: 'history',
| component: () => import('@/views/device/history/index.vue'),
| name: 'History',
| meta: { title: '历史数据', icon: 'lock-hdw', noCache: false }
| },
| {
| path: 'lock',
| component: () => import('@/views/device/locks/index.vue'),
| name: 'LockManage',
| meta: { title: '锁具管理', icon: 'lock-hdw', noCache: false }
| },
| // {
| // path: 'station',
| // component: () => import('@/views/device/station/index.vue'),
| // name: 'stationManage',
| // meta: { title: '机房管理', icon: 'lock-hdw', noCache: false }
| // },
| {
| path: 'task',
| component: () => import('@/views/device/locks/task.vue'),
| name: 'LockTask',
| meta: { title: '蓝牙开启计划', icon: 'lock-hdw', noCache: false }
| },
| {
| path: 'key',
| component: () => import('@/views/device/keys/index.vue'),
| // component: () => import('@/views/test/index2.vue'),
| name: 'KeyManage',
| meta: { title: '电子卡管理', icon: 'key-hdw', noCache: false }
| },
| {
| path: 'thread',
| component: () => import('@/views/device/threadManage.vue'),
| // component: () => import('@/views/test/index2.vue'),
| name: 'threadManage',
| meta: { title: '后台线程管理', icon: 'key-hdw', noCache: false }
| }
| ]
| };
|
| export default devicesRouter;
|
|