Merge branch 'hotfix/2.8.3.2307.01' into develop
# Conflicts: # pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/index.js
This commit is contained in:
commit
0159fe0647
|
|
@ -14,6 +14,7 @@ import * as API from "../../../apis/welfareArchive";
|
|||
import ImportModal from "../../../components/importModal";
|
||||
import TipLabel from "../../../components/TipLabel";
|
||||
import UnifiedTable from "../../../components/UnifiedTable";
|
||||
import { convertToUrlString } from "../../../util/url";
|
||||
import { salaryArchiveDelete } from "../../../apis/payrollFiles";
|
||||
import "./index.less";
|
||||
|
||||
|
|
@ -611,16 +612,16 @@ export default class Archives extends React.Component {
|
|||
let url = `${window.location.origin}/api/bs/hrmsalary/scheme/export?ids=`;
|
||||
switch (selectedKey) {
|
||||
case "pending":
|
||||
url = `${url}&runStatuses=1`;
|
||||
url = `${url}&runStatuses=1&${convertToUrlString(form.getFormParams())}`;
|
||||
break;
|
||||
case "fixed":
|
||||
url = `${url}&runStatuses=2,3`;
|
||||
url = `${url}&runStatuses=2,3&${convertToUrlString(form.getFormParams())}`;
|
||||
break;
|
||||
case "suspend":
|
||||
url = `${url}&runStatuses=3`;
|
||||
url = `${url}&runStatuses=3&${convertToUrlString(form.getFormParams())}`;
|
||||
break;
|
||||
default:
|
||||
url = `${url}&runStatuses=4,5`;
|
||||
url = `${url}&runStatuses=4,5&${convertToUrlString(form.getFormParams())}`;
|
||||
break;
|
||||
}
|
||||
window.open(url, "_self");
|
||||
|
|
|
|||
Loading…
Reference in New Issue