this.setState({ captcha })}/>
-
);
}
-}
+}
\ No newline at end of file
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
index d8c4b744..f6d8098d 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regression.js
@@ -88,7 +88,13 @@ class Regression extends Component {
});
break;
case "export":
- const url = `/api/bs/hrmsalary/welfare/recession/export?${convertToUrlString(_.pick(this.props, ["billMonth", "paymentOrganization", "creator"]))}`;
+ const extraParams = {
+ name,
+ workcode,
+ departmentIds: this.regTopRef.state.departmentIds,
+ subCompanyIds: this.regTopRef.state.subCompanyIds
+ };
+ const url = `/api/bs/hrmsalary/welfare/recession/export?${convertToUrlString({ ..._.pick(this.props, ["billMonth", "paymentOrganization", "creator"]), ...extraParams })}`;
window.open(url, "_blank");
break;
case "search":
@@ -152,4 +158,4 @@ class Regression extends Component {
}
}
-export default Regression;
+export default Regression;
\ No newline at end of file