From f219e4e437d3cee4976f3de18f5f73d1a817ed60 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 25 Nov 2024 18:50:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E6=90=BA=E5=B8=A6=E9=A1=B9=E7=9B=AE=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/workbench/components/apiCaseTable.vue | 1 + frontend/src/views/workbench/components/bugTable.vue | 1 + frontend/src/views/workbench/components/caseReviewTable.vue | 1 + frontend/src/views/workbench/components/scenarioCaseTable.vue | 1 + frontend/src/views/workbench/components/testCaseTable.vue | 1 + frontend/src/views/workbench/components/testPlanTable.vue | 1 + 6 files changed, 6 insertions(+) diff --git a/frontend/src/views/workbench/components/apiCaseTable.vue b/frontend/src/views/workbench/components/apiCaseTable.vue index 59fa3780e2..5aea9ec01a 100644 --- a/frontend/src/views/workbench/components/apiCaseTable.vue +++ b/frontend/src/views/workbench/components/apiCaseTable.vue @@ -202,6 +202,7 @@ openNewPage(ApiTestRouteEnum.API_TEST_MANAGEMENT, { tab: 'case', view: props.type, + pId: props.project, }); } diff --git a/frontend/src/views/workbench/components/bugTable.vue b/frontend/src/views/workbench/components/bugTable.vue index 52c2991285..dbaa4a3f26 100644 --- a/frontend/src/views/workbench/components/bugTable.vue +++ b/frontend/src/views/workbench/components/bugTable.vue @@ -259,6 +259,7 @@ function goBugList() { openNewPage(BugManagementRouteEnum.BUG_MANAGEMENT_INDEX, { view: props.type, + pId: props.project, }); } diff --git a/frontend/src/views/workbench/components/caseReviewTable.vue b/frontend/src/views/workbench/components/caseReviewTable.vue index c825c79af8..65b57e360d 100644 --- a/frontend/src/views/workbench/components/caseReviewTable.vue +++ b/frontend/src/views/workbench/components/caseReviewTable.vue @@ -187,6 +187,7 @@ function goCaseReview() { openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW, { view: props.type, + pId: props.project, }); } diff --git a/frontend/src/views/workbench/components/scenarioCaseTable.vue b/frontend/src/views/workbench/components/scenarioCaseTable.vue index 466da694dd..a8e7b20fa8 100644 --- a/frontend/src/views/workbench/components/scenarioCaseTable.vue +++ b/frontend/src/views/workbench/components/scenarioCaseTable.vue @@ -248,6 +248,7 @@ function goScenario() { openNewPage(ApiTestRouteEnum.API_TEST_SCENARIO, { view: props.type, + pId: props.project, }); } diff --git a/frontend/src/views/workbench/components/testCaseTable.vue b/frontend/src/views/workbench/components/testCaseTable.vue index 1101a7f06f..1e216323cb 100644 --- a/frontend/src/views/workbench/components/testCaseTable.vue +++ b/frontend/src/views/workbench/components/testCaseTable.vue @@ -231,6 +231,7 @@ openNewPage(CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, { showType: 'list', view: props.type, + pId: props.project, }); } diff --git a/frontend/src/views/workbench/components/testPlanTable.vue b/frontend/src/views/workbench/components/testPlanTable.vue index 7302306e82..6cd826f320 100644 --- a/frontend/src/views/workbench/components/testPlanTable.vue +++ b/frontend/src/views/workbench/components/testPlanTable.vue @@ -280,6 +280,7 @@ openNewPage(TestPlanRouteEnum.TEST_PLAN_INDEX, { showType: showType.value, view: props.type, + pId: props.project, }); }