|
@@ -9,6 +9,7 @@
|
|
|
import { searchFormSchema } from './components/data.config';
|
|
|
import {
|
|
|
getTextbookIssueRecordPage,
|
|
|
+ postTextbookIssueRecordClaimRecordExportQuery,
|
|
|
postTextbookIssueRecordExportQuery,
|
|
|
} from '/@/services/apis/TextbookIssueRecordController';
|
|
|
import { downloadByData } from '/@/utils/file/download';
|
|
@@ -48,7 +49,7 @@
|
|
|
|
|
|
const handleExport1 = async () => {
|
|
|
const formData = getForm().getFieldsValue();
|
|
|
- const data = await postTextbookIssueRecordExportQuery(formData);
|
|
|
+ const data = await postTextbookIssueRecordClaimRecordExportQuery(formData);
|
|
|
downloadByData(data.data, `教材发放导出${formatToDate(new Date())}.xlsx`);
|
|
|
createMessage.success('导出成功');
|
|
|
};
|