mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-12 05:33:48 +08:00
1、优化与完善个人中心的资料更新;2、修改员工DAO层的方法参数
This commit is contained in:
@@ -36,10 +36,10 @@ export const employeeApi = {
|
||||
return postRequest('/employee/update', params);
|
||||
},
|
||||
/**
|
||||
* 更新登录人信息
|
||||
* 更新员工个人中心信息
|
||||
*/
|
||||
updateByLogin: (params) => {
|
||||
return postRequest('/employee/update/login', params);
|
||||
updateCenter: (params) => {
|
||||
return postRequest('/employee/update/center', params);
|
||||
},
|
||||
/**
|
||||
* 更新登录人头像
|
||||
@@ -77,21 +77,18 @@ export const employeeApi = {
|
||||
updateEmployeePassword: (param) => {
|
||||
return postEncryptRequest('/employee/update/password', param);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取密码复杂度
|
||||
*/
|
||||
getPasswordComplexityEnabled: () => {
|
||||
return getRequest('/employee/getPasswordComplexityEnabled');
|
||||
},
|
||||
|
||||
/**
|
||||
* 更新员工禁用状态
|
||||
*/
|
||||
updateDisabled: (employeeId) => {
|
||||
return getRequest(`/employee/update/disabled/${employeeId}`);
|
||||
},
|
||||
|
||||
/**
|
||||
* 查询员工-根据部门id
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user