Commit fee931c8 authored by 张俊's avatar 张俊

移除组织用户

parent 2740cfdd
......@@ -264,19 +264,17 @@ export default {
},
delete_data(val) {
this.$http
.post(`/apaas/backmgt/user/delete`, {
id: [val.user_id],
})
.put(`/apaas/backmgt/user/removeOri?user_id=${val.user_id}`)
.then(({ data }) => {
if (data.success == 1) {
this.$message({
message: `${val.user_name}成功`,
message: `${val.user_name}成功`,
type: "success",
});
this.get_list();
} else {
this.$message({
message: `${val.user_name}失败`,
message: `${val.user_name}失败`,
type: "warning",
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment