Files
sgxt_web/src/router/index.js

954 lines
31 KiB
JavaScript
Raw Normal View History

2025-04-23 17:56:15 +08:00
import { createRouter, createWebHashHistory } from "vue-router";
2026-04-28 11:26:26 +08:00
import layout from "@/layout/index";
2025-04-12 14:54:02 +08:00
import store from "@/store";
/**
2026-04-28 11:26:26 +08:00
* 路由配置说明
*
* 1. publicRoutes公开路由- 所有用户都能访问应用启动时静态注册
* 包括登录页首页错误页等
*
* 2. privateRoutes私有路由- 需要权限才能访问登录后动态注册
* 包括所有业务功能路由
*
* 3. 路由的 name 属性必须与后端返回的菜单权限码menuCodeSet一致
2025-04-12 14:54:02 +08:00
*/
/**
2026-04-28 11:26:26 +08:00
* 公开路由表 - 所有人都能访问
2025-08-16 16:54:03 +08:00
*/
export const publicRoutes = [
2026-04-28 11:26:26 +08:00
// 登录相关路由
2025-08-27 17:26:29 +08:00
{
path: "/oatuh_login",
name: "oatuh_login",
component: () => import("@/views/login/oatuh_login")
},
2025-04-12 14:54:02 +08:00
{
path: "/login",
2025-04-23 17:56:15 +08:00
name: "login",
component: () => import("@/views/login/index")
2025-04-12 14:54:02 +08:00
},
2025-10-09 21:33:58 +08:00
{
path: "/zeroTrust_login",
name: "zeroTrust_login",
component: () => import("@/views/login/zeroTrust_login")
},
2026-04-28 11:26:26 +08:00
// 错误页面
{
path: "/401",
name: "401",
component: () => import("@/views/error/401.vue")
},
{
path: "/404",
name: "404",
component: () => import("@/views/error/404.vue")
},
// 首页(所有登录用户都可访问)
2025-04-12 14:54:02 +08:00
{
2025-04-24 10:19:53 +08:00
path: "/",
2025-04-23 17:56:15 +08:00
name: "home",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/home/index"),
meta: { keepAlive: true, componentName: 'HomePage' }
2025-04-12 14:54:02 +08:00
},
2026-04-28 11:26:26 +08:00
// 公共访问页面(无需权限校验)
2026-03-14 19:46:21 +08:00
{
path: "/mapNavigation",
name: "mapNavigation",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/home/model/mapNavigation.vue")
2026-03-14 19:46:21 +08:00
},
2025-04-15 18:22:42 +08:00
{
path: "/KeyPopulations",
2025-04-23 17:56:15 +08:00
name: "KeyPopulations",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/KeyPopulations/index")
2025-04-15 18:22:42 +08:00
},
2026-04-28 11:26:26 +08:00
// 以下路由虽然在白名单中,但仍需要登录才能访问
// 它们是特殊业务路由,登录后所有人都能访问(不依赖菜单权限)
2025-08-16 16:54:03 +08:00
{
path: "/deploymentApproval",
name: "deploymentApproval",
component: () => import("@/views/backOfficeSystem/ApprovalInformation/deploycontrol/deploymentApproval.vue"),
},
2026-01-20 17:06:37 +08:00
{
path: "/shym",
name: "shym",
component: () => import("@/views/backOfficeSystem/IntelligentControl/marksControl/components/shym.vue"),
},
2025-12-27 11:10:31 +08:00
{
path: "/information",
name: "information",
component: () => import("@/views/backOfficeSystem/JudgmentHome/internalAuditor/information.vue"),
2026-04-28 11:26:26 +08:00
},
{
2026-01-23 19:57:10 +08:00
path: "/Spdloyment",
name: "Spdloyment",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/auditList/components/spdloyment.vue"),
2025-12-27 11:10:31 +08:00
},
2025-08-16 16:54:03 +08:00
{
path: "/clueVerification",
name: "clueVerification",
component: () => import("@/views/backOfficeSystem/ApprovalInformation/Clue/index.vue"),
},
2026-01-26 15:55:57 +08:00
{
path: "/ReviewListSH",
name: "ReviewListSH",
component: () => import("@/views/backOfficeSystem/JudgmentHome/ReviewList/detail.vue"),
},
2025-08-16 16:54:03 +08:00
{
path: "/focusExploration",
name: "focusExploration",
component: () => import("@/views/backOfficeSystem/ApprovalInformation/FocusExploration/index.vue"),
},
2026-04-28 11:26:26 +08:00
// 情报论坛(所有登录用户都可访问)
{
path: "/forumPost",
name: "forumPost",
component: layout,
meta: {
title: "情报论坛",
icon: "article-ranking"
},
children: [
{
path: "",
name: "forumPostPage",
component: () => import("@/views/backOfficeSystem/luntan/index.vue"),
meta: {
title: "情报论坛",
icon: "article-ranking"
}
}
]
},
];
/**
* 私有路由表 - 需要权限才能访问
* 登录后根据用户的 menuCodeSet 动态注册
*/
export const privateRoutes = [
// 派出所开放路由(特殊权限,不在菜单显示)
2025-10-26 12:25:50 +08:00
{
path: "/warningLists",
name: "warningLists",
component: () => import("@/views/backOfficeSystem/fourColorManage/warningList/index"),
meta: {
title: "布控预警",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-10-26 12:25:50 +08:00
}
2025-12-11 17:58:37 +08:00
},
{
2025-10-26 12:25:50 +08:00
path: "/behaviorWarnings",
name: "behaviorWarnings",
2026-01-20 17:06:37 +08:00
meta: { title: "行为预警", icon: "article-create" },
2025-10-26 12:25:50 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index"),
},
{
path: "/identityWarnings",
name: "identityWarnings",
2026-01-20 17:06:37 +08:00
meta: { title: "身份预警", icon: "article-create" },
2025-10-26 12:25:50 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index"),
},
{
path: "/combinedWarnings",
name: "combinedWarnings",
2026-01-20 17:06:37 +08:00
meta: { title: "组合预警", icon: "article-create" },
2025-10-26 12:25:50 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/combinedWarning/index"),
},
{
path: "/mpvPeos",
name: "mpvPeos",
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index"),
meta: {
title: "重点人管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-10-26 12:25:50 +08:00
}
2026-04-28 11:26:26 +08:00
},
{
2025-10-26 12:25:50 +08:00
path: "/myControls",
name: "myControls",
component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"),
meta: {
title: "我的布控",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-10-26 12:25:50 +08:00
}
2026-04-28 11:26:26 +08:00
},
{
2025-10-26 12:25:50 +08:00
path: "/DeploymentAreas",
name: "DeploymentAreas",
component: () => import("@/views/backOfficeSystem/IntelligentControl/DeploymentArea/index"),
meta: {
title: "布控区域",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-10-26 12:25:50 +08:00
}
},
2026-04-28 11:26:26 +08:00
// 主业务路由(带 layout
2025-04-12 14:54:02 +08:00
{
2026-04-28 11:26:26 +08:00
path: "/editPassword",
2025-04-15 14:50:51 +08:00
redirect: "/IdentityManage",
2025-09-20 17:29:35 +08:00
component: layout,
2025-04-12 14:54:02 +08:00
children: [
2025-09-24 18:10:41 +08:00
{
2025-04-23 17:56:15 +08:00
path: "/FourColorWarning",
name: "FourColorWarning",
2026-01-20 17:06:37 +08:00
meta: { title: "预警中心", icon: "article-ranking" },
2025-04-23 17:56:15 +08:00
children: [
2025-12-17 18:46:32 +08:00
{
2026-01-23 15:43:22 +08:00
path: "/YjData",
name: "YjData",
2026-01-28 16:56:02 +08:00
meta: { title: "预警列表", icon: "article-create" },
2026-01-23 15:43:22 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/YjData/index.vue"),
2025-12-03 16:58:06 +08:00
},
2026-03-18 11:07:40 +08:00
{
path: "/jqjc",
name: "jqjc",
meta: { title: "警情监测", icon: "article-create" },
children: [
{
path: "/policeReport",
name: "policeReport",
component: () => import("@/views/backOfficeSystem/policeReport/index.vue"),
meta: {
title: "警情信息",
icon: "article-create"
}
2026-04-28 11:26:26 +08:00
},
{
2026-03-18 11:07:40 +08:00
path: "/policeSituations",
name: "policeSituations",
component: () => import("@/views/backOfficeSystem/PoliceIncidentMonitoring/index.vue"),
meta: {
title: "警情预警监测",
icon: "article-create"
}
},
]
},
2025-12-13 19:08:20 +08:00
{
path: "/scoreRanking",
name: "scoreRanking",
2026-01-20 17:06:37 +08:00
meta: { title: "积分排名", icon: "article-create" },
2025-12-13 19:08:20 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/scoreRanking/index"),
},
2026-01-20 10:52:48 +08:00
{
path: "/sevenWarningFail",
name: "sevenWarningFail",
2026-01-23 15:43:22 +08:00
meta: { title: "报错列表", icon: "article" },
2026-01-20 10:52:48 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/sevenWarningFail/index.vue"),
},
2025-12-03 16:58:06 +08:00
]
},
2025-07-31 10:38:34 +08:00
{
path: "/IntelligentControl",
name: "IntelligentControl",
2026-01-20 17:06:37 +08:00
meta: { title: "智能布控", icon: "article-ranking" },
2025-07-31 10:38:34 +08:00
children: [
2025-07-08 20:10:24 +08:00
{
path: "/DeploymentArea",
name: "DeploymentArea",
2025-07-10 20:37:45 +08:00
component: () => import("@/views/backOfficeSystem/IntelligentControl/DeploymentArea/index"),
2025-07-08 20:10:24 +08:00
meta: {
title: "布控区域",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-07-08 20:10:24 +08:00
}
},
2025-04-23 17:56:15 +08:00
{
path: "/myControl",
name: "myControl",
2025-07-10 20:37:45 +08:00
component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"),
2025-04-23 17:56:15 +08:00
meta: {
2025-11-22 21:59:58 +08:00
title: "常态布控",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-04-23 17:56:15 +08:00
}
},
2025-07-08 20:10:24 +08:00
{
2025-11-22 21:59:58 +08:00
path: "/PrivateSurveillance",
name: "PrivateSurveillance",
component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"),
2025-07-08 20:10:24 +08:00
meta: {
2025-11-22 21:59:58 +08:00
title: "临时布控",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-07-08 20:10:24 +08:00
}
},
2025-12-03 16:59:15 +08:00
{
path: "/marksControl",
name: "marksControl",
component: () => import("@/views/backOfficeSystem/IntelligentControl/marksControl/index"),
meta: {
title: "标签布控",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-03 16:59:15 +08:00
}
},
2026-04-17 17:16:51 +08:00
{
path: "/ReviewListControl",
name: "ReviewListControl",
component: () => import("@/views/backOfficeSystem/IntelligentControl/ReviewListControl/index"),
meta: {
title: "审核列表",
icon: "article-create"
}
},
2025-11-22 21:59:58 +08:00
]
},
{
path: "/HumanIntelligence",
name: "HumanIntelligence",
2026-01-20 17:06:37 +08:00
meta: { title: "信息汇聚支撑", icon: "article-ranking" },
2025-11-22 21:59:58 +08:00
children: [
2025-04-23 17:56:15 +08:00
{
2025-12-05 21:36:34 +08:00
path: "/InfoCollection",
name: "InfoCollection",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/infoCollection/index"),
2026-01-20 17:06:37 +08:00
meta: { title: "信息采集", icon: "article-create" },
2025-11-22 21:59:58 +08:00
},
{
2025-12-03 16:58:06 +08:00
path: "/InternalList",
name: "InternalList",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/listView/index"),
2026-01-20 17:06:37 +08:00
meta: { title: "内部列表", icon: "article-create", qbjbList: '02' },
2025-11-22 21:59:58 +08:00
},
{
2025-12-03 16:58:06 +08:00
path: "/openSourceList",
name: "openSourceList",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/listView/index"),
2026-01-20 17:06:37 +08:00
meta: { title: "共享列表", icon: "article-create", qbjbList: '01' },
2026-04-28 11:26:26 +08:00
},
{
2026-01-23 15:43:22 +08:00
path: "/auditList",
name: "auditList",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/auditList/index"),
meta: { title: "审批列表", icon: "article-create" },
2025-11-22 21:59:58 +08:00
},
{
path: "/supplementReportList",
name: "supplementReportList",
component: () => import("@/views/backOfficeSystem/supplementReportList/index.vue"),
meta: {
2026-01-25 11:55:12 +08:00
title: "补充续报",
2026-01-20 17:06:37 +08:00
icon: "article-create"
}
},
{
path: "/integralList",
name: "integralList",
component: () => import("@/views/backOfficeSystem/integralList/index.vue"),
meta: {
title: "积分列表",
2026-01-20 17:06:37 +08:00
icon: "article-create"
}
},
2026-04-21 17:00:46 +08:00
{
path: "/InformationReporting",
name: "InformationReporting",
component: () => import("@/views/backOfficeSystem/InformationReporting/index.vue"),
meta: {
title: "蜂群信息",
icon: "article-create"
}
},
2025-04-23 17:56:15 +08:00
]
},
{
path: "/ResearchJudgment",
name: "ResearchJudgment",
2026-01-20 17:06:37 +08:00
meta: { title: "线索落核盯办", icon: "article-ranking" },
2025-04-23 17:56:15 +08:00
children: [
2026-01-21 09:52:04 +08:00
{
2026-01-20 17:52:26 +08:00
path: "/socialInformationCrculated",
name: "changeTheClue",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/FollowLeads/index"),
meta: { title: "线索列表", icon: "article" },
2025-04-23 17:56:15 +08:00
},
2026-01-21 09:52:04 +08:00
{
2026-01-20 17:52:26 +08:00
path: "/lamXs",
name: "lamXs",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/lamXs/index"),
meta: { title: "林安码线索", icon: "article" },
},
2025-04-23 17:56:15 +08:00
{
2026-01-06 22:09:05 +08:00
path: "/InstructionInformation",
name: "InstructionInformation",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index"),
meta: {
2026-01-20 17:52:26 +08:00
title: "线索发布",
2026-01-06 22:09:05 +08:00
icon: "article"
}
2025-04-23 17:56:15 +08:00
},
]
},
{
2025-07-10 20:07:17 +08:00
path: "/JudgmentHome",
name: "JudgmentHome",
2025-05-20 16:10:59 +08:00
redirect: "/ResearchHome",
2025-04-23 17:56:15 +08:00
meta: {
2025-11-22 21:59:58 +08:00
title: "会商研判",
2026-01-20 17:06:37 +08:00
icon: "article-ranking"
2025-05-19 18:03:57 +08:00
},
children: [
2026-03-14 19:46:21 +08:00
{
path: "/policeManagement",
name: "policeManagement",
component: () => import("@/views/backOfficeSystem/policeManagement/index.vue"),
meta: {
title: "重大事件",
icon: "article-create"
}
},
2025-12-03 16:58:06 +08:00
{
2025-12-16 12:15:09 +08:00
path: "/ResearchHome",
name: "ResearchHome",
component: () => import("@/views/backOfficeSystem/JudgmentHome/ResearchHome/index"),
meta: {
title: "智能研判",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 12:15:09 +08:00
}
},
2025-12-25 10:38:17 +08:00
{
2025-12-03 16:58:06 +08:00
path: "/dataReduction",
name: "dataReduction",
component: () => import("@/views/backOfficeSystem/JudgmentHome/dataReduction/index"),
meta: {
2026-01-23 19:57:10 +08:00
title: "研判约稿",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-03 16:58:06 +08:00
}
},
2025-12-11 20:31:46 +08:00
{
2026-01-23 19:57:10 +08:00
path: "/strategicResearchs",
name: "strategicResearchs",
2025-12-16 12:15:09 +08:00
component: () => import("@/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue"),
2025-09-12 14:55:05 +08:00
meta: {
2026-01-23 19:57:10 +08:00
title: "研判报告",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-07-21 17:03:41 +08:00
}
},
2026-01-26 14:38:32 +08:00
{
path: "/ReviewList",
name: "ReviewList",
component: () => import("@/views/backOfficeSystem/JudgmentHome/ReviewList/index.vue"),
meta: {
title: "审核列表",
icon: "article-create"
}
},
2025-12-10 19:47:07 +08:00
{
path: "/judgmentCommand",
name: "judgmentCommand",
component: () => import("@/views/backOfficeSystem/JudgmentHome/judgmentCommand/index.vue"),
meta: {
title: "研判指令",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-10 19:47:07 +08:00
}
},
2025-12-27 11:10:31 +08:00
{
path: "/internalAuditor",
name: "internalAuditor",
component: () => import("@/views/backOfficeSystem/JudgmentHome/internalAuditor/index.vue"),
meta: {
title: "内部审核人员",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-27 11:10:31 +08:00
}
},
2025-05-19 18:03:57 +08:00
{
path: "/MeetingRoom",
name: "MeetingRoom",
2025-07-10 20:07:17 +08:00
component: () => import("@/views/backOfficeSystem/JudgmentHome/MeetingRoom/index"),
2025-05-19 18:03:57 +08:00
meta: {
title: "网上会商室",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-05-19 18:03:57 +08:00
}
}
2025-05-19 18:03:57 +08:00
]
2025-04-24 10:19:53 +08:00
},
2025-05-21 10:24:02 +08:00
{
path: "/DeploymentDisposal",
name: "DeploymentDisposal",
redirect: "/ResearchHome",
meta: {
2025-11-22 21:59:58 +08:00
title: "全域管控",
2026-01-20 17:06:37 +08:00
icon: "article-ranking"
2025-05-21 10:24:02 +08:00
},
children: [
2025-09-13 16:57:24 +08:00
{
path: "/BaseLibrary",
name: "BaseLibrary",
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/BaseLibrary/index"),
meta: {
title: "基础库",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-09-13 16:57:24 +08:00
}
},
2025-07-10 20:37:45 +08:00
{
path: "/mpvPeo",
name: "mpvPeo",
2025-08-01 17:16:03 +08:00
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index"),
2025-07-10 20:37:45 +08:00
meta: {
2026-01-23 19:57:10 +08:00
title: "重点人员库",
icon: "article-create"
}
},
{
path: "/gzPeo",
name: "gzPeo",
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/gzPeo/index"),
meta: {
2026-01-25 19:50:18 +08:00
title: "关注人员库",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-07-10 20:37:45 +08:00
}
},
2025-05-21 10:24:02 +08:00
{
path: "/mpvGroup",
name: "mpvGroup",
2025-08-01 17:16:03 +08:00
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index"),
2025-05-21 10:24:02 +08:00
meta: {
2026-01-23 19:57:10 +08:00
title: "重点群体库",
2026-01-20 17:06:37 +08:00
icon: "article-create"
}
2025-05-21 10:24:02 +08:00
},
{
2026-01-26 17:28:55 +08:00
path: "/mpvCar",
name: "mpvCar",
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mpvCar/index"),
meta: {
2026-01-26 17:28:55 +08:00
title: "重点车辆库",
2026-01-20 17:06:37 +08:00
icon: "article-create"
}
},
2025-07-31 10:38:34 +08:00
{
2026-01-26 17:28:55 +08:00
path: "/mvpSP",
name: "mvpSP",
component: () => import("@/views/backOfficeSystem/DeploymentDisposal/mvpSP/index"),
2025-07-31 10:38:34 +08:00
meta: {
2026-01-26 17:28:55 +08:00
title: "审核列表",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-07-31 10:38:34 +08:00
}
},
2025-05-21 10:24:02 +08:00
]
2025-12-19 15:54:20 +08:00
},
2025-12-25 10:35:00 +08:00
{
2025-12-19 15:54:20 +08:00
path: "/dataApplication",
name: "dataApplication",
2026-01-20 17:06:37 +08:00
meta: { title: "数据应用", icon: "article-ranking" },
2025-12-19 15:54:20 +08:00
children: [
2026-03-14 19:46:21 +08:00
{
path: "/Gzqkgl",
name: "Gzqkgl",
meta: {
title: "工作情况管理",
icon: "article-create"
},
children: [
{
path: "/goingJob",
name: "goingJob",
meta: { title: "工作情况", icon: "article-ranking" },
component: () => import("@/views/backOfficeSystem/goingJob/index.vue")
2026-04-28 11:26:26 +08:00
},
{
2026-03-14 19:46:21 +08:00
path: "/workLogInfo",
name: "workLogInfo",
meta: { title: "值班信息", icon: "article-ranking" },
component: () => import("@/views/backOfficeSystem/workLogInfo/index.vue")
}
]
},
2025-12-26 09:39:22 +08:00
{
2026-01-23 15:43:22 +08:00
path: "/Cspz",
name: "Cspz",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/fourColorManage/Cspz/index"),
2025-12-26 09:39:22 +08:00
meta: {
2026-01-23 15:43:22 +08:00
title: "参数配置",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-26 09:39:22 +08:00
}
},
2026-02-04 11:50:44 +08:00
{
path: "/permissionApply",
name: "permissionApply",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/permissionApply/index"),
meta: {
title: "权限申请",
icon: "article-create"
}
},
2025-12-19 15:54:20 +08:00
{
2026-02-05 17:17:25 +08:00
path: "/appraisalManagement",
name: "appraisalManagement",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/appraisalManagement/index"),
2025-12-19 15:54:20 +08:00
meta: {
2026-02-05 17:17:25 +08:00
title: "考核管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-19 15:54:20 +08:00
}
},
{
2026-01-23 15:43:22 +08:00
path: "/FileData",
name: "FileData",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/FileData/index"),
2025-12-19 15:54:20 +08:00
meta: {
title: "文件中转",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-19 15:54:20 +08:00
}
},
2025-12-25 10:35:00 +08:00
{
2025-12-19 15:54:20 +08:00
path: "/ssemanticAnalysis",
name: "semanticAnalysis",
component: () => import("@/views/backOfficeSystem/SemanticAnalysis/index.vue"),
meta: {
title: "语义分析",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-19 15:54:20 +08:00
}
},
{
2026-01-16 12:40:42 +08:00
path: "/ReportStatisticalAnalysis",
name: "ReportStatisticalAnalysis",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/index"),
2025-12-19 15:54:20 +08:00
meta: {
title: "情报统计分析",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-19 15:54:20 +08:00
}
2026-01-16 12:40:42 +08:00
},
{
2025-12-19 15:54:20 +08:00
path: "/RecordsOperations",
name: "RecordsOperations",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/RecordsOperations/index"),
meta: {
title: "操作记录",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-19 15:54:20 +08:00
}
2026-04-28 11:26:26 +08:00
},
{
2026-01-23 15:43:22 +08:00
path: "/dataMonitor",
name: "dataMonitor",
meta: { title: "数据监控", icon: "article-ranking" },
children: [
{
path: "/resourceMonitoring",
name: "resourceMonitoring",
component: () => import("@/views/backOfficeSystem/dataMonitor/resourceMonitoring/index.vue"),
meta: {
title: "数据资源检测",
icon: "article-create"
}
},
{
path: "/onlineUserMonitoring",
name: "onlineUserMonitoring",
component: () => import("@/views/backOfficeSystem/dataMonitor/onlineUserMonitoring/index.vue"),
meta: {
title: "在线用户监控",
icon: "article-create"
}
}
]
},
2025-12-19 15:54:20 +08:00
]
2025-05-21 10:24:02 +08:00
},
2025-12-16 16:44:58 +08:00
{
path: "/systemConfig",
name: "systemConfigModel",
meta: {
2025-12-25 10:35:00 +08:00
title: "系统管理",
2026-01-20 17:06:37 +08:00
icon: "article-ranking"
2025-12-16 16:44:58 +08:00
},
children: [
2025-12-25 10:35:00 +08:00
{
2025-12-16 16:44:58 +08:00
path: "/user/department-ist",
name: "departmentList",
component: () => import("@/views/backOfficeSystem/systemConfig/department-list/index"),
meta: {
2025-12-25 10:35:00 +08:00
title: "部门管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/userList",
name: "userList",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/user-list/index"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "用户管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/role",
name: "userRoleIndex",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/role-list/index"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "角色列表",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/menuList",
name: "menuList",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/menu-list/index"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "菜单管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/dict/detail",
name: "dictDetail",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/dict/detail"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "字典数据"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/dict/index",
name: "dictIndex",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/dict/index"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "字典列表",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/deptAllocationUser/:id",
name: "deptAllocationUser",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "管理用户"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/allocationUser/:id",
name: "allocationUser",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/role-list/allocationUser"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "分配用户"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/user/systemConfig",
name: "systemConfig",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/systemConfig/system-config-list/index"),
2025-12-16 16:44:58 +08:00
meta: {
2025-12-25 10:35:00 +08:00
title: "系统配置",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2026-04-28 11:26:26 +08:00
},
{
2025-12-16 16:44:58 +08:00
path: "/calendar",
name: "calendar",
component: () => import("@/views/backOfficeSystem/calendar/index.vue"),
meta: {
2025-12-25 10:35:00 +08:00
title: "敏感节点",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-16 16:44:58 +08:00
}
2025-12-25 10:35:00 +08:00
},
2025-12-16 16:44:58 +08:00
]
2025-12-25 10:35:00 +08:00
},
2025-12-05 21:36:34 +08:00
{
path: "/rests",
name: "rests",
meta: {
title: "其他",
2026-01-20 17:06:37 +08:00
icon: "article-ranking"
2025-12-05 21:36:34 +08:00
},
children: [
2026-01-25 11:55:12 +08:00
{
path: "/socialInformationCrculatec",
name: "recombinantSynthesis",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/ConversionSynthesis/index"),
meta: { title: "转合成列表", icon: "article-create" },
},
{
path: "/transferConsultationList",
name: "transferConsultationList",
component: () => import("@/views/backOfficeSystem/transferConsultationList/index.vue"),
meta: {
title: "转会商列表",
icon: "article-create"
}
},
2026-01-20 17:52:26 +08:00
{
path: "/DatAcquisition",
name: "DatAcquisition",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/DatAcquisition/index"),
meta: {
title: "线索数据采集",
icon: "article"
}
},
2026-01-21 09:52:04 +08:00
{
2026-01-20 17:52:26 +08:00
path: "/IntelligenceManagement",
name: "IntelligenceManagement",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index"),
meta: {
title: "线索管理",
icon: "article"
}
2026-01-21 09:52:04 +08:00
},
2025-10-26 12:25:50 +08:00
{
2025-12-05 21:36:34 +08:00
path: "/CollectCrculate",
name: "CollectCrculate",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
2026-01-20 17:06:37 +08:00
meta: { title: "情报采集", icon: "article-create" },
2026-04-28 11:26:26 +08:00
},
{
2025-12-27 11:10:31 +08:00
path: "/RlStatisticalAnalysis",
name: "RlStatisticalAnalysis",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/HumanIntelligence/RlStatisticalAnalysis/index"),
2025-12-27 11:10:31 +08:00
meta: {
title: "上报统计分析",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-27 11:10:31 +08:00
}
},
{
path: "/TaskScheduling",
name: "TaskScheduling",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index"),
2025-12-27 11:10:31 +08:00
meta: {
title: "上报任务调度",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-27 11:10:31 +08:00
}
},
{
path: "/ConstructionManagement",
name: "ConstructionManagement",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index"),
2025-12-27 11:10:31 +08:00
meta: {
title: "力量建设管理",
2026-01-20 17:06:37 +08:00
icon: "article-create"
2025-12-27 11:10:31 +08:00
}
2025-10-26 12:25:50 +08:00
},
2026-01-16 12:40:42 +08:00
{
path: "/StatisticalAnalysis",
name: "StatisticalAnalysis",
component: () => import("@/views/backOfficeSystem/ResearchJudgment/InformationFlows/StatisticalAnalysis/index"),
meta: {
title: "情报统计分析",
2026-01-20 17:06:37 +08:00
icon: "article-create"
}
},
{
path: "/ysMyControl",
name: "ysMyControl",
component: () => import("@/views/backOfficeSystem/IntelligentControl/ysMyControl/index"),
meta: {
title: "常态布控",
icon: "article-create"
}
},
{
path: "/ysPrivateSurveillance",
name: "ysPrivateSurveillance",
component: () => import("@/views/backOfficeSystem/IntelligentControl/ysMyControl/index"),
meta: {
title: "临时布控",
icon: "article-create"
}
},
{
path: "/ysmarksControl",
name: "ysmarksControl",
component: () => import("@/views/backOfficeSystem/IntelligentControl/ysMarksControl/index"),
meta: {
title: "标签布控",
icon: "article-create"
2026-01-16 12:40:42 +08:00
}
},
2026-01-23 15:43:22 +08:00
{
path: "/ExcavationResearch",
name: "ExcavationResearch",
meta: { title: "重点人发掘", icon: "article-ranking" },
children: [
{
path: "/PreliminaryExcavations",
name: "PreliminaryExcavations",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/ExcavationResearch/PreliminaryExcavations/index"),
2026-01-23 15:43:22 +08:00
meta: {
title: "重点人员初步发掘",
icon: "article-create"
}
},
{
path: "/ZdryFjyp",
name: "ZdryFjyp",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index"),
2026-01-23 15:43:22 +08:00
meta: {
title: "重点人员深度发掘",
icon: "article-create"
}
},
{
path: "/LandingAudit",
name: "LandingAudit",
2026-04-28 11:26:26 +08:00
component: () => import("@/views/backOfficeSystem/ExcavationResearch/LandingAudit/index"),
2026-01-23 15:43:22 +08:00
meta: {
title: "重点人员落地审核",
icon: "article-create"
}
2026-04-28 11:26:26 +08:00
},
{
2026-01-23 19:57:10 +08:00
path: "/tacticalResearch",
name: "tacticalResearch",
component: () => import("@/views/backOfficeSystem/JudgmentHome/tacticalResearch/index.vue"),
meta: {
title: "战术研判",
icon: "article-create"
}
},
{
path: "/strategicResearch",
name: "strategicResearch",
component: () => import("@/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue"),
meta: {
title: "战略研判",
icon: "article-create"
}
2026-01-23 15:43:22 +08:00
},
]
2026-04-28 11:26:26 +08:00
},
{
2026-01-23 19:57:10 +08:00
path: "/tacticalResearch",
name: "tacticalResearch",
component: () => import("@/views/backOfficeSystem/JudgmentHome/tacticalResearch/index.vue"),
meta: {
title: "战术研判",
icon: "article-create"
}
},
{
path: "/strategicResearch",
name: "strategicResearch",
component: () => import("@/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue"),
meta: {
title: "战略研判",
icon: "article-create"
}
2026-01-23 15:43:22 +08:00
},
2026-02-05 17:17:25 +08:00
{
path: "/JobAppraisal",
name: "JobAppraisal",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index"),
meta: {
title: "工作考核",
icon: "article-create"
}
},
]
2025-12-05 21:36:34 +08:00
},
2025-04-23 17:56:15 +08:00
]
}
];
2025-04-12 14:54:02 +08:00
2026-04-28 11:26:26 +08:00
// 创建路由实例,只注册公开路由
2025-04-12 14:54:02 +08:00
const router = createRouter({
history: createWebHashHistory(),
routes: publicRoutes
});
2026-04-28 11:26:26 +08:00
// 重置路由(退出登录时调用)
2025-04-12 14:54:02 +08:00
export function resetRouter() {
2026-04-28 11:26:26 +08:00
// 移除所有动态添加的路由
router.getRoutes().forEach(route => {
if (route.name && !publicRoutes.find(r => r.name === route.name)) {
router.removeRoute(route.name);
}
});
2025-04-12 14:54:02 +08:00
}
2026-04-28 11:26:26 +08:00
2025-04-12 14:54:02 +08:00
export default router;