From 316d969b4d6cff5e478d60f7bc739c4d39a6a0e7 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 13 九月 2022 18:48:57 +0800 Subject: [PATCH] 隐藏GB28181,点位监控日期排序, 修改功能打开方式 --- src/views/manageCenter/index.vue | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/manageCenter/index.vue b/src/views/manageCenter/index.vue index 1a113e1..fa34a73 100644 --- a/src/views/manageCenter/index.vue +++ b/src/views/manageCenter/index.vue @@ -763,15 +763,13 @@ const val = userInfo.permissions.find((item) => { return item == route.permission }) + + // 淇敼涓哄叏閮ㄥ湪鏂版爣绛鹃〉鎵撳紑 if (val) { - if (route.path === "/search" || route.path === "/dataView") { - const { href } = this.$router.resolve({ - path: route.path - }) - window.open(href, "_blank") - return - } - this.$router.push(route.path) + const { href } = this.$router.resolve({ + path: route.path + }) + window.open(href, "_blank") } else if (!userInfo.parentId) { this.$router.push(route.openPath) } -- Gitblit v1.8.0