locale ru
This commit is contained in:
@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
|
||||
/* Layout */
|
||||
import Layout from "@/layout";
|
||||
import basicInfo from "../views/admin/enterprise/account/basicInfo.vue";
|
||||
import i18n from "@/i18n";
|
||||
|
||||
/**
|
||||
* Note: 路由配置项
|
||||
@ -24,7 +25,7 @@ import basicInfo from "../views/admin/enterprise/account/basicInfo.vue";
|
||||
activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。
|
||||
}
|
||||
*/
|
||||
|
||||
const { t } = i18n.global;
|
||||
// 公共路由
|
||||
export const constantRoutes = [
|
||||
{
|
||||
@ -315,14 +316,23 @@ export const enterpriseRoutes = [
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/enterprise/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
meta: {
|
||||
title: "首页",
|
||||
i18nStr: "routes.company.home",
|
||||
icon: "dashboard",
|
||||
affix: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
component: Layout,
|
||||
meta: { title: "账号管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账号管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.company.accountManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/account/basicInfo",
|
||||
children: [
|
||||
@ -330,20 +340,32 @@ export const enterpriseRoutes = [
|
||||
path: "basicInfo",
|
||||
component: basicInfo,
|
||||
name: "basicInfo",
|
||||
meta: { title: "基本资料", icon: "list" },
|
||||
meta: {
|
||||
title: "基本资料",
|
||||
i18nStr: "routes.company.basicInformation",
|
||||
icon: "list",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "joinMembership",
|
||||
component: () =>
|
||||
import("@/views/admin/enterprise/account/joinMembership"),
|
||||
name: "joinMembership",
|
||||
meta: { title: "开通会员", icon: "list" },
|
||||
meta: {
|
||||
title: "开通会员",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.openMember",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "bill",
|
||||
component: () => import("@/views/admin/enterprise/account/bill"),
|
||||
name: "Bill",
|
||||
meta: { title: "账单列表", icon: "list" },
|
||||
meta: {
|
||||
title: "账单列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.billList",
|
||||
},
|
||||
}, // {
|
||||
// path: "record",
|
||||
// component: () => import("@/views/admin/enterprise/account/record"),
|
||||
@ -355,7 +377,11 @@ export const enterpriseRoutes = [
|
||||
{
|
||||
path: "/extension",
|
||||
component: Layout,
|
||||
meta: { title: "产品推广", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "产品推广",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.company.productPromotion",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/extension/product",
|
||||
children: [
|
||||
@ -363,35 +389,56 @@ export const enterpriseRoutes = [
|
||||
path: "product",
|
||||
component: () => import("@/views/admin/enterprise/extension/product"),
|
||||
name: "Product",
|
||||
meta: { title: "产品列表", icon: "list" },
|
||||
meta: {
|
||||
title: "产品列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.productList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "release",
|
||||
component: () => import("@/views/admin/enterprise/extension/release"),
|
||||
hidden: true,
|
||||
name: "Release",
|
||||
meta: { title: "发布产品", icon: "list" },
|
||||
meta: {
|
||||
title: "发布产品",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.publishProduct",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "results",
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "Results",
|
||||
meta: { title: "匹配结果", icon: "list", isMatch: true },
|
||||
meta: {
|
||||
title: "匹配结果",
|
||||
icon: "list",
|
||||
isMatch: true,
|
||||
i18nStr: "routes.company.matchingResults",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "business",
|
||||
component: () => import("@/views/admin/enterprise/extension/business"),
|
||||
hidden: true,
|
||||
name: "Business",
|
||||
meta: { title: "浏览信息", icon: "list" },
|
||||
meta: {
|
||||
title: "浏览信息",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.browseInformation",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/demand",
|
||||
component: Layout,
|
||||
meta: { title: "需求管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "需求管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.company.demandManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/demand/serviceDemand",
|
||||
children: [
|
||||
@ -400,7 +447,11 @@ export const enterpriseRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/enterprise/demand/serviceDemand"),
|
||||
name: "serviceDemand",
|
||||
meta: { title: "服务需求", icon: "list" },
|
||||
meta: {
|
||||
title: "服务需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.serviceDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "releaseService",
|
||||
@ -408,13 +459,21 @@ export const enterpriseRoutes = [
|
||||
import("@/views/admin/enterprise/demand/releaseService"),
|
||||
hidden: true,
|
||||
name: "releaseService",
|
||||
meta: { title: "发布服务需求", icon: "list" },
|
||||
meta: {
|
||||
title: "发布服务需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.publishServiceDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "technology",
|
||||
component: () => import("@/views/admin/enterprise/demand/technology"),
|
||||
name: "technology",
|
||||
meta: { title: "技术需求", icon: "list" },
|
||||
meta: {
|
||||
title: "技术需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.technicalDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "releaseTechnology",
|
||||
@ -422,21 +481,34 @@ export const enterpriseRoutes = [
|
||||
import("@/views/admin/enterprise/demand/releaseTechnology"),
|
||||
hidden: true,
|
||||
name: "releaseTechnology",
|
||||
meta: { title: "发布技术需求", icon: "list" },
|
||||
meta: {
|
||||
title: "发布技术需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.publishTechnicalDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "results",
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "results",
|
||||
meta: { title: "匹配结果", icon: "list", isMatch: true },
|
||||
meta: {
|
||||
title: "匹配结果",
|
||||
icon: "list",
|
||||
isMatch: true,
|
||||
i18nStr: "routes.company.matchingResults",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/activity",
|
||||
component: Layout,
|
||||
meta: { title: "活动管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "活动管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.company.activityManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/activity/active",
|
||||
children: [
|
||||
@ -444,7 +516,11 @@ export const enterpriseRoutes = [
|
||||
path: "active",
|
||||
component: () => import("@/views/admin/enterprise/activity/active"),
|
||||
name: "Active",
|
||||
meta: { title: "活动列表", icon: "list" },
|
||||
meta: {
|
||||
title: "活动列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.company.activityList",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -461,14 +537,23 @@ export const expertRoutes = [
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/expert/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
meta: {
|
||||
title: "首页",
|
||||
icon: "dashboard",
|
||||
affix: true,
|
||||
i18nStr: "routes.expert.home",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
component: Layout,
|
||||
meta: { title: "账号管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账号管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.expert.accountManagement",
|
||||
},
|
||||
alwaysShow: true, // redirect: 'noRedirect',
|
||||
redirect: "/account/bill",
|
||||
children: [
|
||||
@ -488,7 +573,11 @@ export const expertRoutes = [
|
||||
path: "basicInfo",
|
||||
component: () => import("@/views/admin/expert/account/basicInfo"),
|
||||
name: "basicInfo",
|
||||
meta: { title: "基本资料", icon: "list" },
|
||||
meta: {
|
||||
title: "基本资料",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.basicInformation",
|
||||
},
|
||||
}, // {
|
||||
// path: "transactionAuth",
|
||||
// component: () => import("@/views/admin/expert/account/transactionAuth"),
|
||||
@ -513,7 +602,11 @@ export const expertRoutes = [
|
||||
{
|
||||
path: "/technology",
|
||||
component: Layout,
|
||||
meta: { title: "技术管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "技术管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.expert.technicalManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/technology/achievement",
|
||||
children: [
|
||||
@ -521,34 +614,55 @@ export const expertRoutes = [
|
||||
path: "achievement",
|
||||
component: () => import("@/views/admin/expert/technology/achievement"),
|
||||
name: "Achievement",
|
||||
meta: { title: "成果列表", icon: "list" },
|
||||
meta: {
|
||||
title: "成果列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.achievementList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "release",
|
||||
component: () => import("@/views/admin/expert/technology/release"),
|
||||
hidden: true,
|
||||
name: "Release",
|
||||
meta: { title: "发布成果", icon: "list" },
|
||||
meta: {
|
||||
title: "发布成果",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.publishAchievement",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "results", // component: () => import("@/views/admin/expert/technology/results"),
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "Results",
|
||||
meta: { title: "匹配结果", icon: "list", isMatch: false },
|
||||
meta: {
|
||||
title: "匹配结果",
|
||||
icon: "list",
|
||||
isMatch: false,
|
||||
i18nStr: "routes.expert.matchingResults",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "patent",
|
||||
component: () => import("@/views/admin/expert/technology/patent"),
|
||||
name: "patent",
|
||||
meta: { title: "专利列表", icon: "list" },
|
||||
meta: {
|
||||
title: "专利列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.patentList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "claimPatent",
|
||||
component: () => import("@/views/admin/expert/technology/claimPatent"),
|
||||
hidden: true,
|
||||
name: "claimPatent",
|
||||
meta: { title: "认领专利", icon: "list" },
|
||||
meta: {
|
||||
title: "认领专利",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.claimPatent",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "paper",
|
||||
@ -560,14 +674,22 @@ export const expertRoutes = [
|
||||
path: "research",
|
||||
component: () => import("@/views/admin/expert/technology/research"),
|
||||
name: "Research",
|
||||
meta: { title: "科研项目列表", icon: "list" },
|
||||
meta: {
|
||||
title: "科研项目列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.researchProjectList",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/demand",
|
||||
component: Layout,
|
||||
meta: { title: "需求管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "需求管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.expert.demandManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/demand/serviceDemand",
|
||||
children: [
|
||||
@ -575,26 +697,42 @@ export const expertRoutes = [
|
||||
path: "serviceDemand",
|
||||
component: () => import("@/views/admin/expert/demand/serviceDemand"),
|
||||
name: "serviceDemand",
|
||||
meta: { title: "服务需求", icon: "list" },
|
||||
meta: {
|
||||
title: "服务需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.serviceDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "release",
|
||||
component: () => import("@/views/admin/expert/demand/release"),
|
||||
hidden: true,
|
||||
name: "release",
|
||||
meta: { title: "发布需求", icon: "list" },
|
||||
meta: {
|
||||
title: "发布需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.publishDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "already",
|
||||
component: () => import("@/views/admin/expert/demand/already"),
|
||||
name: "already",
|
||||
meta: { title: "已合作企业", icon: "list" },
|
||||
meta: {
|
||||
title: "已合作企业",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.cooperatedCompany",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "think",
|
||||
component: () => import("@/views/admin/expert/demand/think"),
|
||||
name: "think",
|
||||
meta: { title: "想合作企业", icon: "list" },
|
||||
meta: {
|
||||
title: "想合作企业",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.wantCooperateCompany",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -602,7 +740,11 @@ export const expertRoutes = [
|
||||
{
|
||||
path: "/activity",
|
||||
component: Layout,
|
||||
meta: { title: "活动管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "活动管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.expert.activityManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/activity/active",
|
||||
children: [
|
||||
@ -610,7 +752,11 @@ export const expertRoutes = [
|
||||
path: "active",
|
||||
component: () => import("@/views/admin/expert/activity/active"),
|
||||
name: "Active",
|
||||
meta: { title: "活动列表", icon: "list" },
|
||||
meta: {
|
||||
title: "活动列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.expert.activityList",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -626,14 +772,23 @@ export const laboratoryRoutes = [
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/laboratory/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
meta: {
|
||||
title: "首页",
|
||||
icon: "dashboard",
|
||||
affix: true,
|
||||
i18nStr: "routes.lab.home",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/account",
|
||||
component: Layout,
|
||||
meta: { title: "账号管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账号管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.lab.accountManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/account/basic-info",
|
||||
children: [
|
||||
@ -642,14 +797,22 @@ export const laboratoryRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/account/basic-info.vue"),
|
||||
name: "basicInfo",
|
||||
meta: { title: "基本资料", icon: "list" },
|
||||
meta: {
|
||||
title: "基本资料",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.basicInformation",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/research",
|
||||
component: Layout,
|
||||
meta: { title: "科研管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "科研管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.lab.researchManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/research/patent",
|
||||
children: [
|
||||
@ -658,21 +821,33 @@ export const laboratoryRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/research/patent/index.vue"),
|
||||
name: "Patent",
|
||||
meta: { title: "专利列表", icon: "list" },
|
||||
meta: {
|
||||
title: "专利列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.patentList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "achievement",
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/research/achievement/index.vue"),
|
||||
name: "Achievement",
|
||||
meta: { title: "成果列表", icon: "list" },
|
||||
meta: {
|
||||
title: "成果列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.achievementList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "service-demand",
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/research/service-demand/index.vue"),
|
||||
name: "ServiceDemand",
|
||||
meta: { title: "服务需求列表", icon: "list" },
|
||||
meta: {
|
||||
title: "服务需求列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.serviceDemandList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "service-demand/detail/:id",
|
||||
@ -680,14 +855,22 @@ export const laboratoryRoutes = [
|
||||
import("@/views/admin/laboratory/research/service-demand/detail.vue"),
|
||||
hidden: true,
|
||||
name: "ServiceDemandDetail",
|
||||
meta: { title: "查看需求", icon: "list" },
|
||||
meta: {
|
||||
title: "查看需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.viewDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "expert",
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/research/expert/index.vue"),
|
||||
name: "Expert",
|
||||
meta: { title: "专家列表", icon: "list" },
|
||||
meta: {
|
||||
title: "专家列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.expertList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "research-project",
|
||||
@ -696,14 +879,22 @@ export const laboratoryRoutes = [
|
||||
"@/views/admin/laboratory/research/research-project/index.vue"
|
||||
),
|
||||
name: "ResearchProject",
|
||||
meta: { title: "科研项目列表", icon: "list" },
|
||||
meta: {
|
||||
title: "科研项目列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.researchProjectList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "paper",
|
||||
component: () =>
|
||||
import("@/views/admin/laboratory/research/paper/index.vue"),
|
||||
name: "Paper",
|
||||
meta: { title: "论文列表", icon: "list" },
|
||||
meta: {
|
||||
title: "论文列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.paperList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "paper/unit-info",
|
||||
@ -711,7 +902,11 @@ export const laboratoryRoutes = [
|
||||
import("@/views/admin/laboratory/research/paper/unit-info.vue"),
|
||||
hidden: true,
|
||||
name: "UnitInfo",
|
||||
meta: { title: "浏览单位信息", icon: "list" },
|
||||
meta: {
|
||||
title: "浏览单位信息",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.viewUnitInformation",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "laboratory-equipment",
|
||||
@ -720,7 +915,11 @@ export const laboratoryRoutes = [
|
||||
"@/views/admin/laboratory/research/laboratory-equipment/index.vue"
|
||||
),
|
||||
name: "LaboratoryEquipment",
|
||||
meta: { title: "实验设备", icon: "list" },
|
||||
meta: {
|
||||
title: "实验设备",
|
||||
icon: "list",
|
||||
i18nStr: "routes.lab.experimentalEquipment",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -737,14 +936,23 @@ export const researchRoutes = [
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/research/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
meta: {
|
||||
title: "首页",
|
||||
icon: "dashboard",
|
||||
affix: true,
|
||||
i18nStr: "routes.research.home",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/account",
|
||||
component: Layout,
|
||||
meta: { title: "账号管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账号管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.research.accountManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/account/basic-info",
|
||||
children: [
|
||||
@ -753,14 +961,22 @@ export const researchRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/research/account/basic-info.vue"),
|
||||
name: "basicInfo",
|
||||
meta: { title: "基本资料", icon: "list" },
|
||||
meta: {
|
||||
title: "基本资料",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.basicInformation",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/research",
|
||||
component: Layout,
|
||||
meta: { title: "科研管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "科研管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.research.researchManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/research/patent",
|
||||
children: [
|
||||
@ -769,21 +985,33 @@ export const researchRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/patent/index.vue"),
|
||||
name: "Patent",
|
||||
meta: { title: "专利列表", icon: "list" },
|
||||
meta: {
|
||||
title: "专利列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.patentList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "achievement",
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/achievement/index.vue"),
|
||||
name: "Achievement",
|
||||
meta: { title: "成果列表", icon: "list" },
|
||||
meta: {
|
||||
title: "成果列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.achievementList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "service-demand",
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/service-demand/index.vue"),
|
||||
name: "ServiceDemand",
|
||||
meta: { title: "服务需求列表", icon: "list" },
|
||||
meta: {
|
||||
title: "服务需求列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.serviceDemandList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "service-demand/detail/:id",
|
||||
@ -791,28 +1019,44 @@ export const researchRoutes = [
|
||||
import("@/views/admin/research/research/service-demand/detail.vue"),
|
||||
hidden: true,
|
||||
name: "ServiceDemandDetail",
|
||||
meta: { title: "查看需求", icon: "list" },
|
||||
meta: {
|
||||
title: "查看需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.viewDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "expert",
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/expert/index.vue"),
|
||||
name: "Expert",
|
||||
meta: { title: "专家列表", icon: "list" },
|
||||
meta: {
|
||||
title: "专家列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.expertList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "research-project",
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/research-project/index.vue"),
|
||||
name: "ResearchProject",
|
||||
meta: { title: "科研项目列表", icon: "list" },
|
||||
meta: {
|
||||
title: "科研项目列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.researchProjectList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "laboratory",
|
||||
component: () =>
|
||||
import("@/views/admin/research/research/laboratory/index.vue"),
|
||||
name: "Laboratory",
|
||||
meta: { title: "实验室列表", icon: "list" },
|
||||
meta: {
|
||||
title: "实验室列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.labList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "laboratory/edit",
|
||||
@ -820,7 +1064,11 @@ export const researchRoutes = [
|
||||
import("@/views/admin/research/research/laboratory/edit.vue"),
|
||||
name: "EditLaboratory",
|
||||
hidden: true,
|
||||
meta: { title: "修改实验室", icon: "edit" },
|
||||
meta: {
|
||||
title: "修改实验室",
|
||||
icon: "edit",
|
||||
i18nStr: "routes.research.modifyLab",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -828,7 +1076,11 @@ export const researchRoutes = [
|
||||
// 客户足迹路由
|
||||
path: "/admin/footprint",
|
||||
component: Layout,
|
||||
meta: { title: "客户足迹", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "客户足迹",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.research.customerFootprint",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/footprint/browsing-history",
|
||||
children: [
|
||||
@ -838,7 +1090,11 @@ export const researchRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/research/footprint/browsing-history/index.vue"),
|
||||
name: "BrowsingHistory",
|
||||
meta: { title: "浏览数据", icon: "list" },
|
||||
meta: {
|
||||
title: "浏览数据",
|
||||
icon: "list",
|
||||
i18nStr: "routes.research.browsingData",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -850,7 +1106,7 @@ export const researchRoutes = [
|
||||
*/
|
||||
export const agentRoutes = [
|
||||
{
|
||||
/*研究机构后台首页*/
|
||||
// 首页路由
|
||||
path: "/admin",
|
||||
component: Layout,
|
||||
redirect: "/admin/index",
|
||||
@ -859,14 +1115,23 @@ export const agentRoutes = [
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/research/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
meta: {
|
||||
title: "首页",
|
||||
icon: "dashboard",
|
||||
affix: true,
|
||||
i18nStr: "routes.broker.home",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/service",
|
||||
component: Layout,
|
||||
meta: { title: "服务管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "服务管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.broker.serviceManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/service/enterprise",
|
||||
children: [
|
||||
@ -875,7 +1140,11 @@ export const agentRoutes = [
|
||||
component: () =>
|
||||
import("@/views/admin/agent/service/enterprise/index.vue"),
|
||||
name: "ServiceEnterprise",
|
||||
meta: { title: "我服务的企业", icon: "list" },
|
||||
meta: {
|
||||
title: "我服务的企业",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.myServiceEnterprise",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "technology-demand",
|
||||
@ -885,14 +1154,23 @@ export const agentRoutes = [
|
||||
),
|
||||
name: "TechnologyDemandList",
|
||||
hidden: true,
|
||||
meta: { title: "技术需求列表", icon: "list" },
|
||||
meta: {
|
||||
title: "技术需求列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.technicalDemandList",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "results",
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "Results",
|
||||
meta: { title: "匹配结果", icon: "list", isMatch: true },
|
||||
meta: {
|
||||
title: "匹配结果",
|
||||
icon: "list",
|
||||
isMatch: true,
|
||||
i18nStr: "routes.broker.matchingResults",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "technology-demand-release",
|
||||
@ -902,7 +1180,11 @@ export const agentRoutes = [
|
||||
),
|
||||
name: "TechnologyDemandRelease",
|
||||
hidden: true,
|
||||
meta: { title: "发布需求", icon: "list" },
|
||||
meta: {
|
||||
title: "发布需求",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.publishDemand",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "update-status",
|
||||
@ -910,14 +1192,22 @@ export const agentRoutes = [
|
||||
import("@/views/admin/agent/service/enterprise/update-status.vue"),
|
||||
name: "TechnologyDemandUpdateStatus",
|
||||
hidden: true,
|
||||
meta: { title: "更新状态", icon: "list" },
|
||||
meta: {
|
||||
title: "更新状态",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.updateStatus",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "matching-demand",
|
||||
component: () =>
|
||||
import("@/views/admin/agent/service/matching-demand/index.vue"),
|
||||
name: "EnterpriseDemandMatch",
|
||||
meta: { title: "企业需求匹配", icon: "list" },
|
||||
meta: {
|
||||
title: "企业需求匹配",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.enterpriseDemandMatching",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "matching-demand-detail",
|
||||
@ -925,7 +1215,11 @@ export const agentRoutes = [
|
||||
import("@/views/admin/agent/service/matching-demand/index.vue"),
|
||||
name: "EnterpriseDemandMatchDetail",
|
||||
hidden: true,
|
||||
meta: { title: "企业需求匹配详情", icon: "list" },
|
||||
meta: {
|
||||
title: "企业需求匹配详情",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.enterpriseDemandMatchingDetails",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -933,7 +1227,11 @@ export const agentRoutes = [
|
||||
{
|
||||
path: "/admin/account",
|
||||
component: Layout,
|
||||
meta: { title: "账号管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账号管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.broker.accountManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/account/basic-info",
|
||||
children: [
|
||||
@ -941,14 +1239,22 @@ export const agentRoutes = [
|
||||
path: "basic-info",
|
||||
component: () => import("@/views/admin/agent/account/basic-info.vue"),
|
||||
name: "basicInfo",
|
||||
meta: { title: "基本资料", icon: "list" },
|
||||
meta: {
|
||||
title: "基本资料",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.basicInformation",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin/bill",
|
||||
component: Layout,
|
||||
meta: { title: "账单管理", icon: "dashboard" },
|
||||
meta: {
|
||||
title: "账单管理",
|
||||
icon: "dashboard",
|
||||
i18nStr: "routes.broker.billManagement",
|
||||
},
|
||||
alwaysShow: true,
|
||||
redirect: "/admin/bill/bill-list",
|
||||
children: [
|
||||
@ -956,7 +1262,11 @@ export const agentRoutes = [
|
||||
path: "bill-list",
|
||||
component: () => import("@/views/admin/agent/bill/bill-list/index.vue"),
|
||||
name: "BillList",
|
||||
meta: { title: "账单列表", icon: "list" },
|
||||
meta: {
|
||||
title: "账单列表",
|
||||
icon: "list",
|
||||
i18nStr: "routes.broker.billList",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user