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() {