From 9bf048850674cce4a5bc63de5be641effe24d0d7 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 18 Nov 2024 18:28:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E5=90=84?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=B7=B3=E8=BD=AC=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/components/management/case/caseTable.vue | 2 +- .../src/views/api-test/scenario/components/scenarioTable.vue | 2 +- frontend/src/views/bug-management/index.vue | 2 +- .../caseManagementFeature/components/caseTable.vue | 2 +- .../case-management/caseReview/components/index/reviewTable.vue | 2 +- frontend/src/views/test-plan/testPlan/components/planTable.vue | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/case/caseTable.vue b/frontend/src/views/api-test/management/components/management/case/caseTable.vue index ad8b469e68..21dd51cda9 100644 --- a/frontend/src/views/api-test/management/components/management/case/caseTable.vue +++ b/frontend/src/views/api-test/management/components/management/case/caseTable.vue @@ -1190,7 +1190,7 @@ onBeforeMount(() => { if (route.query.view) { - setAdvanceFilter({}, route.query.view as string); + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } }); diff --git a/frontend/src/views/api-test/scenario/components/scenarioTable.vue b/frontend/src/views/api-test/scenario/components/scenarioTable.vue index c1a675c44d..f189d949d0 100644 --- a/frontend/src/views/api-test/scenario/components/scenarioTable.vue +++ b/frontend/src/views/api-test/scenario/components/scenarioTable.vue @@ -1654,7 +1654,7 @@ onBeforeMount(() => { cacheStore.clearCache(); if (route.query.view) { - setAdvanceFilter({}, route.query.view as string); + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } if (!isActivated.value) { diff --git a/frontend/src/views/bug-management/index.vue b/frontend/src/views/bug-management/index.vue index c4400637f0..5510207251 100644 --- a/frontend/src/views/bug-management/index.vue +++ b/frontend/src/views/bug-management/index.vue @@ -868,7 +868,7 @@ // 进入页面时检查当前项目轮训状态 checkSyncStatus(); if (route.query.view) { - setAdvanceFilter({}, route.query.view as string); + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } }); diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index b4556eefbb..ee4613bbb1 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -1853,7 +1853,7 @@ showType.value = route.query.showType as ShowType; } if (route.query.view) { - setAdvanceFilter({}, route.query.view as string); + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } mountedLoad(); diff --git a/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue b/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue index c694679c37..a1f4ae57a2 100644 --- a/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue +++ b/frontend/src/views/case-management/caseReview/components/index/reviewTable.vue @@ -790,7 +790,7 @@ onBeforeMount(() => { if (route.query.view) { - setAdvanceFilter({}, route.query.view as string); + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } if (!isActivated.value) { diff --git a/frontend/src/views/test-plan/testPlan/components/planTable.vue b/frontend/src/views/test-plan/testPlan/components/planTable.vue index 59b3f45a15..ed16b63485 100644 --- a/frontend/src/views/test-plan/testPlan/components/planTable.vue +++ b/frontend/src/views/test-plan/testPlan/components/planTable.vue @@ -1680,6 +1680,7 @@ showType.value = route.query.showType as testPlanTypeEnum; } if (route.query.view) { + setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string); viewName.value = route.query.view as string; } fetchData();