|
|
@ -192,8 +192,19 @@ const EmployeeCommunication = (props) => { |
|
|
|
} |
|
|
|
|
|
|
|
const exportAllData = () => { |
|
|
|
dispatch(humanAffairs.getEmployeeCommunicate({ limit: 1, page: 0 })).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
if (res.payload.data.count) { |
|
|
|
let url = `export/employee/communicate?token=${user.token}×tamp=${moment().valueOf()}` |
|
|
|
setExportUrl(url); |
|
|
|
} else { |
|
|
|
Toast.info({ |
|
|
|
content: '暂无可导出的数据', |
|
|
|
duration: 3, |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
const scroll = useMemo(() => ({}), []); |
|
|
|
return (<div style={{ padding: '0px 12px' }}> |
|
|
|