|
@@ -18,7 +18,7 @@ const exportLossRecord = async (data: DisasterLossDetailQuery, name: string) =>
|
|
|
if (res.size === 0) return;
|
|
if (res.size === 0) return;
|
|
|
const blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
|
|
const blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
|
|
|
const url = window.URL.createObjectURL(blob);
|
|
const url = window.URL.createObjectURL(blob);
|
|
|
- downloadFile(url, `${name}损失明细`);
|
|
|
|
|
|
|
+ downloadFile(url, `${name}损失明细.xlsx`);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export { getTaskStage, getfixStatus, exportLossRecord };
|
|
export { getTaskStage, getfixStatus, exportLossRecord };
|