From 8f1b7ae7c1901b79683022ee02f5d54920637d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Mon, 27 Mar 2023 14:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E4=BA=BA=E5=91=98=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/components/PersonalScopeTable/index.js | 8 ++++++++ pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js | 2 ++ 2 files changed, 10 insertions(+) diff --git a/pc4mobx/hrmSalary/components/PersonalScopeTable/index.js b/pc4mobx/hrmSalary/components/PersonalScopeTable/index.js index fcb80bf7..8b38ba01 100644 --- a/pc4mobx/hrmSalary/components/PersonalScopeTable/index.js +++ b/pc4mobx/hrmSalary/components/PersonalScopeTable/index.js @@ -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 } diff --git a/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js b/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js index ab52e298..b7f3254e 100644 --- a/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js +++ b/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js @@ -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 &&