| | |
| | | return request({
|
| | | url: '/system/user/profile/updatePwd',
|
| | | method: 'put',
|
| | | params: data
|
| | | data: data
|
| | | })
|
| | | }
|
| | |
|
| | |
| | | return request({
|
| | | url: '/system/user/profile/avatar',
|
| | | method: 'post',
|
| | | headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
| | | data: data
|
| | | })
|
| | | }
|
| | |
| | | params: data
|
| | | })
|
| | | }
|
| | |
|
| | | // 查询部门下拉树结构
|
| | | export function deptTreeSelect() {
|
| | | return request({
|
| | | url: '/system/user/deptTree',
|
| | | method: 'get'
|
| | | })
|
| | | }
|
| | | // 查询用户列表
|
| | | export function userListNoPage() {
|
| | | return request({
|
| | | url: '/system/user/userListNoPage',
|
| | | method: 'get'
|
| | | })
|
| | | }
|
| | | // 部门列表
|
| | | export function userLoginFacotryList(params) {
|
| | | return request({
|
| | | url: '/userLoginFacotryList',
|
| | | method: 'get',
|
| | | params: params
|
| | | })
|
| | | }
|