| | |
| | | path: '/layout/first/rt' |
| | | }, |
| | | { |
| | | menuName: '污染物处理', |
| | | menuName: '突发事件模拟', |
| | | path: '/layout/first/pd' |
| | | }, |
| | | { |
| | | menuName: '作战图', |
| | | path: '/layout/first/ochart' |
| | | }, |
| | | ] |
| | | ) |
| | |
| | | if (params.path) { |
| | | if (router.currentRoute.value.path == params.path) return |
| | | |
| | | if (params.path == '/layout/first/supplies' || params.path == '/layout/first/rt') { |
| | | if (params.path == '/layout/first/supplies' || params.path == '/layout/first/rt' || params.path == '/layout/first/ochart') { |
| | | store.setLoadSingle(true) |
| | | } else { |
| | | store.setLoadSingle(false) |
| | | } |
| | | router.push(params.path) |
| | | router.push({ |
| | | path: params.path |
| | | }) |
| | | } else { |
| | | params.childrenFlag = !params.childrenFlag |
| | | } |