添加新的路由

master
suixy 5 days ago
parent 772e29ad6f
commit d03e3d2fcf

@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/board1', '/board2', '/register', '/liner', '/caseShell2', '/foaming', '/foaming2', '/pourInto', '/finalAssembly', '/scanDown', '/week', '/model']
const whiteList = ['/login', '/board1', '/board2', '/board3', '/register', '/liner', '/caseShell2', '/foaming', '/foaming2', '/pourInto', '/finalAssembly', '/scanDown', '/week', '/week2', '/model']
router.beforeEach((to, from, next) => {
NProgress.start()

@ -109,6 +109,16 @@ export const constantRoutes = [
component: () => import('@/views/board/board2/index'),
name: 'Board2',
meta: {title: '效率监控', icon: '404',}
}, {
path: 'board3',
component: () => import('@/views/board/board3/index'),
name: 'Board3',
meta: {title: '生产进度监控', icon: '404',}
}, {
path: 'board4',
component: () => import('@/views/board/board3/index'),
name: 'Board4',
meta: {title: '生产进度监控', icon: '404',}
},
{
path: 'liner',
@ -173,6 +183,11 @@ export const constantRoutes = [
name: 'Week',
component: () => import('@/views/board/week/index'),
meta: {title: '综合看板', icon: 'dashboard',}
}, {
path: 'week2',
name: 'Week2',
component: () => import('@/views/board/week2/index'),
meta: {title: '综合看板', icon: 'dashboard',}
},
]
},

Loading…
Cancel
Save