变更数据中心导出功能添加

This commit is contained in:
2026-09-29 16:40:28 +08:00
parent f671337bc7
commit bd7cad2740
2 changed files with 45 additions and 12 deletions
+10
View File
@@ -47,6 +47,16 @@ export function changeDataCenterApi(params: {from: string | null, to: string | n
});
}
// 变更数据中心导出
export function exportChangeDataCenterApi(params: {from: string | null, to: string | null}) {
return request({
url: `/api/reports/data-center/export`,
method: 'get',
params,
responseType: 'blob', // 重点,responseType设置为 blob
});
}
// 安全与风险统计
export function safeRiskStatisticsApi(params: {from: string | null, to: string | null}) {
return request({