|
@@ -377,7 +377,10 @@ export function exportReportStatisticsData(datas) {
|
|
const data = pickBy(datas, paramFilter);
|
|
const data = pickBy(datas, paramFilter);
|
|
return httpApp.post(
|
|
return httpApp.post(
|
|
"/api/admin/report/exam_view_count/export?" + object2QueryString(data),
|
|
"/api/admin/report/exam_view_count/export?" + object2QueryString(data),
|
|
- {}
|
|
|
|
|
|
+ {},
|
|
|
|
+ {
|
|
|
|
+ responseType: "blob",
|
|
|
|
+ }
|
|
);
|
|
);
|
|
}
|
|
}
|
|
// report-absent
|
|
// report-absent
|
|
@@ -392,7 +395,10 @@ export function exportReportAbsentData(datas) {
|
|
const data = pickBy(datas, paramFilter);
|
|
const data = pickBy(datas, paramFilter);
|
|
return httpApp.post(
|
|
return httpApp.post(
|
|
"/api/admin/report/exam_deficiency_list/export?" + object2QueryString(data),
|
|
"/api/admin/report/exam_deficiency_list/export?" + object2QueryString(data),
|
|
- {}
|
|
|
|
|
|
+ {},
|
|
|
|
+ {
|
|
|
|
+ responseType: "blob",
|
|
|
|
+ }
|
|
);
|
|
);
|
|
}
|
|
}
|
|
// report-exception
|
|
// report-exception
|
|
@@ -438,7 +444,10 @@ export function exportReportBreachData(datas) {
|
|
const data = pickBy(datas, paramFilter);
|
|
const data = pickBy(datas, paramFilter);
|
|
return httpApp.post(
|
|
return httpApp.post(
|
|
"/api/admin/report/exam_breach_list/export?" + object2QueryString(data),
|
|
"/api/admin/report/exam_breach_list/export?" + object2QueryString(data),
|
|
- {}
|
|
|
|
|
|
+ {},
|
|
|
|
+ {
|
|
|
|
+ responseType: "blob",
|
|
|
|
+ }
|
|
);
|
|
);
|
|
}
|
|
}
|
|
// report-cancel-breach
|
|
// report-cancel-breach
|