fix(项目管理): 修复消息通知跳转功能用例详情页面不对问题以及跳转后无法返回问题

--bug=1040554 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001040554
This commit is contained in:
guoyuqi 2024-05-11 10:49:03 +08:00 committed by Craftsman
parent 07891ec365
commit d0a89a6439
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@
:is-edit="isEdit" :is-edit="isEdit"
has-breadcrumb has-breadcrumb
:hide-continue="!isEdit" :hide-continue="!isEdit"
:handle-back="backToTable"
@save="saveHandler" @save="saveHandler"
@save-and-continue="saveHandler(true)" @save-and-continue="saveHandler(true)"
> >
@ -136,6 +137,12 @@
} }
} }
function backToTable() {
router.push({
name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE,
});
}
// //
function saveHandler(isContinue = false, isReview = false) { function saveHandler(isContinue = false, isReview = false) {
const { caseFormRef, formRef, fApi } = caseModuleDetailRef.value; const { caseFormRef, formRef, fApi } = caseModuleDetailRef.value;