diff --git a/src/api/system/user.ts b/src/api/system/user.ts index dac3b84..a40fb7d 100644 --- a/src/api/system/user.ts +++ b/src/api/system/user.ts @@ -1,5 +1,5 @@ import request from '../index' -import qs from 'qs' +// import qs from 'qs' const prefix = 'sys/' // 修改密码 export function changePwd(data: { oldPwd: string; newPwd: string }) { @@ -63,8 +63,8 @@ url: 'sys/mgr/roleAssign', method: 'post', data: { - userId: userId, - roleIds: ids + userId, + roleIds: ids, }, // paramsSerializer: (params) => qs.stringify(params, { indices: false }) }) diff --git a/src/api/system/user.ts b/src/api/system/user.ts index dac3b84..a40fb7d 100644 --- a/src/api/system/user.ts +++ b/src/api/system/user.ts @@ -1,5 +1,5 @@ import request from '../index' -import qs from 'qs' +// import qs from 'qs' const prefix = 'sys/' // 修改密码 export function changePwd(data: { oldPwd: string; newPwd: string }) { @@ -63,8 +63,8 @@ url: 'sys/mgr/roleAssign', method: 'post', data: { - userId: userId, - roleIds: ids + userId, + roleIds: ids, }, // paramsSerializer: (params) => qs.stringify(params, { indices: false }) }) diff --git a/src/layouts/index.vue b/src/layouts/index.vue index 0ed96c2..270f1bb 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -70,7 +70,7 @@
- + diff --git a/src/api/system/user.ts b/src/api/system/user.ts index dac3b84..a40fb7d 100644 --- a/src/api/system/user.ts +++ b/src/api/system/user.ts @@ -1,5 +1,5 @@ import request from '../index' -import qs from 'qs' +// import qs from 'qs' const prefix = 'sys/' // 修改密码 export function changePwd(data: { oldPwd: string; newPwd: string }) { @@ -63,8 +63,8 @@ url: 'sys/mgr/roleAssign', method: 'post', data: { - userId: userId, - roleIds: ids + userId, + roleIds: ids, }, // paramsSerializer: (params) => qs.stringify(params, { indices: false }) }) diff --git a/src/layouts/index.vue b/src/layouts/index.vue index 0ed96c2..270f1bb 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -70,7 +70,7 @@
- + diff --git a/src/views/system/user/list.user.vue b/src/views/system/user/list.user.vue index 85e66f6..ce1866c 100644 --- a/src/views/system/user/list.user.vue +++ b/src/views/system/user/list.user.vue @@ -230,10 +230,8 @@ 组织机构
- +
@@ -245,16 +243,12 @@ - + - + @@ -271,10 +265,8 @@ 重置密码 - + 角色分配 @@ -288,12 +280,10 @@ --> - +