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