Commit bec488d3 authored by shenshaokai's avatar shenshaokai

fix: bugID=35955 会员导出支持跨页多选

parent 47451de2
......@@ -294,8 +294,7 @@ const MemberMaintain: React.FC<[]> = () => {
};
const _exportFunc = () => {
// console.log("rowCtl.selectedRowKeys",rowCtl.selectedRowKeys)
getMemberAbilityMaintenanceExport(exportParam, { responseType: 'blob', getResponse: true }).then(({ data, response }) => {
getMemberAbilityMaintenanceExport({ ...exportParam, validateIds: (rowCtl.selectedRowKeys || []).join() }, { responseType: 'blob', getResponse: true }).then(({ data, response }) => {
if (response.status == 200) {
const suffixName = response.headers.get('content-disposition').split('.')[1]
const fileName = `${moment().format('YYYYMMDD')}.${suffixName}`
......@@ -321,7 +320,7 @@ const MemberMaintain: React.FC<[]> = () => {
}}
columns={columns}
currentRef={ref}
// rowSelection={rowSelection}
rowSelection={rowSelection}
fetchTableData={(params: any) => {
setExportParam(params)
return fetchData(params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment