From a6dd2b18f4e8e84225bedef7ccf9c98fa77c6d52 Mon Sep 17 00:00:00 2001 From: luofann Date: Mon, 23 Sep 2024 21:13:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BA=8C=E6=AC=A1=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E5=BC=B9=E5=B1=82=E4=BA=A4=E4=BA=92=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20-story=3D119817007=20#=20Reviewed,=20transaction=20id:=20191?= =?UTF-8?q?67?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nodeConfigue/ApprovalNode.vue | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/frontend/pc/src/views/processManagement/processDesign/nodeConfigue/ApprovalNode.vue b/frontend/pc/src/views/processManagement/processDesign/nodeConfigue/ApprovalNode.vue index 88dd439b..dc3843f7 100644 --- a/frontend/pc/src/views/processManagement/processDesign/nodeConfigue/ApprovalNode.vue +++ b/frontend/pc/src/views/processManagement/processDesign/nodeConfigue/ApprovalNode.vue @@ -236,14 +236,21 @@ v-model="formInfo.is_allow_skip"> {{$t(`m['节点处理人为空时,直接跳过且不视为异常']`) }} - - {{$t(`m['审批节点最终结果为拒绝时,自动终止单据']`) }} - + + + {{$t(`m['审批节点最终结果为拒绝时,自动终止单据']`) }} + + { - this.$bkInfo({ - title: '确认取消设置?', - subTitle: '取消后,当审批人拒绝后,单据继续往下执行,请谨慎操作!', - confirmFn: () => { - resolve(true); - }, - cancelFn: () => { - resolve(false); - }, - }); - }); + if (!this.formInfo.enable_terminate_ticket_when_rejected) { + setTimeout(() => { + this.formInfo.enable_terminate_ticket_when_rejected = true; + }, 100); } - return true; + return false; }, // 确认 async submitNode() {