用户删除api修改

This commit is contained in:
yulixing 2019-07-18 20:25:11 +08:00
parent d7cdb1a889
commit 049e8f46a2
3 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,9 @@ export function delUser(data) {
return request({
url: `/ldap-user-manage/${id}/`,
method: 'delete',
data: {
o: 'pop-sys'
}
})
}

View File

@ -66,7 +66,6 @@
<el-button
type="text"
style="width:100%;margin-bottom:30px;"
@click.native.prevent="handleregister"
>
<router-link to="/register">没有账号 去注册</router-link>
</el-button>

View File

@ -47,7 +47,7 @@ module.exports = {
},
},
[process.env.VUE_APP_LDAP_API]: {
target: `https://ops.kingsome.cn/api`,
target: `http://192.168.100.206:8000/api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_LDAP_API]: '',