lcw
This commit is contained in:
@ -234,7 +234,7 @@ export const publicRoutes = [
|
||||
{
|
||||
path: "/FourColorWarning",
|
||||
name: "FourColorWarning",
|
||||
meta: { title: "四色预警管理", icon: "article" },
|
||||
meta: { title: "四色预警", icon: "article" },
|
||||
children: [
|
||||
{
|
||||
path: "/warningControl",
|
||||
@ -242,12 +242,12 @@ export const publicRoutes = [
|
||||
meta: { title: "预警中心", icon: "article" },
|
||||
redirect: "/warningControl/centerHome",
|
||||
children: [
|
||||
{
|
||||
path: "/centerHome",
|
||||
name: "centerHome",
|
||||
component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index"),
|
||||
meta: { title: "预警中心大屏", icon: "article" },
|
||||
},
|
||||
// {
|
||||
// path: "/centerHome",
|
||||
// name: "centerHome",
|
||||
// component: () => import("@/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index"),
|
||||
// meta: { title: "预警中心大屏", icon: "article" },
|
||||
// },
|
||||
// {
|
||||
// path: "/warningBk",
|
||||
// name: "warningBk",
|
||||
@ -367,34 +367,129 @@ export const publicRoutes = [
|
||||
name: "myControl",
|
||||
component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"),
|
||||
meta: {
|
||||
title: "我的布控",
|
||||
title: "常态布控",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/DeploymentAudit",
|
||||
name: "DeploymentAudit",
|
||||
component: () => import("@/views/backOfficeSystem/IntelligentControl/DeploymentAudit/index"),
|
||||
path: "/PrivateSurveillance",
|
||||
name: "PrivateSurveillance",
|
||||
component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"),
|
||||
meta: {
|
||||
title: "我的审核",
|
||||
title: "临时布控",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: "/DeploymentAudit",
|
||||
// name: "DeploymentAudit",
|
||||
// component: () => import("@/views/backOfficeSystem/IntelligentControl/DeploymentAudit/index"),
|
||||
// meta: {
|
||||
// title: "我的审核",
|
||||
// icon: "article"
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// path: "/ControlApproval",
|
||||
// name: "ControlApproval",
|
||||
// component: () => import("@/views/backOfficeSystem/IntelligentControl/ControlApproval/index"),
|
||||
// meta: {
|
||||
// title: "我的审批",
|
||||
// icon: "article"
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/HumanIntelligence",
|
||||
name: "HumanIntelligence",
|
||||
meta: { title: "信息汇聚支撑", icon: "article" },
|
||||
children: [
|
||||
{
|
||||
path: "/CollectCrculate",
|
||||
name: "CollectCrculate",
|
||||
// component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
|
||||
meta: { title: "上报信息", icon: "article" },
|
||||
// meta: { title: "人力情报信息报送", icon: "article" },
|
||||
redirect: "/CollectCrculate",
|
||||
children: [
|
||||
{
|
||||
path: "/CollectCrculate",
|
||||
name: "CollectCrculate",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
|
||||
meta: { title: "警务工作报送", icon: "article" },
|
||||
},
|
||||
{
|
||||
path: "/socialInformationCrculate",
|
||||
name: "socialInformationCrculate",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/SocialInformationCrculate/index"),
|
||||
meta: { title: "信息", icon: "article" },
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
},
|
||||
{
|
||||
path: "/RlStatisticalAnalysis",
|
||||
name: "RlStatisticalAnalysis",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/RlStatisticalAnalysis/index"
|
||||
),
|
||||
meta: {
|
||||
title: "上报统计分析",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
path: "/TaskScheduling",
|
||||
name: "TaskScheduling",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index"
|
||||
),
|
||||
meta: {
|
||||
title: "上报任务调度",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/ControlApproval",
|
||||
name: "ControlApproval",
|
||||
component: () => import("@/views/backOfficeSystem/IntelligentControl/ControlApproval/index"),
|
||||
path: "/ConstructionManagement",
|
||||
name: "ConstructionManagement",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index"
|
||||
),
|
||||
meta: {
|
||||
title: "我的审批",
|
||||
title: "力量建设管理",
|
||||
icon: "article"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/JobAppraisal",
|
||||
name: "JobAppraisal",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index"),
|
||||
meta: {
|
||||
title: "工作考核",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: "/MakeAcomment",
|
||||
// name: "MakeAcomment",
|
||||
// component: () => import("@/views/backOfficeSystem/MakeAcomment/index"),
|
||||
// meta: {
|
||||
// title: "情报评一评",
|
||||
// icon: "article"
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/ResearchJudgment",
|
||||
name: "ResearchJudgment",
|
||||
meta: { title: "线索研判盯办系统", icon: "article" },
|
||||
meta: { title: "线索落核盯办", icon: "article" },
|
||||
children: [
|
||||
{
|
||||
path: "/DatAcquisition",
|
||||
@ -470,99 +565,11 @@ export const publicRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/HumanIntelligence",
|
||||
name: "HumanIntelligence",
|
||||
meta: { title: "人力情报采集管理系统", icon: "article" },
|
||||
children: [
|
||||
{
|
||||
path: "/CollectCrculate",
|
||||
name: "CollectCrculate",
|
||||
meta: { title: "人力情报信息报送", icon: "article" },
|
||||
redirect: "/CollectCrculate",
|
||||
children: [
|
||||
{
|
||||
path: "/CollectCrculate",
|
||||
name: "CollectCrculate",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
|
||||
meta: { title: "警务工作报送", icon: "article" },
|
||||
},
|
||||
{
|
||||
path: "/socialInformationCrculate",
|
||||
name: "socialInformationCrculate",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
|
||||
meta: { title: "社会信息员报送", icon: "article" },
|
||||
},
|
||||
{
|
||||
path: "/lamCrculate",
|
||||
name: "lamCrculate",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index"),
|
||||
meta: { title: "林安码报送", icon: "article" },
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
{
|
||||
path: "/RlStatisticalAnalysis",
|
||||
name: "RlStatisticalAnalysis",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/RlStatisticalAnalysis/index"
|
||||
),
|
||||
meta: {
|
||||
title: "人力情报统计分析",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
path: "/TaskScheduling",
|
||||
name: "TaskScheduling",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index"
|
||||
),
|
||||
meta: {
|
||||
title: "人力情报信息收集任务调度",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/ConstructionManagement",
|
||||
name: "ConstructionManagement",
|
||||
component: () =>
|
||||
import(
|
||||
"@/views/backOfficeSystem/HumanIntelligence/ConstructionManagement/index"
|
||||
),
|
||||
meta: {
|
||||
title: "力量建设管理",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/JobAppraisal",
|
||||
name: "JobAppraisal",
|
||||
component: () => import("@/views/backOfficeSystem/HumanIntelligence/JobAppraisal/index"),
|
||||
meta: {
|
||||
title: "社会员工工作信息考核",
|
||||
icon: "article"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: "/MakeAcomment",
|
||||
// name: "MakeAcomment",
|
||||
// component: () => import("@/views/backOfficeSystem/MakeAcomment/index"),
|
||||
// meta: {
|
||||
// title: "情报评一评",
|
||||
// icon: "article"
|
||||
// }
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/ExcavationResearch",
|
||||
name: "ExcavationResearch",
|
||||
meta: { title: "重点人发掘系统", icon: "article" },
|
||||
meta: { title: "重点人发掘", icon: "article" },
|
||||
children: [
|
||||
|
||||
{
|
||||
@ -608,7 +615,7 @@ export const publicRoutes = [
|
||||
name: "JudgmentHome",
|
||||
redirect: "/ResearchHome",
|
||||
meta: {
|
||||
title: "研判首页",
|
||||
title: "会商研判",
|
||||
icon: "article"
|
||||
},
|
||||
children: [
|
||||
@ -656,7 +663,7 @@ export const publicRoutes = [
|
||||
name: "DeploymentDisposal",
|
||||
redirect: "/ResearchHome",
|
||||
meta: {
|
||||
title: "全域布控处置",
|
||||
title: "全域管控",
|
||||
icon: "article"
|
||||
},
|
||||
children: [
|
||||
@ -787,6 +794,8 @@ const router = createRouter({
|
||||
//初始化路由表
|
||||
export function resetRouter() {
|
||||
if (store.getters?.routeReady && store.getters?.userInfo?.permission?.menus) {
|
||||
|
||||
|
||||
const menus = store.getters.userInfo.permission.menus;
|
||||
menus.forEach((menu) => {
|
||||
router.removeRoute(menu);
|
||||
|
||||
Reference in New Issue
Block a user