This commit is contained in:
2023-06-19 17:25:50 +08:00
parent ef579def81
commit eb19778bd0
41 changed files with 2788 additions and 186 deletions

View File

@ -705,6 +705,14 @@ export const laboratoryRoutes = [
name: "Paper",
meta: { title: "论文列表", icon: "list" },
},
{
path: "paper/unit-info",
component: () =>
import("@/views/admin/laboratory/research/paper/unit-info.vue"),
hidden: true,
name: "UnitInfo",
meta: { title: "浏览单位信息", icon: "list" },
},
{
path: "laboratory-equipment",
component: () =>
@ -749,7 +757,6 @@ export const researchRoutes = [
},
],
},
{
path: "/admin/research",
component: Layout,
@ -817,6 +824,24 @@ export const researchRoutes = [
},
],
},
{
// 客户足迹路由
path: "/admin/footprint",
component: Layout,
meta: { title: "客户足迹", icon: "dashboard" },
alwaysShow: true,
redirect: "/admin/footprint/browsing-history",
children: [
{
// 浏览数据
path: "browsing-history",
component: () =>
import("@/views/admin/research/footprint/browsing-history/index.vue"),
name: "BrowsingHistory",
meta: { title: "浏览数据", icon: "list" },
},
],
},
];
/**
@ -838,6 +863,73 @@ export const agentRoutes = [
},
],
},
{
path: "/admin/service",
component: Layout,
meta: { title: "服务管理", icon: "dashboard" },
alwaysShow: true,
redirect: "/admin/service/enterprise",
children: [
{
path: "enterprise",
component: () =>
import("@/views/admin/agent/service/enterprise/index.vue"),
name: "ServiceEnterprise",
meta: { title: "我服务的企业", icon: "list" },
},
{
path: "technology-demand",
component: () =>
import(
"@/views/admin/agent/service/enterprise/technology-demand.vue"
),
name: "TechnologyDemandList",
hidden: true,
meta: { title: "技术需求列表", icon: "list" },
},
{
path: "results",
component: () => import("@/views/admin/enterprise/extension/results"),
hidden: true,
name: "Results",
meta: { title: "匹配结果", icon: "list", isMatch: true },
},
{
path: "technology-demand-release",
component: () =>
import(
"@/views/admin/agent/service/enterprise/technology-demand-release.vue"
),
name: "TechnologyDemandRelease",
hidden: true,
meta: { title: "发布需求", icon: "list" },
},
{
path: "update-status",
component: () =>
import("@/views/admin/agent/service/enterprise/update-status.vue"),
name: "TechnologyDemandUpdateStatus",
hidden: true,
meta: { title: "更新状态", icon: "list" },
},
{
path: "matching-demand",
component: () =>
import("@/views/admin/agent/service/matching-demand/index.vue"),
name: "EnterpriseDemandMatch",
meta: { title: "企业需求匹配", icon: "list" },
},
{
path: "matching-demand-detail",
component: () =>
import("@/views/admin/agent/service/matching-demand/index.vue"),
name: "EnterpriseDemandMatchDetail",
hidden: true,
meta: { title: "企业需求匹配详情", icon: "list" },
},
],
},
{
path: "/admin/account",
component: Layout,
@ -853,6 +945,21 @@ export const agentRoutes = [
},
],
},
{
path: "/admin/bill",
component: Layout,
meta: { title: "账单管理", icon: "dashboard" },
alwaysShow: true,
redirect: "/admin/bill/bill-list",
children: [
{
path: "bill-list",
component: () => import("@/views/admin/agent/bill/bill-list/index.vue"),
name: "BillList",
meta: { title: "账单列表", icon: "list" },
},
],
},
];
// 动态路由,基于用户权限动态去加载