From d0a89a643984290e8be0216c4f5405c91f39e413 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Sat, 11 May 2024 10:49:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=AF=B9=E9=97=AE=E9=A2=98=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E8=B7=B3=E8=BD=AC=E5=90=8E=E6=97=A0=E6=B3=95=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1040554 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001040554 --- .../caseManagementFeature/components/caseDetail.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseDetail.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseDetail.vue index b8db7441d7..3e6f26306a 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseDetail.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseDetail.vue @@ -5,6 +5,7 @@ :is-edit="isEdit" has-breadcrumb :hide-continue="!isEdit" + :handle-back="backToTable" @save="saveHandler" @save-and-continue="saveHandler(true)" > @@ -136,6 +137,12 @@ } } + function backToTable() { + router.push({ + name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, + }); + } + // 保存 function saveHandler(isContinue = false, isReview = false) { const { caseFormRef, formRef, fApi } = caseModuleDetailRef.value;