This commit is contained in:
lcw
2026-03-18 11:07:40 +08:00
parent 9fb505eb8e
commit c181530639
71 changed files with 2331 additions and 1027 deletions

View File

@ -172,6 +172,30 @@ export const publicRoutes = [
meta: { title: "预警列表", icon: "article-create" },
component: () => import("@/views/backOfficeSystem/fourColorManage/YjData/index.vue"),
},
{
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"
}
}, {
path: "/policeSituations",
name: "policeSituations",
component: () => import("@/views/backOfficeSystem/PoliceIncidentMonitoring/index.vue"),
meta: {
title: "警情预警监测",
icon: "article-create"
}
},
]
},
// {
// path: "/fouColorWarning",
// name: "fouColorWarning",
@ -480,15 +504,7 @@ export const publicRoutes = [
icon: "article-ranking"
},
children: [
{
path: "/policeReport",
name: "policeReport",
component: () => import("@/views/backOfficeSystem/policeReport/index.vue"),
meta: {
title: "警情管理",
icon: "article-create"
}
},
{
path: "/policeManagement",
name: "policeManagement",
@ -1266,8 +1282,6 @@ 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);