feature/2.10.1.2402.01-个税-个税申报线下对比添加导出功能以及缓存对比项目的功能开发
This commit is contained in:
parent
2a7db5f6d3
commit
22590c1577
|
|
@ -53,10 +53,11 @@ class Index extends Component {
|
|||
}, () => this.getTaxdeclarationContrastList());
|
||||
};
|
||||
handleExport = async () => {
|
||||
const { params: { taxDeclarationId } } = this.props;
|
||||
const { params: { taxDeclarationId }, payrollFilesStore: { declareTableStore } } = this.props;
|
||||
const { queryParams } = this.state;
|
||||
const columns = _.map(toJS(declareTableStore.columns), k => k.dataIndex);
|
||||
WeaLoadingGlobal.start();
|
||||
const payload = { taxDeclarationId, ...queryParams };
|
||||
const payload = { taxDeclarationId, columns, ...queryParams };
|
||||
const promise = await exportContrast(payload);
|
||||
WeaLoadingGlobal.destroy();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue