From 4db6d5a4c6b48db58f25fbe97cc0363138e75ff4 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 1 Apr 2024 13:55:46 +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=84=E5=AE=A1=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E7=94=A8=E4=BE=8B=E8=B7=B3=E8=BD=AC=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1038121 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038121 --- .../caseManagementFeature/components/caseTable.vue | 4 +++- frontend/src/views/case-management/caseReview/caseDetail.vue | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index e0046d288e..f3b36d34e8 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -1231,7 +1231,9 @@ // 抽屉详情 function showCaseDetail(id: string, index: number) { - activeCaseIndex.value = index; + showDetailDrawer.value = true; + activeDetailId.value = id; + activeCaseIndex.value = index - 1; } // 创建详情 diff --git a/frontend/src/views/case-management/caseReview/caseDetail.vue b/frontend/src/views/case-management/caseReview/caseDetail.vue index 36374aac8e..2ad161f8b5 100644 --- a/frontend/src/views/case-management/caseReview/caseDetail.vue +++ b/frontend/src/views/case-management/caseReview/caseDetail.vue @@ -527,8 +527,8 @@ function goCaseDetail() { window.open( `${window.location.origin}#${ - router.resolve({ name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE_DETAIL }).fullPath - }?id=${activeCaseId.value}` + router.resolve({ name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE }).fullPath + }?id=${activeCaseId.value}&orgId=${appStore.currentOrgId}&pId=${appStore.currentProjectId}` ); }