feat: 【ele】岗位管理新增批量删除

This commit is contained in:
puhui999
2025-06-16 21:16:29 +08:00
parent 3d331d7fcc
commit 842404d5b9
3 changed files with 74 additions and 24 deletions

View File

@@ -50,6 +50,11 @@ export function deletePost(id: number) {
return requestClient.delete(`/system/post/delete?id=${id}`);
}
/** 批量删除岗位 */
export function deletePostList(ids: number[]) {
return requestClient.delete(`/system/post/delete-list?ids=${ids.join(',')}`);
}
/** 导出岗位 */
export function exportPost(params: any) {
return requestClient.download('/system/post/export', {