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 === '[]'){ if(item.zrbm === '[]'){
item.zrbm = '' item.zrbm = ''
} }
this.$set(item, 'standId', item.id)
}) })
}); });
}, },
@@ -972,24 +973,28 @@ export default {
}, },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
this.isSubmit = true; if(this.qdform.detailPeople === undefined){
this.qdform.commentText = this.commentText; this.$message.warning('请选择确认人')
this.qdform.dataList = this.dataList }else{
const json = JSON.stringify(this.qdform); this.isSubmit = true;
this.$http.post("lawss/activiti/completeTask", { this.qdform.commentText = this.commentText;
taskIds: this.taskIds, this.qdform.dataList = this.dataList
userId: this.userId, const json = JSON.stringify(this.qdform);
json: json this.$http.post("lawss/activiti/completeTask", {
}, { taskIds: this.taskIds,
_this: this userId: this.userId,
}, res => { json: json
if (res.success) { }, {
this.$message.success(res.message); _this: this
this.$router.push("/processCenter"); }, res => {
} if (res.success) {
this.isSubmit = false; this.$message.success(res.message);
}, e => { this.$router.push("/processCenter");
}); }
this.isSubmit = false;
}, e => {
});
}
}, },
addList() { addList() {
this.searchLawBtn() this.searchLawBtn()