huminmin
4 天以前 fa701a87310e2665b563eee14efe770a357d3ca5
src/router/index.js
@@ -92,6 +92,35 @@
    name: "DeviceInfo",
    meta: { title: "设备信息", icon: "monitor" },
  },
  // 添加项目详情页面路由配置
  {
    path: "/oaSystem/projectManagement/projectDetail",
    component: Layout,
    hidden: true,
    children: [
      {
        path: ":projectId",
        component: () => import("@/views/oaSystem/projectManagement/projectDetail.vue"),
        name: "ProjectDetail",
        meta: { title: "项目详情", activeMenu: "/oaSystem/projectManagement" },
      },
    ],
  },
  // 生产订单-生产详情(工序进度)
  {
    path: "/productionManagement/productionOrder/detail",
    component: Layout,
    hidden: true,
    children: [
      {
        path: "",
        component: () => import("@/views/productionManagement/productionOrder/Detail/index.vue"),
        name: "ProductionOrderDetail",
        meta: { title: "生产详情", activeMenu: "/productionManagement/productionOrder" },
      },
    ],
  },
];
// 动态路由,基于用户权限动态去加载