|
@@ -120,6 +120,9 @@
|
|
|
|
|
|
const handelExport = async () => {
|
|
|
const postData = getForm().getFieldsValue();
|
|
|
+ if (postData['leaveType']) {
|
|
|
+ postData['leaveType'] = postData['leaveType'].join(',');
|
|
|
+ }
|
|
|
const data = await postLedgerStatisticsTeacherLeaveExportQuery(postData);
|
|
|
downloadByData(data.data, `教师请假统计${formatToDateTime(new Date(), 'YYYYMMDDHHmmss')}.xlsx`);
|
|
|
};
|