项目合规评估流程-项目手机端页面

This commit is contained in:
shenyanpei
2021-12-24 16:52:49 +08:00
parent 182fb7097d
commit bcbdf94779
@@ -375,27 +375,28 @@ export default {
this.listForm.jgUser = data[0].name this.listForm.jgUser = data[0].name
} }
} else { } else {
changeAssigneeNew({ if (data.length > 0) {
taskId: this.$route.query.taskIds, // 任务id changeAssigneeNew({
assignee: data[0].id, // 被委托人 taskId: this.$route.query.taskIds, // 任务id
userId: this.$store.getters.userInfo.userId, // 委托人 assignee: data[0].id, // 委托人
pId: this.$route.query.prcId // 流程实例 userId: this.$store.getters.userInfo.userId, // 委托人
}).then(res => { pId: this.$route.query.prcId // 流程实例
this.isTransfer = false }).then(res => {
if (res.success) { this.isTransfer = false
this.$message.success('调整成功') if (res.success) {
this.$router.push("/processCenter"); this.$message.success('调整成功')
this.processNum() this.$router.push("/processCenter");
} else { this.processNum()
this.$message.warning(res.message) } else {
} this.$message.warning(res.message)
}) }
})
}
} }
}, },
}, },
mounted() { mounted() {
this.getData(); this.getData();
this.getTree();
} }
}; };
</script> </script>