diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue index 0533d6b01..b83cd4a39 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue @@ -918,22 +918,34 @@ export default { if (valid) { this.$refs["roleForm"].validate((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, userId: this.$store.getters.userInfo.userId, json: JSON.stringify(json), + specialJson: JSON.stringify(specialJson) }, { _this: this }, res => { if (res.success) { this.$message.success(res.message); - if (this.bpnId !== '') { + if (this.bpnId !== "") { let taskId = { id: this.bpnId - } - taskDel(taskId).then(res=>{ - return res - }) + }; + taskDel(taskId).then(res => { + return res; + }); } this.$router.push("/processCenter"); }