From 54b4ebe83a55f257c211958d13f6b2a0b35256ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 11 Oct 2023 13:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E8=B5=84=E6=A0=B8=E7=AE=97=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=BC=E5=85=A5=E8=96=AA=E8=B5=84=E9=A1=B9=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customCalcExportDialog/index.js | 3 ++- .../customCalcExportDialog/index.less | 16 ++++++++++++++ .../importModal/addHeaderFieldsModal.js | 21 +++++++++++++++++-- .../acctResult/importModal/index.less | 5 +++++ 4 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.less diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js index 9d76e00f..c3e1f838 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/customCalcExportDialog/index.js @@ -11,6 +11,7 @@ import { inject, observer } from "mobx-react"; import { WeaCheckbox, WeaDialog, WeaLocaleProvider, WeaSearchGroup } from "ecCom"; import { customCacheExportField } from "../../../../../apis/calculate"; import { convertToUrlString } from "../../../../../util/url"; +import "./index.less"; const { getLabel } = WeaLocaleProvider; @@ -85,7 +86,7 @@ class Index extends Component { } return ( { + if (checked === "1") { + this.setState({ + itemsCheckeds: _.reduce(this.props.itemsByGroup, (pre, cur) => { + return [...pre, ..._.map(cur.salaryItems, it => it.salaryItemId)]; + }, []) + }); + } else { + this.setState({ itemsCheckeds: [] }); + } + }; render() { const { showOnlyChecked, itemsCheckeds } = this.state; @@ -72,8 +83,14 @@ class AddHeaderFieldsModal extends Component { , ]} - bottomLeft={} + bottomLeft={ + + + + + } > { _.map(dataSource, item => { diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less index 1de6458c..1afe4e6c 100644 --- a/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less +++ b/pc4mobx/hrmSalary/pages/calculateDetail/acctResult/importModal/index.less @@ -2,6 +2,11 @@ .wea-search-group { .wea-title { padding-left: 0 !important; + font-weight: 700 !important; + } + + .ant-col-8 { + padding: 0 8px !important; } .wea-content {