gaoluyang
2025-02-12 6816f512f5f7ff04715eca870aa6bb2b3c7c3f3a
src/router/index.js
@@ -93,6 +93,29 @@
// 动态路由,基于用户权限动态去加载
export const dynamicRoutes = [
  {
    // 原材料报检
    path: '/rawMaterialInspection',
    component: Layout,
    hidden: true,
  },
  {
    // 原材料下单
    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: '/system/user-auth',
    component: Layout,
    hidden: true,
@@ -107,6 +130,7 @@
    ]
  },
  {
    // 角色管理
    path: '/system/role-auth',
    component: Layout,
    hidden: true,
@@ -121,6 +145,7 @@
    ]
  },
  {
    // 数据字典
    path: '/system/dict-data',
    component: Layout,
    hidden: true,
@@ -135,6 +160,13 @@
    ]
  },
  {
    // 数据字典
    path: '/customer',
    component: Layout,
    hidden: true,
    permissions: ['customer:edit'],
  },
  {
    path: '/monitor/job-log',
    component: Layout,
    hidden: true,