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

This commit is contained in:
lys 2025-03-06 15:43:43 +08:00
parent bdfc9513c8
commit 7656d78fa0
2 changed files with 20 additions and 14 deletions

View File

@ -14,6 +14,13 @@
.wea-search-tab, .wea-input-focus {
background: #f1f1f1;
i {
font-size: 20px;
cursor: pointer;
vertical-align: middle;
color: #2db7f5;
}
}
.normalWapper {

View File

@ -483,32 +483,31 @@ export default class NormalIndex extends Component {
];
const btn2 = [
<Button type="primary" onClick={this.handleCommonAccountClick}>核算</Button>,
<Button type="primary"
<Button type="ghost"
onClick={() => this.setState({ adjustSlide: { ...adjustSlide, visible: true } })}>调差</Button>
];
const btn3 = [
<Button type="primary" onClick={() => {
<i className="iconfont icon-duibi" onClick={() => {
window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/socialSecurityBenefits/sbofflineComparison?billMonth=${billMonth}&paymentOrganization=${paymentOrganization}`);
}}>线下对比</Button>
}} title={getLabel(111, "线下对比")}/>
];
const btn4 = [
<Button type="primary"
onClick={() => this.setState({
importParams: {
...importParams, visible: true,
tmpUrl: selectedKey === "1" ? "exportSiaccountWelfareImporttemplate" : "exportSiaccountWelfaresupplyimporttemplatetemplate"
}
})}>导入数据</Button>
<i className="iconfont icon-import" onClick={() => this.setState({
importParams: {
...importParams, visible: true,
tmpUrl: selectedKey === "1" ? "exportSiaccountWelfareImporttemplate" : "exportSiaccountWelfaresupplyimporttemplatetemplate"
}
})} title={getLabel(111, "导入")}/>
];
const btn5 = [
<Button type="primary" onClick={this.handleExport}>导出全部</Button>
<i className="iconfont icon-export" onClick={this.handleExport} title={getLabel(111, "导出")}/>
];
let btn = [];
(this.props.type !== "detail" && this.props.selectedKey == "3") && (btn = [...btn, ...btn1]);
(selectedKey === "1" && this.props.type !== "detail") && (btn = [...btn, ...btn2]);
selectedKey === "1" && (btn = [...btn, ...btn3]);
this.props.type !== "detail" && (btn = [...btn, ...btn4]);
btn = [...btn, ...btn5];
btn = [...btn5, ...btn];
this.props.type !== "detail" && (btn = [...btn4, ...btn]);
selectedKey === "1" && (btn = [...btn3, ...btn]);
return (
<div className="normalWapper">
{