feat: 部门管理新增导出

This commit is contained in:
2024-04-11 19:51:42 +08:00
parent 5869c34abb
commit 4d34979973
2 changed files with 13 additions and 2 deletions

View File

@@ -27,3 +27,8 @@ export function updateDept(data: any, id: string) {
export function deleteDept(id: string) {
return http.del(`${BASE_URL}/${id}`)
}
/** @desc 导出部门 */
export function exportDept(query: System.DeptQuery) {
return http.download<any>(`${BASE_URL}/export`, query)
}