From 3cfcf8907cd39886891b82d2a48526e7a114abf7 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 20 Sep 2022 14:57:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9C=BA=E6=99=AF=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E5=9C=BA=E6=99=AF=E6=8A=A5=E5=91=8A=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E5=9C=BA=E6=99=AF=E5=88=97=E8=A1=A8=E6=89=93?= =?UTF-8?q?=E5=BC=80=E6=96=B0=E7=9A=84tab=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016908 --user=陈建星 [接口测试] github#17993测试跟踪,报告,接口用例统计分析,点击报告名称链接会直接跳转到接口用例或者场景用例详情页,需要改成点击链接后新打开一个新tab页 https://www.tapd.cn/55049933/s/1246072 --- .../api/automation/report/ApiReportViewHeader.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue b/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue index 30724b8507..5ef0a59ae6 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue @@ -6,7 +6,10 @@ - + {{ report.name }} @@ -134,12 +137,12 @@ export default { redirect() { let data = this.$router.resolve({ name: this.isUi ? 'uiAutomation' : 'ApiAutomation', - params: { + query: { redirectID: getUUID(), dataType: "scenario", - dataSelectRange: 'edit:' + this.scenarioId, projectId: getCurrentProjectID(), workspaceId: getCurrentWorkspaceId(), + resourceId: this.scenarioId } }); window.open(data.href, '_blank'); @@ -199,4 +202,7 @@ export default { margin-right: 10px; } +.report-name { + border-bottom: 1px solid var(--primary_color); +}