关联人员分页的问题
This commit is contained in:
parent
20c49b92d8
commit
8f1b7ae7c1
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue