From f9a940f1828cdd52a317ca4f283f7f9bcff63726 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Mon, 17 Mar 2025 11:17:17 +0800 Subject: [PATCH] =?UTF-8?q?custom-=E8=89=BE=E5=BF=97=E5=B7=A5=E4=B8=9A-?= =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=B8=AA=E7=A8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hrmSalary/pages/analysisOfSalaryStatistics/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js index f7c2ca7a..9cf6133a 100644 --- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js +++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js @@ -33,7 +33,7 @@ class Index extends Component { conditions: [], convertConditions: [], reportConditions: [], - selectedKey: "statistics", + selectedKey: "salaryDetail", reportName: "", keyword: "", year: moment().format("YYYY"), @@ -271,7 +271,7 @@ class Index extends Component { render() { const { - taxAgentStore: { statisticsReportBtn, PageAndOptAuth }, + taxAgentStore: { statisticsReportBtn, PageAndOptAuth, showOperateBtn }, attendanceStore: { statisticsForm, reportForm, tableStore } } = this.props; const { @@ -322,11 +322,12 @@ class Index extends Component { } ]; const tabs = [ - { key: "statistics", title: getLabel(111, "统计表") }, - { key: "detail", title: getLabel(111, "员工明细") }, + // { key: "statistics", title: getLabel(111, "统计表") }, + // { key: "detail", title: getLabel(111, "员工明细") }, { key: "salaryDetail", title: getLabel(111, "薪资明细") } ]; dropMenuDatas = selectedKey === "salaryDetail" ? dropMenuDatas.slice(-1) : dropMenuDatas.slice(0, 1); + !showOperateBtn && dropMenuDatas.shift(); return ( } selectedKey={selectedKey}