hdy
2 天以前 1c50cb5546715fa21496fbdf2bdacb7ae8836b8a
billion-ui/src/router/index.js
@@ -135,6 +135,48 @@
    ]
  },
  {
    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,
    permissions: ['bs:routeChildInfo:list'],
    children: [
      {
        path: 'index',
        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' }
      }
    ]
  },
  {
    path: '/monitor/job-log',
    component: Layout,
    hidden: true,
@@ -177,7 +219,7 @@
}
export default new Router({
  mode: 'history', // 去掉url中的#
  mode: 'hash', // 去掉url中的#
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})