bugfixed
This commit is contained in:
@ -46,51 +46,87 @@ export const constantRoutes = [
|
||||
{
|
||||
path: "searchList/enterprise",
|
||||
component: () => import("../views/website/searchList/enterprise.vue"),
|
||||
meta: {
|
||||
searchType: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/enterprise/detail/:id",
|
||||
component: () =>
|
||||
import("../views/website/searchList/enterpriseDetail.vue"),
|
||||
meta: {
|
||||
searchType: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/achievement",
|
||||
component: () => import("../views/website/searchList/achievement.vue"),
|
||||
meta: {
|
||||
searchType: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/achievement/detail/:id",
|
||||
component: () => import("../views/website/searchList/achievementDetail.vue"),
|
||||
meta: {
|
||||
searchType: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/patent",
|
||||
component: () => import("../views/website/searchList/patent.vue"),
|
||||
meta: {
|
||||
searchType: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/patent/detail/:id",
|
||||
component: () => import("../views/website/searchList/patentDetail.vue"),
|
||||
meta: {
|
||||
searchType: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/expert",
|
||||
component: () => import("../views/website/searchList/expert.vue"),
|
||||
meta: {
|
||||
searchType: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/expert/detail/:id",
|
||||
component: () => import("../views/website/searchList/expertDetail.vue"),
|
||||
meta: {
|
||||
searchType: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/serviceDemand",
|
||||
component: () => import("../views/website/searchList/serviceDemand.vue"),
|
||||
meta: {
|
||||
searchType: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/serviceDemand/detail/:id",
|
||||
component: () => import("../views/website/searchList/serviceDemandDetail.vue"),
|
||||
meta: {
|
||||
searchType: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/technologyDemand",
|
||||
component: () => import("../views/website/searchList/technologyDemand.vue"),
|
||||
meta: {
|
||||
searchType: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "searchList/technologyDemand/detail/:id",
|
||||
component: () => import("../views/website/searchList/technologyDemandDetail.vue"),
|
||||
meta: {
|
||||
searchType: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "solution/:name",
|
||||
@ -212,19 +248,7 @@ export const constantRoutes = [
|
||||
// }
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/admin",
|
||||
component: Layout,
|
||||
redirect: "/admin/index",
|
||||
children: [
|
||||
{
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
//TODO:
|
||||
|
||||
// {
|
||||
// path: '',
|
||||
@ -257,6 +281,19 @@ export const constantRoutes = [
|
||||
|
||||
// 企业后台路由表
|
||||
export const enterpriseRoutes = [
|
||||
{
|
||||
path: "/admin",
|
||||
component: Layout,
|
||||
redirect: "/admin/index",
|
||||
children: [
|
||||
{
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/enterprise/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
component: Layout,
|
||||
@ -365,7 +402,7 @@ export const enterpriseRoutes = [
|
||||
},
|
||||
{
|
||||
path: "results",
|
||||
component: () => import("@/views/admin/enterprise/demand/results"),
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "results",
|
||||
meta: { title: "匹配结果", icon: "list" },
|
||||
@ -391,6 +428,19 @@ export const enterpriseRoutes = [
|
||||
|
||||
// 专家后台路由表
|
||||
export const expertRoutes = [
|
||||
{
|
||||
path: "/admin",
|
||||
component: Layout,
|
||||
redirect: "/admin/index",
|
||||
children: [
|
||||
{
|
||||
path: "index",
|
||||
component: () => import("@/views/admin/expert/index"),
|
||||
name: "Index",
|
||||
meta: { title: "首页", icon: "dashboard", affix: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
component: Layout,
|
||||
@ -458,26 +508,27 @@ export const expertRoutes = [
|
||||
name: "Release",
|
||||
meta: { title: "发布成果", icon: "list" },
|
||||
},
|
||||
// {
|
||||
// path: "results",
|
||||
// component: () => import("@/views/admin/expert/technology/results"),
|
||||
// hidden: true,
|
||||
// name: "Results",
|
||||
// meta: { title: "匹配结果", icon: "list" },
|
||||
// },
|
||||
// {
|
||||
// path: "patent",
|
||||
// component: () => import("@/views/admin/expert/technology/patent"),
|
||||
// name: "patent",
|
||||
// meta: { title: "专利列表", icon: "list" },
|
||||
// },
|
||||
// {
|
||||
// path: "claimPatent",
|
||||
// component: () => import("@/views/admin/expert/technology/claimPatent"),
|
||||
// hidden: true,
|
||||
// name: "claimPatent",
|
||||
// meta: { title: "认领专利", icon: "list" },
|
||||
// },
|
||||
{
|
||||
path: "results",
|
||||
// component: () => import("@/views/admin/expert/technology/results"),
|
||||
component: () => import("@/views/admin/enterprise/extension/results"),
|
||||
hidden: true,
|
||||
name: "Results",
|
||||
meta: { title: "匹配结果", icon: "list" },
|
||||
},
|
||||
{
|
||||
path: "patent",
|
||||
component: () => import("@/views/admin/expert/technology/patent"),
|
||||
name: "patent",
|
||||
meta: { title: "专利列表", icon: "list" },
|
||||
},
|
||||
{
|
||||
path: "claimPatent",
|
||||
component: () => import("@/views/admin/expert/technology/claimPatent"),
|
||||
hidden: true,
|
||||
name: "claimPatent",
|
||||
meta: { title: "认领专利", icon: "list" },
|
||||
},
|
||||
{
|
||||
path: "paper",
|
||||
component: () => import("@/views/admin/expert/technology/paper"),
|
||||
|
Reference in New Issue
Block a user