This commit is contained in:
宋伟佳
2022-01-04 09:09:02 +08:00
parent 674b330e22
commit 305ce2ea1b
@@ -903,30 +903,34 @@ export default {
standList.push(item); standList.push(item);
} }
}); });
this.listForm.breakdownList = standList; if(standList.length < 1){
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId; this.$message.warning('请选择落实人')
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId; }else{
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account; this.listForm.breakdownList = standList;
this.listForm.zrUserId = this.$store.getters.userInfo.userId; this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
this.listForm.commentText = this.commentText; this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
this.listForm.approvalOpinion = ""; this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
this.listForm.signFlag = ""; this.listForm.zrUserId = this.$store.getters.userInfo.userId;
const json = JSON.stringify(this.listForm.breakdownList); this.listForm.commentText = this.commentText;
this.isSubmit = true; this.listForm.approvalOpinion = "";
this.$http.post("lawss/activiti/completeTask", { this.listForm.signFlag = "";
taskIds: this.taskIds, const json = JSON.stringify(this.listForm.breakdownList);
userId: this.userId, this.isSubmit = true;
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 => {
});
}
} }
}, },
drawerCheck(data) { drawerCheck(data) {