From 614cb0ce301f7dfffb89f771723b4779d8caa8b1 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 10 十二月 2024 16:37:49 +0800 Subject: [PATCH] 流程推进页面返回页面 --- src/views/flowable/task/myProcess/send/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index ce36f2e..b235359 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -65,6 +65,7 @@ props: {}, data() { return { + goBackParams: {}, formDataList: [], // 琛ㄥ崟鍒楄〃 taskId: '', processName: '', @@ -99,6 +100,7 @@ this.taskId = this.$route.query && this.$route.query.taskId; // 鍒濆鍖栬〃鍗� this.procDefId = this.$route.query && this.$route.query.procDefId; + this.goBackParams = this.$route.query && this.$route.query.goBackParams; // this.getNextFlowNodeByStart(this.deployId); this.getFlowFormData(this.taskId); }, @@ -155,10 +157,10 @@ }, /** 杩斿洖椤甸潰 */ goBack() { - // // 鍏抽棴褰撳墠鏍囩椤靛苟杩斿洖涓婁釜椤甸潰 - // const obj = { path: "/task/process", query: { t: Date.now()} }; - // this.$tab.closeOpenPage(obj); - this.$tab.closePage() + this.$router.push({ + path: '/projectFlow/detail', + query: this.goBackParams + }) }, /** 鐢宠娴佺▼琛ㄥ崟鏁版嵁鎻愪氦 */ submitForm() { -- Gitblit v1.8.0