|
@@ -369,7 +369,7 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- var url = "/api/System/DelDepartment"
|
|
|
+ var url = "/api/System/PostUserDelById"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -390,7 +390,7 @@ export default {
|
|
|
});
|
|
|
that.Department();
|
|
|
} else {
|
|
|
- that.$message.error("删除失败,请稍后重试");
|
|
|
+ that.$message.error(res.data.msg);
|
|
|
}
|
|
|
})
|
|
|
|