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.
304 lines
8.9 KiB
304 lines
8.9 KiB
|
|
const routes = [
|
|
// 执法端登录
|
|
{
|
|
path: "/enforcement/login",
|
|
name: "enforcementLogin",
|
|
component: () => import("@/views/enforcement/login.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
{
|
|
path: "/enforcement/loginByPassword",
|
|
name: "enforcementLoginByPassword",
|
|
component: () => import("@/views/enforcement/loginByPassword.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端首页
|
|
{
|
|
path: "/enforcement/enforcementHome",
|
|
name: "enforcementHome",
|
|
component: () => import("@/views/enforcement/home/enforcementHome.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端首页-banner详情
|
|
{
|
|
path: "/enforcement/bannerDetail",
|
|
name: "bannerDetail",
|
|
component: () => import("@/views/enforcement/home/bannerDetail.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端扫码入企
|
|
{
|
|
path: "/enforcement/scanEntQRCode",
|
|
name: "scanEntQRCode",
|
|
component: () => import("@/views/enforcement/scanEntQRCode.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端扫码-企业详情预览
|
|
{
|
|
path: "/enforcement/enterpriseScanPreview",
|
|
name: "enfEnterpriseScanPreview",
|
|
component: () => import("@/views/enforcement/enterpriseScanPreview.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-历史活动详情
|
|
{
|
|
path: "/enforcement/historyActivityDetail",
|
|
name: "historyActivityDetail",
|
|
component: () => import("@/views/enforcement/components/HistoryActivityDetail.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-查询(tabbar)
|
|
{
|
|
path: "/enforcement/query",
|
|
name: "enforcementQuery",
|
|
component: () => import("@/views/enforcement/query/enforcementQuery.vue"),
|
|
meta: {
|
|
isKeepAlive: true,
|
|
},
|
|
},
|
|
// 执法端-消息中心(tabbar)
|
|
{
|
|
path: "/enforcement/message",
|
|
name: "enforcementMessage",
|
|
component: () => import("@/views/enforcement/message/messageCenter.vue"),
|
|
meta: {
|
|
isKeepAlive: true,
|
|
},
|
|
},
|
|
// 执法端-通知列表(tabbar)
|
|
{
|
|
path: "/enforcement/enforcementNoticeList",
|
|
name: "enforcementNoticeList",
|
|
component: () => import("@/views/enforcement/enforce/enforcementNoticeList.vue"),
|
|
meta: {
|
|
isKeepAlive: true,
|
|
},
|
|
},
|
|
// 执法端-执法预告反馈聊天
|
|
{
|
|
path: "/enforcement/enforcementChat",
|
|
name: "enforcementChat",
|
|
component: () => import("@/views/enforcement/enforce/enforcementChat.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-计划通知列表
|
|
{
|
|
path: "/enforcement/planNoticeList",
|
|
name: "planNoticeList",
|
|
component: () => import("@/views/enforcement/message/planNoticeList.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-执法评价列表
|
|
{
|
|
path: "/enforcement/enforcementEvaluateList",
|
|
name: "enforcementEvaluateList",
|
|
component: () => import("@/views/enforcement/message/enforcementEvaluateList.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-我的(tabbar)
|
|
{
|
|
path: "/enforcement/my",
|
|
name: "enforcementMy",
|
|
component: () => import("@/views/enforcement/my/enforcementMy.vue"),
|
|
meta: {
|
|
isKeepAlive: true,
|
|
},
|
|
},
|
|
// 执法端-计划(tabbar)
|
|
{
|
|
path: "/enforcement/program",
|
|
name: "enforcementProgram",
|
|
component: () => import("@/views/enforcement/program"),
|
|
meta: {
|
|
isKeepAlive: true,
|
|
},
|
|
},
|
|
// 执法端-计划列表(嵌套路由:我的计划 / 其他计划)
|
|
{
|
|
path: "/enforcement/plan",
|
|
name: "cpPlanList",
|
|
component: () => import("@/views/enforcement/my/plan/cp_plan_list.vue"),
|
|
redirect: "/enforcement/plan/mine",
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
children: [
|
|
{
|
|
path: "mine",
|
|
name: "cpPlanMine",
|
|
component: () => import("@/views/enforcement/my/plan/cp_plan_mine.vue"),
|
|
meta: { isKeepAlive: false },
|
|
},
|
|
{
|
|
path: "other",
|
|
name: "cpPlanOther",
|
|
component: () => import("@/views/enforcement/my/plan/cp_plan_other.vue"),
|
|
meta: { isKeepAlive: false },
|
|
},
|
|
],
|
|
},
|
|
// pdf预览
|
|
{
|
|
path: "/pdfPngPreview",
|
|
name: "pdfPngPreview",
|
|
component: () => import("@/views/common/pdfPngPreview.vue"),
|
|
},
|
|
// 执法端-计划编辑(新增/编辑)
|
|
{
|
|
path: "/enforcement/plan/edit",
|
|
name: "cpPlanEdit",
|
|
component: () => import("@/views/enforcement/my/plan/cp_plan_edit.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-我的任务列表
|
|
{
|
|
path: "/enforcement/task",
|
|
name: "cpTaskMine",
|
|
component: () => import("@/views/enforcement/my/task/cp_task_mine.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-任务详情
|
|
{
|
|
path: "/enforcement/task/detail",
|
|
name: "cpTaskDetail",
|
|
component: () => import("@/views/enforcement/my/task/cp_task_detail.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-预约处理列表
|
|
{
|
|
path: "/enforcement/reserve",
|
|
name: "cpReserveList",
|
|
component: () => import("@/views/enforcement/my/reserve/cp_reserve_list.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-预告列表
|
|
{
|
|
path: "/enforcement/notice",
|
|
name: "cpNoticeList",
|
|
component: () => import("@/views/enforcement/my/notice/cp_notice_list.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-预告编辑(新增/编辑)
|
|
{
|
|
path: "/enforcement/notice/edit",
|
|
name: "cpNoticeEdit",
|
|
component: () => import("@/views/enforcement/my/notice/cp_notice_edit.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-预告留言
|
|
{
|
|
path: "/enforcement/notice/message",
|
|
name: "cpNoticeMessage",
|
|
component: () => import("@/views/enforcement/my/notice/cp_notice_message.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-登记页面
|
|
{
|
|
path: "/enforcement/enforcementRegister",
|
|
name: "enforcementRegister",
|
|
component: () => import("@/views/enforcement/enforce/enforcementRegister.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-市外注册企业信息录入
|
|
{
|
|
path: "/enforcement/outOfCityEnterprise",
|
|
name: "outOfCityEnterprise",
|
|
component: () => import("@/views/enforcement/enforce/outOfCityEnterprise.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端-行政执法信息列表
|
|
{
|
|
path: "/enforcement/enforcementList",
|
|
name: "enforcementList",
|
|
component: () => import("@/views/enforcement/enforce/enforcementList.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端 - 评价详情页面
|
|
{
|
|
path: "/enforcement/enforcementEvaluateDetail",
|
|
name: "enforcementEvaluateDetail",
|
|
component: () => import("@/views/enforcement/enforce/enforcementEvaluateDetail.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端 - 统计分析页面
|
|
{
|
|
path: "/enforcement/statisticsAnalysis",
|
|
name: "statisticsAnalysis",
|
|
component: () => import("@/views/enforcement/statistics/statisticsAnalysis.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端 - 普法服务列表
|
|
{
|
|
path: "/enforcement/lawServiceList",
|
|
name: "enforcementLawServiceList",
|
|
component: () => import("@/views/enforcement/law/lawServiceList.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端 - 普法服务详情
|
|
{
|
|
path: "/enforcement/lawServiceDetail",
|
|
name: "enforcementLawServiceDetail",
|
|
component: () => import("@/views/enforcement/law/lawServiceDetail.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
// 执法端 - 执法记录页面
|
|
{
|
|
path: "/enforcement/enforcementRecord",
|
|
name: "enforcementRecord",
|
|
component: () => import("@/views/enforcement/enforce/enforcementRecord.vue"),
|
|
meta: {
|
|
isKeepAlive: false,
|
|
},
|
|
},
|
|
];
|
|
|
|
export { routes };
|
|
|