标准评估流程整改

This commit is contained in:
宋伟佳
2022-02-07 15:53:47 +08:00
parent 61ba03c74e
commit 3d36948e9b
@@ -918,22 +918,34 @@ export default {
if (valid) { if (valid) {
this.$refs["roleForm"].validate((valid) => { this.$refs["roleForm"].validate((valid) => {
if (valid) { if (valid) {
this.$http.post("lawss/activiti/completeTask", { let specialJson = {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: "5",
json: {
taskInfo: "选择已拆分标准",
form: this.listForm,
roleForm: this.roleForm,
commentText: this.commentText
}
};
this.$http.post("lawss/activiti/completeTaskNew", {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
json: JSON.stringify(json), json: JSON.stringify(json),
specialJson: JSON.stringify(specialJson)
}, { }, {
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message); this.$message.success(res.message);
if (this.bpnId !== '') { if (this.bpnId !== "") {
let taskId = { let taskId = {
id: this.bpnId id: this.bpnId
} };
taskDel(taskId).then(res=>{ taskDel(taskId).then(res => {
return res return res;
}) });
} }
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }