From 4f00d117d6cf928c30cc146cada75b7357f93224 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, 4 Dec 2023 10:40:07 +0800 Subject: [PATCH] =?UTF-8?q?feature/V2-dev=E5=90=88=E5=B9=B6=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../importModal/addHeaderFieldsModal.js | 2 +- ...atisticsItemsModal-统计范围设置弹框重构.js | 34 +++++++++---------- .../statisticalMicroSettingsSlide.js | 6 ++-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/addHeaderFieldsModal.js b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/addHeaderFieldsModal.js index 0670d427..e83e0730 100644 --- a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/addHeaderFieldsModal.js +++ b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/addHeaderFieldsModal.js @@ -87,7 +87,7 @@ class AddHeaderFieldsModal extends Component { - } diff --git a/pc4mobx/hrmSalary/pages/reportView/components/customStatisticsItemsModal-统计范围设置弹框重构.js b/pc4mobx/hrmSalary/pages/reportView/components/customStatisticsItemsModal-统计范围设置弹框重构.js index 49f5a462..0565f922 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/customStatisticsItemsModal-统计范围设置弹框重构.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/customStatisticsItemsModal-统计范围设置弹框重构.js @@ -75,23 +75,23 @@ class CustomStatisticsItemsModal extends Component { return; } if (!isNoRules) { - message.warning(getLabel(111, "请至少设置一个统计规则")); + message.warning(getLabel(543395, "请至少设置一个统计规则")); return; } if (isChainRequired) { - message.warning(getLabel(111, "请完善环比增幅正常区间设置上下限")); + message.warning(getLabel(543397, "请完善环比增幅正常区间设置上下限")); return; } if (isChainValRight) { - message.warning(getLabel(111, "环比增幅上下限设置错误")); + message.warning(getLabel(543398, "环比增幅上下限设置错误")); return; } if (isYoyRequired) { - message.warning(getLabel(111, "请完善同比增幅正常区间设置上下限")); + message.warning(getLabel(543396, "请完善同比增幅正常区间设置上下限")); return; } if (isYoyValRight) { - message.warning(getLabel(111, "同比增幅上下限设置错误")); + message.warning(getLabel(543399, "同比增幅上下限设置错误")); return; } let payload = { statReportId, itemValue: itemValue.split(","), itemName }; @@ -157,8 +157,8 @@ class CustomStatisticsItemsModal extends Component { }; if (statisticsItemId) { Modal.confirm({ - title: getLabel(111, "信息确认"), - content: getLabel(111, `确定要编辑统计项吗?编辑后,可能需要重新设置分析图设置。`), + title: getLabel(131329, "信息确认"), + content: getLabel(543400, `确定要编辑统计项吗?编辑后,可能需要重新设置分析图设置。`), onOk: () => this.reportStatisticsItemSave(payload) }); } else { @@ -302,7 +302,7 @@ class CustomStatisticsItemsModal extends Component { ...it, title: {text} - 10%,差值和增幅标记为红色,增幅<-10%标记为绿色")} + 10%,差值和增幅标记为红色,增幅<-10%标记为绿色")} placement="top" width={200}/> , render: (txt, record) => { @@ -319,7 +319,7 @@ class CustomStatisticsItemsModal extends Component { ...it, title: {text} - 10%,差值和增幅标记为红色,增幅<-10%标记为绿色")} + 10%,差值和增幅标记为红色,增幅<-10%标记为绿色")} placement="top" width={200}/> , render: (txt, record) => { @@ -338,10 +338,10 @@ class CustomStatisticsItemsModal extends Component { {...this.props} hasScroll buttons={[]} initLoadCss title={
- {statisticsItemId ? getLabel(111, "编辑自定义统计项目") : getLabel(111, "新建自定义统计项目")} + {statisticsItemId ? getLabel(543401, "编辑自定义统计项目") : getLabel(543392, "新建自定义统计项目")} { !isShare && + onClick={this.handleSaveStatisticalItems}>{getLabel(537558, "保存")} }
} @@ -349,10 +349,10 @@ class CustomStatisticsItemsModal extends Component { className="statisticItemsWrapper" >
- - + + - - + + this.setState({ formData: { ...formData, itemName } })}/> @@ -415,7 +415,7 @@ const IntervalSettingsComp = (props) => { const { LowerLimit, UpperLimit, onChange, isShare } = props; return
onChange("min", val)} disabled={isShare}/> - {`% <${getLabel(111, "增幅")}<`} + {`% <${getLabel(543394, "增幅")}<`} onChange("max", val)} disabled={isShare}/> %
; diff --git a/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js b/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js index e02d90c3..ac277ffa 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js @@ -290,7 +290,7 @@ class StatisticalMicroSettingsSlide extends Component { - + this.setState({ salaryMonth: v, timeType })}/> @@ -349,8 +349,8 @@ const TitleDialog = (props) => { }; const StatisticalScopePicker = (props) => { const scopeBtns = [ - { key: 1, label: getLabel(111, "上月") }, - { key: 2, label: getLabel(111, "本月") }, + { key: 1, label: getLabel(17028, "上月") }, + { key: 2, label: getLabel(15541, "本月") }, { key: 3, label: getLabel(111, "一季度") }, { key: 4, label: getLabel(111, "二季度") }, { key: 5, label: getLabel(111, "三季度") },