lxp
2025-03-10 c1136d8429f660335535afe8ad7c828c16eb7199
src/router/index.js
@@ -92,22 +92,22 @@
// 动态路由,基于用户权限动态去加载
export const dynamicRoutes = [
  // {
  //   // 原材料下单
  //   path: '/materialOrder',
  //   component: Layout,
  //   hidden: true,
  //   permissions: ['business:order'],
  //   children: [
  //     {
  //       // 铜材料下单
  //       path: 'customsInspection',
  //       component: () => import('@/views/business/materialOrder/customsInspection'),
  //       name: 'customsInspection',
  //       meta: { title: '铜材料下单', activeMenu: '/business/materialOrder' }
  //     }
  //   ]
  // },
  {
    // 下单页面
    path: '/inspectionOrder',
    component: Layout,
    hidden: true,
    permissions: ['business:order'],
    children: [
      {
        // 铜材料下单
        path: 'addOrder',
        component: () => import('@/views/business/inspectionOrder/add'),
        name: 'addOrder',
        meta: { title: '新增委托单', activeMenu: '/business/inspectionOrder' }
      }
    ]
  },
  {
    // 用户管理
    path: "/system/user-auth",