feature/3.0.0.2502.01-合并业务线-社保福利台账增减人员

This commit is contained in:
lys 2025-03-06 16:13:49 +08:00
parent 7656d78fa0
commit 5c6ecef51a
4 changed files with 38 additions and 28 deletions

View File

@ -19,7 +19,7 @@
font-size: 20px;
cursor: pointer;
vertical-align: middle;
color: #2db7f5;
color: #55a1f8;
}
}
@ -67,20 +67,14 @@
.tabOption {
display: flex;
align-items: center;
padding: 8px 20px;
padding: 8px 0;
justify-content: flex-end;
i.icon-coms-Batch-delete, i.icon-coms-Add-to, button {
i {
font-size: 20px;
cursor: pointer;
margin-right: 10px;
}
.anticon-search {
margin-right: 0px;
}
.wea-input-focus-btn {
margin-right: 0px;
vertical-align: middle;
color: #55a1f8;
}
}

View File

@ -7,7 +7,7 @@
import React, { Component } from "react";
import { Button, Col, Icon, message, Modal, Row, Spin, Tooltip } from "antd";
import { inject, observer } from "mobx-react";
import { WeaBrowser, WeaFormItem, WeaInput, WeaLocaleProvider, WeaSearchGroup, WeaTab } from "ecCom";
import { WeaBrowser, WeaButtonIcon, WeaFormItem, WeaInput, WeaLocaleProvider, WeaSearchGroup, WeaTab } from "ecCom";
import { calcPageNo } from "../../../../util";
import { getQueryString } from "../../../../util/url";
import ProgressModal from "../../../../components/progressModal";
@ -475,13 +475,18 @@ export default class NormalIndex extends Component {
render() {
const { remarks, billMonth, selectedKey, paymentOrganization, standingBookStore } = this.props;
const { addProps, adjustSlide, importParams, returnEditPersonSlide, showSearchAd } = this.state;
const { addProps, adjustSlide, importParams, returnEditPersonSlide, showSearchAd, selectedRowKeys } = this.state;
const { loading } = standingBookStore;
const btn1 = [
<Button type="primary" onClick={this.handleBatchDelete}>批量删除</Button>,
<Button type="primary" onClick={this.handleAdd}>添加缴纳人员</Button>
<WeaButtonIcon buttonType="del" type="primary" title={getLabel(111, "删除")} disabled={_.isEmpty(selectedRowKeys)}
onClick={this.handleBatchDelete}/>,
<WeaButtonIcon buttonType="add" type="primary" title={getLabel(111, "添加")}
onClick={this.handleAdd}/>
];
const btn2 = [
<WeaButtonIcon buttonType="del" type="primary" title={getLabel(111, "删除")} disabled={_.isEmpty(selectedRowKeys)}
/>,
<WeaButtonIcon buttonType="add" type="primary" title={getLabel(111, "添加")}/>,
<Button type="primary" onClick={this.handleCommonAccountClick}>核算</Button>,
<Button type="ghost"
onClick={() => this.setState({ adjustSlide: { ...adjustSlide, visible: true } })}>调差</Button>

View File

@ -5,11 +5,12 @@
* LastEditTime: 2022-05-09 15:07:56
*/
import React, { Component } from "react";
import { Button, Icon, Spin, Tooltip } from "antd";
import { Icon, Spin, Tooltip } from "antd";
import { inject, observer } from "mobx-react";
import { WeaNewScroll, WeaTable } from "ecCom";
import { WeaLocaleProvider, WeaNewScroll, WeaTable } from "ecCom";
import "./index.less";
const getLabel = WeaLocaleProvider.getLabel;
@inject("standingBookStore")
@observer
export default class OverViewIndex extends Component {
@ -113,7 +114,7 @@ export default class OverViewIndex extends Component {
</div>
</div>
<div className="tabOption">
<Button type="primary" onClick={this.handleExport}>导出全部</Button>
<i className="iconfont icon-export" onClick={this.handleExport} title={getLabel(111, "导出")}/>
</div>
{/* table */}
<div className="tableWrapper">

View File

@ -1,6 +1,15 @@
import React, { Component } from "react";
import { Button, Col, Row } from "antd";
import { WeaBrowser, WeaFormItem, WeaHelpfulTip, WeaInput, WeaLocaleProvider, WeaSearchGroup, WeaTab } from "ecCom";
import { Col, Row } from "antd";
import {
WeaBrowser,
WeaButtonIcon,
WeaFormItem,
WeaHelpfulTip,
WeaInput,
WeaLocaleProvider,
WeaSearchGroup,
WeaTab
} from "ecCom";
import { getQueryString } from "../../../../util/url";
const getLabel = WeaLocaleProvider.getLabel;
@ -37,21 +46,22 @@ class RegTop extends Component {
placement="bottomRight"
width={250}
/>,
<Button type="primary" onClick={() => onChange("export")}>导出全部</Button>
<i className="iconfont icon-export" onClick={() => onChange("export")} title={getLabel(111, "导出")}/>
];
if (!type) {
const [dom1, ...extra] = dom;
const domBtn = regtopType === "regression" ?
[<Button type="primary" onClick={() => onChange("add")}>添加</Button>] :
[<WeaButtonIcon buttonType="add" type="primary" title={getLabel(111, "添加")}
onClick={() => onChange("add")}/>] :
[
<Button type="primary" onClick={() => onChange("add")}>{getLabel(384113, "添加")}</Button>,
<Button type="primary" onClick={() => onChange("import")}>{getLabel(32935, "导入")}</Button>
<WeaButtonIcon buttonType="add" type="primary" title={getLabel(111, "添加")}
onClick={() => onChange("add")}/>,
<i className="iconfont icon-import" onClick={() => onChange("import")} title={getLabel(111, "导入")}/>
];
dom = [
dom1,
<Button type="primary" disabled={_.isEmpty(selectKey)} onClick={() => onChange("delete")}>
删除
</Button>, ...domBtn, ...extra
<WeaButtonIcon buttonType="del" type="primary" title={getLabel(111, "删除")} disabled={_.isEmpty(selectKey)}
onClick={() => onChange("delete")}/>, ...domBtn, ...extra
];
}
return dom;