diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollGrant/index.js b/pc4mobx/hrmSalary/pages/payroll/payrollGrant/index.js index 6bf91113..f20f1570 100644 --- a/pc4mobx/hrmSalary/pages/payroll/payrollGrant/index.js +++ b/pc4mobx/hrmSalary/pages/payroll/payrollGrant/index.js @@ -5,7 +5,7 @@ import { WeaDropdown, WeaHelpfulTip, WeaTab, WeaTop } from "ecCom"; import { Button, Dropdown, Menu, message } from "antd"; import "./index.less"; import { getQueryString } from "../../../util/url"; -import { getSearchs } from "../../../util"; +import { getSearchs, renderLoading } from "../../../util"; import CustomPaginationTable from "../../../components/customPaginationTable"; import PayrollPartTable from "./payrollPartTable"; @@ -56,7 +56,9 @@ export default class PayrollGrant extends React.Component { }).then(() => { getInfoList({ salarySendId: this.state.currentId, - isGranted: selectedKey !== "0" + isGranted: selectedKey !== "0", + current: this.pageInfo.current, + pageSize: this.pageInfo.pageSize }); this.handleClose(); }); @@ -73,7 +75,10 @@ export default class PayrollGrant extends React.Component { }).then(() => { getInfoList({ salarySendId: currentId, - isGranted: selectedKey !== "0" + isGranted: selectedKey !== "0", + current: this.pageInfo.current, + pageSize: this.pageInfo.pageSize + }); this.handleClose(); }); @@ -466,23 +471,26 @@ export default class PayrollGrant extends React.Component {