变更数据中心导出功能添加
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user