This commit is contained in:
宋伟佳
2021-12-05 19:12:23 +08:00
parent da1f05a21a
commit f30a57ee9e
@@ -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()