|
|
|
@ -89,48 +89,48 @@ export const constantRoutes = [
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: '/board1',
|
|
|
|
|
component: () => import('@/views/board/index'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'index', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board2',
|
|
|
|
|
component: () => import('@/views/board/equipmentMonitoring'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'equipmentMonitoring', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board3',
|
|
|
|
|
component: () => import('@/views/board/GPS'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'GPS', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board4',
|
|
|
|
|
component: () => import('@/views/board/senso'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'senso', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board5',
|
|
|
|
|
component: () => import('@/views/board/smartScene'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'smartScene', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board6',
|
|
|
|
|
component: () => import('@/views/board/equipment'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'equipment', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/board7',
|
|
|
|
|
component: () => import('@/views/board/allScenes'),
|
|
|
|
|
name: 'Index',
|
|
|
|
|
meta: { title: 'allScenes', icon: 'dashboard', affix: true }
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board1',
|
|
|
|
|
// component: () => import('@/views/board/index'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'index', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board2',
|
|
|
|
|
// component: () => import('@/views/board/equipmentMonitoring'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'equipmentMonitoring', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board3',
|
|
|
|
|
// component: () => import('@/views/board/GPS'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'GPS', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board4',
|
|
|
|
|
// component: () => import('@/views/board/senso'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'senso', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board5',
|
|
|
|
|
// component: () => import('@/views/board/smartScene'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'smartScene', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board6',
|
|
|
|
|
// component: () => import('@/views/board/equipment'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'equipment', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/board7',
|
|
|
|
|
// component: () => import('@/views/board/allScenes'),
|
|
|
|
|
// name: 'Index',
|
|
|
|
|
// meta: { title: 'allScenes', icon: 'dashboard', affix: true }
|
|
|
|
|
// },
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
// 动态路由,基于用户权限动态去加载
|
|
|
|
|