| | |
| | | component: () => import('@/views/error/401'),
|
| | | hidden: true
|
| | | },
|
| | |
|
| | | {
|
| | | path: '',
|
| | | component: Layout,
|
| | |
| | | }
|
| | | ]
|
| | | },
|
| | | // {
|
| | | // path: '/equipment',
|
| | | // component: Layout,
|
| | | // redirect: '/equipment/iot-monitor',
|
| | | // children: [
|
| | | // {
|
| | | // path: 'iot-monitor',
|
| | | // component: () => import('@/views/equipmentManagement/iotMonitor/index.vue'),
|
| | | // name: 'IoTMonitor',
|
| | | // meta: { title: 'IoT监控', icon: 'monitor', noCache: true }
|
| | | // }
|
| | | // ]
|
| | | // },
|
| | | // {
|
| | | // path: '/main/MobileChat',
|
| | | // component: Layout,
|
| | | // redirect: '',
|
| | | // hidden: true,
|
| | | // children: [
|
| | | // {
|
| | | // path: '',
|
| | | // component: () => import('@/views/chatHome/chatHomeIndex/MobileChat'),
|
| | | // name: 'MobileChat',
|
| | | // meta: { title: 'AI对话', icon: 'dashboard', affix: true}
|
| | | // }
|
| | | // ]
|
| | | // },
|
| | | {
|
| | | path: '/user',
|
| | | component: Layout,
|
| | |
| | | permissions: ['monitor:job:list'],
|
| | | children: [
|
| | | {
|
| | | path: 'index',
|
| | | path: 'index/:jobId(\\d+)',
|
| | | component: () => import('@/views/monitor/job/log'),
|
| | | name: 'JobLog',
|
| | | meta: { title: '调度日志', activeMenu: '/monitor/job' }
|
| | |
| | | scrollBehavior(to, from, savedPosition) {
|
| | | if (savedPosition) {
|
| | | return savedPosition
|
| | | } else {
|
| | | return { top: 0 }
|
| | | }
|
| | | return { top: 0 }
|
| | | },
|
| | | });
|
| | | })
|
| | |
|
| | | export default router;
|
| | | export default router
|