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}