From a3a078840e2e62364b913fafe9e5da7ccf9dfe9c Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Mon, 17 Mar 2025 17:19:45 +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 --- pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js | 5 +++-- pc4mobx/hrmSalary/pages/calculate/calcView/index.js | 6 ++++-- pc4mobx/hrmSalary/pages/calculate/doCalc/index.js | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js index 9cf6133a..4836fa32 100644 --- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js +++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.js @@ -271,9 +271,10 @@ class Index extends Component { render() { const { - taxAgentStore: { statisticsReportBtn, PageAndOptAuth, showOperateBtn }, + taxAgentStore: { statisticsReportBtn, PageAndOptAuth }, attendanceStore: { statisticsForm, reportForm, tableStore } } = this.props; + const { isOpenDevolution, isChief } = PageAndOptAuth; const { selectedKey, modalReq, slideReq, conditions, reportConditions, reportName, keyword, year, logDialogVisible, filterConditions, @@ -327,7 +328,7 @@ class Index extends Component { { key: "salaryDetail", title: getLabel(111, "薪资明细") } ]; dropMenuDatas = selectedKey === "salaryDetail" ? dropMenuDatas.slice(-1) : dropMenuDatas.slice(0, 1); - !showOperateBtn && dropMenuDatas.shift(); + isOpenDevolution && !isChief && dropMenuDatas.shift(); return ( } selectedKey={selectedKey} diff --git a/pc4mobx/hrmSalary/pages/calculate/calcView/index.js b/pc4mobx/hrmSalary/pages/calculate/calcView/index.js index 6728c9a1..b04adb45 100644 --- a/pc4mobx/hrmSalary/pages/calculate/calcView/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/calcView/index.js @@ -74,7 +74,7 @@ class Index extends Component { this.handleMenuClick({ key: "exportAll" })} overlay={ this.handleMenuClick(e)}> - {getLabel(543715, "导出所选")} + {/*{getLabel(543715, "导出所选")}*/} {getLabel(544270, "自定义导出")} }>{getLabel(81272, "导出全部")}, this.calc.openAdvanceSearch()} @@ -87,7 +87,9 @@ class Index extends Component { showDropIcon={false} buttons={btns} >
- {showChildren && this.calc = dom}/>} + {showChildren && + this.calc = dom}/>} {/* 薪资核算-自定义导出*/} { this.setState({ loading: { ...this.state.loading, az: false } }); + this.calc.onAdSearch(false); if (status) { message.success(getLabel(111, "操作成功!")); - this.calc.onAdSearch(false); } else { message.error(errormsg); }