Commit a8e05f88 by lixiaomin

修改用户启用状态

parent adb113c1
......@@ -58,15 +58,15 @@ export function resetUserPwd(userId, password) {
}
// 用户状态修改
export function changeUserStatus(query) {
export function changeUserStatus(data) {
// const data = {
// userId,
// status
// }
return request({
url: '/system/user/changeStatus',
method: 'get',
params: query
method: 'put',
data: data
})
}
......
......@@ -243,7 +243,7 @@ export default {
this.$modal
.confirm('是否确认' + mess + '该数据项?')
.then(function () {
return changeUserStatus({id:row.userId,status:sta});
return changeUserStatus({userId:row.userId,status:sta});
})
.then((response) => {
if(response.code="200"){
......
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