From 06fe3f52045d40308bca82aba397d5820f0c9c05 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Sun, 7 Apr 2024 09:59:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=84=E5=AE=A1=E5=85=B3=E8=81=94=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E4=B8=8D=E7=AB=8B=E5=8D=B3=E5=88=B7=E6=96=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=BB=A5=E5=8F=8A=E6=8E=A5=E5=8F=A3=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E5=9B=9E=E6=94=B6=E7=AB=99=E6=8C=89=E9=92=AE=E6=96=87=E5=AD=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1038414 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038414 --- .../src/views/api-test/scenario/recycle/recycleTable.vue | 2 +- .../caseReview/components/detail/caseTable.vue | 1 - frontend/src/views/case-management/caseReview/detail.vue | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/api-test/scenario/recycle/recycleTable.vue b/frontend/src/views/api-test/scenario/recycle/recycleTable.vue index 605553b473..b35098748d 100644 --- a/frontend/src/views/api-test/scenario/recycle/recycleTable.vue +++ b/frontend/src/views/api-test/scenario/recycle/recycleTable.vue @@ -155,7 +155,7 @@ class="!mr-0" @click="deleteOperation(record)" > - {{ t('common.delete') }} + {{ t('api_scenario.recycle.batchCleanOut') }} diff --git a/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue b/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue index caa703291e..d0609bf18f 100644 --- a/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue +++ b/frontend/src/views/case-management/caseReview/components/detail/caseTable.vue @@ -648,7 +648,6 @@ async function getCaseLevelFields() { const result = await getCaseDefaultFields(appStore.currentProjectId); caseLevelFields.value = result.customFields.find((item: any) => item.internal && item.fieldName === '用例等级'); - caseFilters.value = caseLevelFields.value?.options.map((item: any) => item.text); } // 批量重新评审 diff --git a/frontend/src/views/case-management/caseReview/detail.vue b/frontend/src/views/case-management/caseReview/detail.vue index fd850f8641..229c3dbbb9 100644 --- a/frontend/src/views/case-management/caseReview/detail.vue +++ b/frontend/src/views/case-management/caseReview/detail.vue @@ -191,8 +191,7 @@ async function initDetail() { try { loading.value = true; - const res = await getReviewDetail(reviewId.value); - reviewDetail.value = res; + reviewDetail.value = await getReviewDetail(reviewId.value); } catch (error) { // eslint-disable-next-line no-console console.log(error); @@ -259,7 +258,7 @@ baseAssociateCaseRequest: params, }); Message.success(t('caseManagement.caseReview.associateSuccess')); - initDetail(); + await initDetail(); folderTreeRef.value?.initModules(); caseTableRef.value?.searchCase(); } catch (error) {