From c9799d2333d51d43189125499cb3b021b53102e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 29 Mar 2022 13:26:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzzqyj/step5.vue | 39 ++----------------- 1 file changed, 4 insertions(+), 35 deletions(-) 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({