From 4f2ee3f62204dca49d221f9610b2ee01fa8ebabc Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Tue, 30 Apr 2024 09:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8C=96=E5=8D=8F=E4=BC=9A=E5=85=A5=E4=BC=9A?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=20=E7=AC=AC=E4=BA=8C=E4=B8=AA=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E4=B8=8D=E6=B6=89=E5=8F=8A=20=E4=B8=8D=E5=AF=B9?= =?UTF-8?q?=E5=85=A5=E4=BC=9A=E4=BA=BA=E5=91=98=E8=BF=9B=E8=A1=8C=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzhHd-rh/step2.vue | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) 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 }) } },