关联人员分页的问题

This commit is contained in:
黎永顺 2023-03-27 14:03:26 +08:00
parent 20c49b92d8
commit 8f1b7ae7c1
2 changed files with 10 additions and 0 deletions

View File

@ -97,7 +97,15 @@ class PersonalScopeTable extends Component {
...pageInfo,
showTotal: total => `${total}`,
showQuickJumper: true,
showSizeChanger: true,
pageSizeOptions: ["10", "20", "50", "100"],
onShowSizeChange: (current, pageSize) => {
this.setState({
pageInfo: { ...pageInfo, current, pageSize }
}, () => {
this.getPersonalScopeList();
});
},
onChange: current => {
this.setState({
pageInfo: { ...pageInfo, current }

View File

@ -133,6 +133,8 @@ export default class SlideTaxagentUser extends React.Component {
const pagination = {
total: pageObj.total,
showTotal: total => `${total}`,
pageSizeOptions: ["10", "20", "50", "100"],
showQuickJumper: true,
showSizeChanger: true,
onShowSizeChange: (current, pageSize) => {
setPageObj &&