From 98fba85bdd0f213bee572013e85cef607ed53dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 28 Mar 2023 15:13:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E8=B5=84=E6=A1=A3=E6=A1=88=E5=BE=85?= =?UTF-8?q?=E5=81=9C=E8=96=AA=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=BE=85=E5=8A=9E=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payrollFiles/components/allWithoutPay.js | 7 ------- pc4mobx/hrmSalary/pages/payrollFiles/index.js | 18 ++++++++++-------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js index 47ec1a63..c9d85ff8 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/allWithoutPay.js @@ -19,12 +19,6 @@ class AllWithoutPay extends Component { message.error(errormsg || "操作失败!"); } }); - }else if(key === "batchDeleteTodo"){ - if (selectedRowKeys.length === 0) { - message.warning("未选择条目"); - return; - } - console.log(selectedRowKeys); }else{ const { pageInfo } = this.props; if (pageInfo.total === 0) { @@ -54,7 +48,6 @@ class AllWithoutPay extends Component { 全部停薪 批量停薪 - 批量删除待办 ); } diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js index 65a3fa93..5655e499 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js @@ -287,6 +287,7 @@ class Index extends Component { selectedRowKeys: [] }, () => { this.query(); + this.queryTabTotal(); }); } else { message.error(errormsg || "操作失败!"); @@ -397,14 +398,14 @@ class Index extends Component { verticalAlign: "middle" }}/> , - // , + , , @@ -591,6 +592,7 @@ class Index extends Component { handleChangeTab = (selectedKey) => { const { slideParams, pageInfo } = this.state; this.setState({ + selectedRowKeys: [], slideParams: { ...slideParams, visible: false, id: "" }, selectedKey, pageInfo: {