| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/main/formula-data', |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ['bs:formulaInfo:list'], |
| | | children: [ |
| | | { |
| | | path: 'index', |
| | | component: () => import('@/views/main/bs/formulaInfoChild/index'), |
| | | name: 'Data', |
| | | meta: { title: '工艺配方详情', activeMenu: '/main/bs/formulaInfoChild' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/main/route-data', |
| | | component: Layout, |
| | | hidden: true, |
| | |
| | | component: () => import('@/views/main/bs/routeChildInfo/index'), |
| | | name: 'Data', |
| | | meta: { title: '工艺路线详情', activeMenu: '/main/bs/routeChildInfo' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/main/bom-data', |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ['bs:bomChildInfo:list'], |
| | | children: [ |
| | | { |
| | | path: 'index', |
| | | component: () => import('@/views/main/bs/bomChildInfo/index'), |
| | | name: 'Data', |
| | | meta: { title: 'BOM子件信息', activeMenu: '/main/bs/bomChildInfo' } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | } |
| | | |
| | | export default new Router({ |
| | | mode: 'history', // 去掉url中的# |
| | | mode: 'hash', // 去掉url中的# |
| | | scrollBehavior: () => ({ y: 0 }), |
| | | routes: constantRoutes |
| | | }) |