用户删除api修改
This commit is contained in:
parent
d7cdb1a889
commit
049e8f46a2
@ -31,6 +31,9 @@ export function delUser(data) {
|
|||||||
return request({
|
return request({
|
||||||
url: `/ldap-user-manage/${id}/`,
|
url: `/ldap-user-manage/${id}/`,
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
|
data: {
|
||||||
|
o: 'pop-sys'
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
style="width:100%;margin-bottom:30px;"
|
style="width:100%;margin-bottom:30px;"
|
||||||
@click.native.prevent="handleregister"
|
|
||||||
>
|
>
|
||||||
<router-link to="/register">没有账号? 去注册!</router-link>
|
<router-link to="/register">没有账号? 去注册!</router-link>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -47,7 +47,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
[process.env.VUE_APP_LDAP_API]: {
|
[process.env.VUE_APP_LDAP_API]: {
|
||||||
target: `https://ops.kingsome.cn/api`,
|
target: `http://192.168.100.206:8000/api`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_LDAP_API]: '',
|
['^' + process.env.VUE_APP_LDAP_API]: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user