You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
4.7 KiB
150 lines
4.7 KiB
|
|
const routes = [
|
|
// 企业端根路径重定向
|
|
{
|
|
path: "/enterprise",
|
|
redirect: "/enterprise/enterpriseHome",
|
|
name: "enterpriseRoot",
|
|
},
|
|
// 企业端登录
|
|
{
|
|
path: "/enterprise/login",
|
|
name: "enterpriseLogin",
|
|
component: () => import("@/views/enterprise/auth/login.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
title: "登录",
|
|
},
|
|
},
|
|
// 企业端首页(新路由名称)
|
|
{
|
|
path: "/enterprise/enterpriseHome",
|
|
name: "enterpriseHome",
|
|
component: () => import("@/views/enterprise/home/enterpriseHomeV2.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
title: "首页",
|
|
},
|
|
},
|
|
// 执法监督码
|
|
{
|
|
path: "/enterprise/qrCode",
|
|
name: "enterpriseQrCode",
|
|
meta: { title: "执法监督码" },
|
|
component: () => import("@/views/enterprise/qr/qrCode.vue"),
|
|
},
|
|
// 执法监督码
|
|
{
|
|
path: "/enterprise/enforcementRegistrationList",
|
|
name: "enforcementRegistrationList",
|
|
meta: { title: "执法登记" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementRegistrationList.vue"),
|
|
},
|
|
// 执法案件信息
|
|
{
|
|
path: "/enterprise/enforcementCaseInfo",
|
|
name: "enforcementCaseInfo",
|
|
meta: { title: "执法案件" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementCaseInfo.vue"),
|
|
},
|
|
// 执法登记详情
|
|
{
|
|
path: "/enterprise/registrationDetail",
|
|
name: "registrationDetail",
|
|
meta: { title: "登记详情" },
|
|
component: () => import("@/views/enterprise/enforcement/registrationDetail.vue"),
|
|
},
|
|
// 消息中心
|
|
{
|
|
path: "/enterprise/messageCenter",
|
|
name: "messageCenter",
|
|
meta: { title: "消息中心" },
|
|
component: () => import("@/views/enterprise/message/messageCenter.vue"),
|
|
},
|
|
// 法律查询
|
|
{
|
|
path: "/enterprise/lawQuery",
|
|
name: "lawQuery",
|
|
meta: { title: "法律查询" },
|
|
component: () => import("@/views/enterprise/law/lawQuery.vue"),
|
|
},
|
|
// 普法服务列表
|
|
{
|
|
path: "/enterprise/lawServiceList",
|
|
name: "lawServiceList",
|
|
meta: { title: "普法服务" },
|
|
component: () => import("@/views/enterprise/law/lawServiceList.vue"),
|
|
},
|
|
// 普法服务详情
|
|
{
|
|
path: "/enterprise/lawServiceDetail",
|
|
name: "lawServiceDetail",
|
|
meta: { title: "普法详情" },
|
|
component: () => import("@/views/enterprise/law/lawServiceDetail.vue"),
|
|
},
|
|
// 执法预告列表
|
|
{
|
|
path: "/enterprise/enforcementNoticeList",
|
|
name: "enforcementNoticeList",
|
|
meta: { title: "执法预告" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementNoticeList.vue"),
|
|
},
|
|
// 我的页面
|
|
{
|
|
path: "/enterprise/myPage",
|
|
name: "myPage",
|
|
meta: { title: "我的" },
|
|
component: () => import("@/views/enterprise/my/myPage.vue"),
|
|
},
|
|
// 投诉建议列表
|
|
{
|
|
path: "/enterprise/complaintList",
|
|
name: "complaintList",
|
|
meta: { title: "投诉建议列表" },
|
|
component: () => import("@/views/enterprise/my/complaintList.vue"),
|
|
},
|
|
// 投诉建议详情
|
|
{
|
|
path: "/enterprise/complaintDetail",
|
|
name: "complaintDetail",
|
|
meta: { title: "投诉建议详情" },
|
|
component: () => import("@/views/enterprise/my/complaintDetail.vue"),
|
|
},
|
|
// 投诉建议
|
|
{
|
|
path: "/enterprise/complaintSuggestion",
|
|
name: "complaintSuggestion",
|
|
meta: { title: "投诉建议" },
|
|
component: () => import("@/views/enterprise/my/complaintSuggestion.vue"),
|
|
},
|
|
// 设置
|
|
{
|
|
path: "/enterprise/settings",
|
|
name: "settings",
|
|
meta: { title: "设置" },
|
|
component: () => import("@/views/enterprise/my/settings.vue"),
|
|
},
|
|
// 执法评价
|
|
{
|
|
path: "/enterprise/enforcementEvaluate",
|
|
name: "enforcementEvaluate",
|
|
meta: { title: "执法评价" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementEvaluate.vue"),
|
|
},
|
|
// 执法评价详情
|
|
{
|
|
path: "/enterprise/enforcementEvaluateDetail",
|
|
name: "enforcementEvaluateDetail",
|
|
meta: { title: "评价详情" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementEvaluateDetail.vue"),
|
|
},
|
|
// 在线联系
|
|
{
|
|
path: "/enterprise/enforcementChat",
|
|
name: "enforcementChat",
|
|
meta: { title: "在线联系" },
|
|
component: () => import("@/views/enterprise/enforcement/enforcementChat.vue"),
|
|
}
|
|
];
|
|
|
|
export {routes};
|
|
|