From 22590c157770ab1ab6da04a4388fbe06b640a7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Mon, 4 Mar 2024 14:01:25 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.10.1.2402.01-=E4=B8=AA=E7=A8=8E-?= =?UTF-8?q?=E4=B8=AA=E7=A8=8E=E7=94=B3=E6=8A=A5=E7=BA=BF=E4=B8=8B=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E7=BC=93=E5=AD=98=E5=AF=B9=E6=AF=94=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=9A=84=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/declareOnlineComparison/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/declareOnlineComparison/index.js b/pc4mobx/hrmSalary/pages/declareOnlineComparison/index.js index 7cf297a2..9a5b9560 100644 --- a/pc4mobx/hrmSalary/pages/declareOnlineComparison/index.js +++ b/pc4mobx/hrmSalary/pages/declareOnlineComparison/index.js @@ -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(); };