|
@@ -130,6 +130,26 @@ export const dynamicRoutes = [
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ //****************** 设备管理 *******************//
|
|
|
|
+ // 设备列表
|
|
|
|
+ {
|
|
|
|
+ path: '/device',
|
|
|
|
+ name: "deviceList",
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
|
|
+ permissions: ['device:list:list'],
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'deviceList/detail',
|
|
|
|
+ component: () => import('@/views/device/list/detail'),
|
|
|
|
+ name: 'deviceListDetail',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '设备详情',
|
|
|
|
+ activeMenu: '/device/deviceList'
|
|
|
|
+ }
|
|
|
|
+ }]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/system/user-auth',
|
|
path: '/system/user-auth',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -224,24 +244,7 @@ export const dynamicRoutes = [
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
|
|
|
|
- // 设备管理
|
|
|
|
- // 设备列表
|
|
|
|
- {
|
|
|
|
- path: '/device',
|
|
|
|
- component: Layout,
|
|
|
|
- hidden: true,
|
|
|
|
- permissions: ['device:list:list'],
|
|
|
|
- name: 'deviceList',
|
|
|
|
- children: [{
|
|
|
|
- path: 'deviceList/detail',
|
|
|
|
- component: () => import('@/views/device/list/detail'),
|
|
|
|
- name: 'deviceListDetail',
|
|
|
|
- meta: {
|
|
|
|
- title: '设备详情',
|
|
|
|
- activeMenu: '/device/deviceList'
|
|
|
|
- }
|
|
|
|
- }]
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/device',
|
|
path: '/device',
|
|
component: Layout,
|
|
component: Layout,
|