|
@@ -166,22 +166,23 @@ export const dynamicRoutes = [{
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
// 内容管理
|
|
// 内容管理
|
|
-// 文章管理
|
|
|
|
-// {
|
|
|
|
-// path: '/content',
|
|
|
|
-// component: Layout,
|
|
|
|
-// hidden: true,
|
|
|
|
-// permissions: ['content:article:list'],
|
|
|
|
-// children: [{
|
|
|
|
-// path: 'articleList/detail',
|
|
|
|
-// component: () => import('@/views/content/article/detail'),
|
|
|
|
-// name: 'articleListDetail',
|
|
|
|
-// meta: {
|
|
|
|
-// title: '文章详情',
|
|
|
|
-// activeMenu: '/content/articleList'
|
|
|
|
-// }
|
|
|
|
-// }]
|
|
|
|
-// },
|
|
|
|
|
|
+// 视频管理
|
|
|
|
+{
|
|
|
|
+ path: '/content',
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
|
|
+ permissions: ['content:video:list'],
|
|
|
|
+ name: 'videoList',
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'video/detail',
|
|
|
|
+ component: () => import('@/views/content/video/detail'),
|
|
|
|
+ name: 'videoDetail',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '视频详情',
|
|
|
|
+ activeMenu: '/content/video'
|
|
|
|
+ }
|
|
|
|
+ }]
|
|
|
|
+},
|
|
// 设备管理
|
|
// 设备管理
|
|
// 设备列表
|
|
// 设备列表
|
|
{
|
|
{
|
|
@@ -200,6 +201,22 @@ export const dynamicRoutes = [{
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
|
|
+{
|
|
|
|
+ path: '/device',
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
|
|
+ permissions: ['device:category:list'],
|
|
|
|
+ name: 'category',
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'category/detail',
|
|
|
|
+ component: () => import('@/views/device/category/detail'),
|
|
|
|
+ name: 'categoryDetail',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '大类详情',
|
|
|
|
+ activeMenu: '/device/category'
|
|
|
|
+ }
|
|
|
|
+ }]
|
|
|
|
+},
|
|
// 设备升级
|
|
// 设备升级
|
|
{
|
|
{
|
|
path: '/device',
|
|
path: '/device',
|