diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue index 62939e368..2b3f21e79 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue @@ -934,6 +934,7 @@ export default { if(item.zrbm === '[]'){ item.zrbm = '' } + this.$set(item, 'standId', item.id) }) }); }, @@ -972,24 +973,28 @@ export default { }, //提交事件 handleSubmit() { - this.isSubmit = true; - this.qdform.commentText = this.commentText; - this.qdform.dataList = this.dataList - const json = JSON.stringify(this.qdform); - this.$http.post("lawss/activiti/completeTask", { - taskIds: this.taskIds, - userId: this.userId, - json: json - }, { - _this: this - }, res => { - if (res.success) { - this.$message.success(res.message); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }, e => { - }); + if(this.qdform.detailPeople === undefined){ + this.$message.warning('请选择确认人') + }else{ + this.isSubmit = true; + this.qdform.commentText = this.commentText; + this.qdform.dataList = this.dataList + const json = JSON.stringify(this.qdform); + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.taskIds, + userId: this.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }, e => { + }); + } }, addList() { this.searchLawBtn()