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
| 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: 'lock',
| component: () => import('@/views/device/locks/index.vue'),
| name: 'LockManage',
| 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;
|
|