diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue index b8a95191c..48df85cbe 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step2.vue @@ -381,6 +381,7 @@ export default { }, // 退回按钮 handleSubmitNo() { + this.$refs['rh_pageData'].clearValidate('comityOpRoleId') if (this.commentText === '') { this.$message.warning('请输入审批意见') } else { @@ -391,22 +392,18 @@ export default { commentText: this.commentText, rh_pageData: this.rh_pageData, } - this.$refs['rh_pageData'].validate((valid) => { - if (valid) { - this.isSubmit = true - const params = new FormData(); - params.set('json', JSON.stringify(json)) - params.set('userId', this.$store.getters.userInfo.userId) - params.set('taskId', this.taskIds) - completeTask(params).then(res => { - if (res.success === true) { - this.$message.success('退回成功') - this.$router.push("/processCenter"); - } - }).finally(() => { - this.isSubmit = false - }) + this.isSubmit = true + const params = new FormData(); + params.set('json', JSON.stringify(json)) + params.set('userId', this.$store.getters.userInfo.userId) + params.set('taskId', this.taskIds) + completeTask(params).then(res => { + if (res.success === true) { + this.$message.success('退回成功') + this.$router.push("/processCenter"); } + }).finally(() => { + this.isSubmit = false }) } },