From eb5f4d770f62f440337f945bc5c92da66ae5066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Tue, 30 Apr 2024 10:20:39 +0800 Subject: [PATCH] =?UTF-8?q?CN-1655=20fix:=20=E3=80=90Entity=E3=80=91?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=80=89=E6=8B=A9=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4=EF=BC=8C=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E8=87=B3=E5=AE=9E=E4=BD=93=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=EF=BC=8C=E8=AF=A6=E6=83=85=E9=A1=B5=E9=BB=98=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entityExplorer/entityList/entityListMixin.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/entityExplorer/entityList/entityListMixin.js b/src/views/entityExplorer/entityList/entityListMixin.js index 6e1de3a5..a33ea47e 100644 --- a/src/views/entityExplorer/entityList/entityListMixin.js +++ b/src/views/entityExplorer/entityList/entityListMixin.js @@ -128,13 +128,18 @@ export default { if (entityType === 'subscriber_id') { entityType = entityType.slice(0, -3) } + const queryParam = { + entityType: entityType, + entityName: this.entityData.entityValue, + range: this.timeFilter.dateRangeValue + } + if (queryParam.range === -1) { + queryParam.startTime = this.timeFilter.startTime + queryParam.endTime = this.timeFilter.endTime + } const { href } = this.$router.resolve({ path: '/entity/detail', - query: { - entityType: entityType, - entityName: this.entityData.entityValue, - range: this.timeFilter.dateRangeValue - } + query: queryParam }) window.open(href, '_blank') },