前后端导出数据功能调试

This commit is contained in:
zhangtao
2024-12-12 19:43:03 +08:00
parent dd7f2b0a46
commit fda2b07b54
12 changed files with 228 additions and 129 deletions
+10 -5
View File
@@ -24,10 +24,15 @@ export function deleteLog(query) {
});
}
export function exportLog(body) {
export function exportLog(query) {
return request({
url: "/api/v1/system/log/export",
method: "post",
data: body,
});
url: '/api/v1/system/log/export',
method: 'post',
data: query,
responseType: 'blob',
// headers: {
// 'Content-Type': 'application/json',
// 'Accept': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
// }
})
}