gaoluyang
10 小时以前 b16910e260c804585f2812db6b2da2ad520478c1
src/router/index.js
@@ -92,6 +92,33 @@
    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: "/projectManagement/Management/detail",
    component: Layout,
    hidden: true,
    children: [
      {
        path: ":id",
        component: () => import("@/views/projectManagement/Management/projectDetail.vue"),
        name: "ProjectManagementDetail",
        meta: { title: "项目详情", activeMenu: "/projectManagement/Management" },
      },
    ],
  },
];
// 动态路由,基于用户权限动态去加载
@@ -168,6 +195,11 @@
  },
];
// 财务管理路由
export const financialRoutes = [
  // 在这里添加财务管理相关路由
];
const router = createRouter({
  history: createWebHistory(),
  routes: constantRoutes,