This commit is contained in:
黎永顺 2022-11-25 11:08:49 +08:00
parent 9b6454bdd2
commit 7af6df0972
1 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ class Regression extends Component {
const name = this.regTopRef.state.name;
const billMonth = getQueryString("billMonth");
const creator = Number(getQueryString("creator"));
const paymentOrganization = getQueryString("paymentOrganization");
switch (key) {
case "add":
this.setState({ returnPersonModal: { ...returnPersonModal, visible: true } });
@ -90,7 +91,7 @@ class Regression extends Component {
});
break;
case "export":
const url = `${window.location.origin}/api/bs/hrmsalary/welfare/recession/export?creator=${creator}&billMonth=${billMonth}`;
const url = `${window.location.origin}/api/bs/hrmsalary/welfare/recession/export?creator=${creator}&billMonth=${billMonth}&paymentOrganization=${paymentOrganization}`;
window.open(url, "_self");
break;
case "search":