diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index 1f35a9bb8..c353e724b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -576,6 +576,7 @@ } }, handleSubmit() { + if(this.clickFlag){ let a = 0 for (let b = 0; b < this.data.length;b++) { if (this.data[b].state === '3' && !this.data[b].cause) { @@ -605,42 +606,10 @@ } this.isSubmit = false; }); + }else{ + this.$message.warning('公开征求意见未结束,无法操作') + } }, - // handleSubmit() { - // if(this.clickFlag){ - // let a = 0 - // for (let b = 0; b < this.data.length;b++) { - // if (this.data[b].state === '3' && !this.data[b].cause) { - // a++ - // } - // if(!this.data[b].sourceType){ - // this.data[b].sourceType = '定向' - // } - // } - // if (a > 0) { - // this.$message.warning('请输入不上报原因') - // return; - // } - // this.isSubmit = true; - // var json = this.json; - // json.oldinfo = this.oldData; - // json.commentText = this.commentText5; - // json.introduce = true; - // this.$http.post("lawss/activiti/completeTask", { - // json: JSON.stringify(json), - // taskId: this.taskIds, - // userId: this.$store.getters.userInfo.userId - // }, {}, res => { - // if (res.success) { - // this.$message.success("提交成功"); - // this.$router.push("/processCenter"); - // } - // this.isSubmit = false; - // }); - // }else{ - // this.$message.warning('公开征求意见未结束,无法操作') - // } - // }, getData() { return new Promise((resolve, reject) => { inboundLiaisonDetail({