关联人员分页的问题
This commit is contained in:
parent
20c49b92d8
commit
8f1b7ae7c1
|
|
@ -97,7 +97,15 @@ class PersonalScopeTable extends Component {
|
||||||
...pageInfo,
|
...pageInfo,
|
||||||
showTotal: total => `共 ${total} 条`,
|
showTotal: total => `共 ${total} 条`,
|
||||||
showQuickJumper: true,
|
showQuickJumper: true,
|
||||||
|
showSizeChanger: true,
|
||||||
pageSizeOptions: ["10", "20", "50", "100"],
|
pageSizeOptions: ["10", "20", "50", "100"],
|
||||||
|
onShowSizeChange: (current, pageSize) => {
|
||||||
|
this.setState({
|
||||||
|
pageInfo: { ...pageInfo, current, pageSize }
|
||||||
|
}, () => {
|
||||||
|
this.getPersonalScopeList();
|
||||||
|
});
|
||||||
|
},
|
||||||
onChange: current => {
|
onChange: current => {
|
||||||
this.setState({
|
this.setState({
|
||||||
pageInfo: { ...pageInfo, current }
|
pageInfo: { ...pageInfo, current }
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,8 @@ export default class SlideTaxagentUser extends React.Component {
|
||||||
const pagination = {
|
const pagination = {
|
||||||
total: pageObj.total,
|
total: pageObj.total,
|
||||||
showTotal: total => `共 ${total} 条`,
|
showTotal: total => `共 ${total} 条`,
|
||||||
|
pageSizeOptions: ["10", "20", "50", "100"],
|
||||||
|
showQuickJumper: true,
|
||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
onShowSizeChange: (current, pageSize) => {
|
onShowSizeChange: (current, pageSize) => {
|
||||||
setPageObj &&
|
setPageObj &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue