From ec72ec55f34a2b6ccfc882e689983cf91daaa6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 15 Apr 2022 17:31:05 +0800 Subject: [PATCH] =?UTF-8?q?52601=20=E3=80=90=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E3=80=91=E4=BC=81=E6=A0=87=E5=BA=9F=E6=AD=A2=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=20=E5=AE=A1=E5=AE=9A=E8=8A=82=E7=82=B9=20=E7=AC=AC6=E6=AD=A5?= =?UTF-8?q?=20=E7=82=B9=E5=90=8C=E6=84=8F=E6=B2=A1=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/qbfz/step6.vue | 42 ++++++++----------- 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/src/pages/processCenter/pages/phone/qbfz/step6.vue b/src/pages/processCenter/pages/phone/qbfz/step6.vue index 43c463069..91306a699 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step6.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step6.vue @@ -251,31 +251,25 @@ export default { }, //流程提交 handleSubmit() { - this.$refs['qbfsForm'].validate((valid) => { - if (valid) { - this.isSubmit = true; - this.qbfsForm.commentText = this.commentText; - this.qbfsForm.sdFlag = '0' - this.qbfsForm.dataList = this.dataList; - let json = JSON.stringify(this.qbfsForm); - this.$http.post("lawss/activiti/completeTask", { - taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.account, - json: json - }, { - _this: this - }, res => { - if (res.success) { - this.$message.success(res.message); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }, e => { - }); - }else{ - this.$message.warning('请完善基础信息') + this.isSubmit = true; + this.qbfsForm.commentText = this.commentText; + this.qbfsForm.sdFlag = '0' + this.qbfsForm.dataList = this.dataList; + let json = JSON.stringify(this.qbfsForm); + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.$route.query.taskIds, + userId: this.$store.getters.userInfo.account, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); } - }) + this.isSubmit = false; + }, e => { + }); }, handleTabs(name) {