路由修复

This commit is contained in:
‘Liammcl’
2025-01-15 00:59:16 +08:00
parent e4aa910d4e
commit 027a8e5493
3 changed files with 45 additions and 6 deletions

View File

@@ -75,6 +75,14 @@ export const allRoutes = [
hidden: true,
key: "company/quotaInfo",
},
{
path: "quotaInfo/preview/:id?", // 添加可选的 id 参数
hidden: true,
component: lazy(() => import("@/pages/company/quotation/view")),
name: "报价单预览",
icon: "file",
key:'company/quotaInfo/preview'
},
{
path: "project",
component: lazy(() => import("@/pages/company/project")),
@@ -104,6 +112,15 @@ export const allRoutes = [
icon: "appstore",
key: "company/serviceTemplate",
},
{
path: "serviceTemplateInfo/:id?",
hidden: true,
component: lazy(() => import("@/pages/company/service/detail")),
name: "服务模版详情",
icon: "container",
key: "company/serviceTemplateInfo",
},
{
path: "supplier",
component: lazy(() => import("@/pages/company/supplier")),
@@ -134,7 +151,14 @@ export const allRoutes = [
icon: "appstore",
hidden: true,
key: "company/projectView",
}
},
{
path: "templateItemManage",
component: lazy(() => import("@/pages/company/service/itemsManange")),
name: "资源类型",
icon: "container",
key:'company/templateItemManage'
},
]
}
];