|
@@ -220,7 +220,10 @@
|
|
|
|
|
|
|
|
const handleDownload = async () => {
|
|
const handleDownload = async () => {
|
|
|
try {
|
|
try {
|
|
|
- const response = await exportAreaCheckPlanList(tableQuery.queryParam);
|
|
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ ...tableQuery.queryParam,
|
|
|
|
|
+ }
|
|
|
|
|
+ const response = await exportAreaCheckPlanList(params);
|
|
|
if (response) {
|
|
if (response) {
|
|
|
const fileName = `区域检查计划管理_${new Date().toISOString().split('T')[0]}.xlsx`;
|
|
const fileName = `区域检查计划管理_${new Date().toISOString().split('T')[0]}.xlsx`;
|
|
|
downloadByData(response, fileName);
|
|
downloadByData(response, fileName);
|