From 93a1885f9e5aeb6cb338dae509c58c83d43d333a Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 6 Mar 2024 13:33:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E8=AF=A6=E6=83=85=E5=85=B3?= =?UTF-8?q?=E8=81=94=E9=A1=B5=E9=9D=A2=E6=90=9C=E7=B4=A2=E6=A1=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036834 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036834 --bug=1036792 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036792 --- .../components/tabContent/tabBug/tabDefect.vue | 17 ++++++++++++++++- .../tabContent/tabCase/tabCaseTable.vue | 2 +- .../components/tabContent/tabCaseReview.vue | 2 +- .../components/tabContent/tabDemand/demand.vue | 2 +- .../tabContent/tabDependency/tabDependency.vue | 2 +- .../caseManagementFeature/locale/en-US.ts | 1 + .../caseManagementFeature/locale/zh-CN.ts | 1 + 7 files changed, 22 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue index f6b2c706a3..8a4a8e6acb 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabBug/tabDefect.vue @@ -27,8 +27,11 @@ @@ -270,6 +273,18 @@ featureCaseStore.getCaseCounts(props.caseId); } } + async function resetFetch() { + if (showType.value === 'link') { + setLinkListParams({ keyword: '', projectId: appStore.currentProjectId, caseId: props.caseId }); + await loadLinkList(); + const { msPagination } = linkPropsRes.value; + featureCaseStore.setListCount(featureCaseStore.activeTab, msPagination?.total || 0); + } else { + setTestPlanListParams({ keyword: '', projectId: appStore.currentProjectId, caseId: props.caseId }); + await testPlanLinkList(); + featureCaseStore.getCaseCounts(props.caseId); + } + } const cancelLoading = ref(false); // 取消关联 async function cancelLink(id: string) { diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue index f4e8e0afdc..741c0efdf9 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabCase/tabCaseTable.vue @@ -11,7 +11,7 @@ {{ t('caseManagement.featureCase.caseReviewList') }}