| | |
| | | path: "/search", |
| | | permission: "statisticMng" |
| | | }, |
| | | { |
| | | name: "统计分析", |
| | | icon: "/images/manageCenter/search.png", |
| | | openPath: "/dataView", |
| | | path: "/dataView", |
| | | permission: "statisticMng" |
| | | }, |
| | | |
| | | { |
| | | name: "推送管理", |
| | | icon: "/images/manageCenter/manage2.png", |
| | | openPath: "/report", |
| | | path: "/report", |
| | | permission: "statisticMng" |
| | | }, |
| | | |
| | | { |
| | | name: "实时监控", |
| | | icon: "/images/manageCenter/manage2.png", |
| | | openPath: "/video", |
| | | path: "/video", |
| | | permission: "statisticMng" |
| | | } |
| | | ], |
| | |
| | | return item == route.permission |
| | | }) |
| | | if (val) { |
| | | if (route.path === "/search") { |
| | | if (route.path === "/search" || route.path === "/dataView") { |
| | | const { href } = this.$router.resolve({ |
| | | path: "/search" |
| | | path: route.path |
| | | }) |
| | | window.open(href, "_blank") |
| | | return |