From 828a3dc899894f5a0e2eb75f834394b941b2ec1d Mon Sep 17 00:00:00 2001 From: yxq Date: Tue, 7 Nov 2023 10:20:41 +0800 Subject: [PATCH] app --- .../LearunApp-2.2.0/pages/nworkflow/myflow/single.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue index ae15d4ac2..35264ad32 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/single.vue @@ -245,8 +245,10 @@ export default { if (success) { this.EMIT('task-list-change') this.TOAST(`成功提交${actionText}`, 'success') - if (taskType === 'revoke') { - this.NAV_BACK() + if (taskType === 'revoke' || taskType === 'refer') { + setTimeout(()=>{ + this.NAV_BACK() + },500) } } }) @@ -304,6 +306,11 @@ export default { // 点击审批相关按钮 async audit(action) { + const verifyResult = this.$refs.form.verifyValue() + if (verifyResult.length > 0) { + this.CONFIRM('表单验证失败', verifyResult.join('\n')) + return + } this.LOADING('加载中…') const currentTask = this.processInfo.task.find(t => t.F_NodeId === this.currentNode.id) const postData = await this.getPostData(this.formValue, this.scheme)