liu
2026-08-21 e47bc9e53ed3d64016c1e0db67d280e63b367e07
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import type { HrmEmployeeApi } from '../index';
 
import { requestClient } from '#/api/request';
 
/** 查询教育经历列表 */
export function getEducationListByEmployeeId(employeeId: number) {
  return requestClient.get<HrmEmployeeApi.Education[]>(
    `/hrm/employee/education/list?employeeId=${employeeId}`,
  );
}
 
/** 新增教育经历 */
export function createEducation(data: HrmEmployeeApi.Education) {
  return requestClient.post('/hrm/employee/education/create', data);
}
 
/** 更新教育经历 */
export function updateEducation(data: HrmEmployeeApi.Education) {
  return requestClient.put('/hrm/employee/education/update', data);
}
 
/** 删除教育经历 */
export function deleteEducation(id: number) {
  return requestClient.delete(`/hrm/employee/education/delete?id=${id}`);
}