From 1dee40ea46601f2ee5d10aa0190625ebf03bdc4e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 17:02:19 +0800
Subject: [PATCH] 1
---
src/pages/first/components/mainMenu.vue | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/src/pages/first/components/mainMenu.vue b/src/pages/first/components/mainMenu.vue
index 84cd4f8..a34cb07 100644
--- a/src/pages/first/components/mainMenu.vue
+++ b/src/pages/first/components/mainMenu.vue
@@ -21,31 +21,35 @@
[
{
menuName: '园区概况',
- path: '/layout/first/survey'
+ path: '/layout/map/survey'
},
{
menuName: '风险源',
- path: '/layout/first/rs'
+ path: '/layout/map/rs'
},
{
menuName: '应急空间',
- path: '/layout/first/space'
+ path: '/layout/map/space'
},
{
menuName: '应急物资',
- path: '/layout/first/supplies'
+ path: '/layout/single/first/supplies'
},
{
menuName: '三级防控',
- path: '/layout/first/pac'
+ path: '/layout/map/first/pac'
},
{
menuName: '救援队伍',
- path: '/layout/first/rt'
+ path: '/layout/single/first/rt'
},
{
- menuName: '污染物处理',
- path: '/layout/first/pd'
+ menuName: '突发事件模拟',
+ path: '/layout/map/first/pd'
+ },
+ {
+ menuName: '作战图',
+ path: '/layout/single/first/ochart'
},
]
)
@@ -55,12 +59,6 @@
if (params.path) {
if (router.currentRoute.value.path == params.path) return
-
- if (params.path == '/layout/first/supplies' || params.path == '/layout/first/rt') {
- store.setLoadSingle(true)
- } else {
- store.setLoadSingle(false)
- }
router.push({
path: params.path
})
--
Gitblit v1.9.3