liding
2025-04-09 efdd02d3d80253bf93f1c58e3ae25016db2d6b31
src/router/index.js
@@ -105,20 +105,20 @@
// 动态路由,基于用户权限动态去加载
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: "原辅料下单详情",
          title: "原辅材下单详情",
          activeMenu: "/business/materialOrder",
          keepAlive: true,
        },
@@ -178,6 +178,46 @@
    ],
  },
  {
    // 可靠性计划
    path: "/reliabilityPlan",
    component: Layout,
    hidden: true,
    permissions: ["business:reliabilityPlan"],
    children: [
      {
        // 计划详情
        path: "plan",
        component: () => import("@/views/business/reliabilityPlan/plan"),
        name: "plan",
        meta: {
          title: "计划详情",
          activeMenu: "/business/reliabilityPlan",
          keepAlive: true,
        },
      },
    ],
  },
  {
    // 标准库变更
    path: "/audit",
    component: Layout,
    hidden: true,
    permissions: ["standard:audit"],
    children: [
      {
        // 变更详情
        path: "auditDetail",
        component: () => import("@/views/standard/standardLibrary/index"),
        name: "auditDetail",
        meta: {
          title: "标准库变更详情",
          activeMenu: "/standard/audit",
          keepAlive: true,
        },
      },
    ],
  },
  {
    // 用户管理
    path: "/system/user-auth",
    component: Layout,