hotfix/2.9.42311.02
This commit is contained in:
parent
f4574570d9
commit
373b0aad56
|
|
@ -9,6 +9,7 @@ import { Button } from "antd";
|
||||||
import { WeaCheckbox, WeaInputSearch, WeaLocaleProvider } from "ecCom";
|
import { WeaCheckbox, WeaInputSearch, WeaLocaleProvider } from "ecCom";
|
||||||
import SalaryCalcOcList from "./components/salaryCalcOcList";
|
import SalaryCalcOcList from "./components/salaryCalcOcList";
|
||||||
import SalaryCalcOcImport from "./components/salaryCalcOcImport";
|
import SalaryCalcOcImport from "./components/salaryCalcOcImport";
|
||||||
|
import { convertToUrlString } from "../../../util/url";
|
||||||
import Layout from "../doCalc/layout";
|
import Layout from "../doCalc/layout";
|
||||||
import "./index.less";
|
import "./index.less";
|
||||||
|
|
||||||
|
|
@ -34,8 +35,12 @@ class Index extends Component {
|
||||||
};
|
};
|
||||||
|
|
||||||
handleExportClick = () => {
|
handleExportClick = () => {
|
||||||
|
const { form: { onlyDiffEmployee, onlyDiffSalaryItem } } = this.state;
|
||||||
const { routeParams: { salaryAcctRecordId } } = this.props;
|
const { routeParams: { salaryAcctRecordId } } = this.props;
|
||||||
window.open(`/api/bs/hrmsalary/salaryacct/comparisonresult/export?salaryAcctRecordId=${salaryAcctRecordId}`, "_blank");
|
const payload = {
|
||||||
|
salaryAcctRecordId, onlyDiffEmployee, onlyDiffSalaryItem
|
||||||
|
};
|
||||||
|
window.open(`/api/bs/hrmsalary/salaryacct/comparisonresult/export?${convertToUrlString(payload)}`, "_blank");
|
||||||
};
|
};
|
||||||
handleImportClick = () => {
|
handleImportClick = () => {
|
||||||
const { routeParams: { salaryAcctRecordId } } = this.props;
|
const { routeParams: { salaryAcctRecordId } } = this.props;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue