社保福利台账页面操作列的问题解决

This commit is contained in:
黎永顺 2022-11-17 16:34:22 +08:00
parent cc4d9df1e1
commit bde6840850
1 changed files with 4 additions and 3 deletions

View File

@ -322,7 +322,7 @@ export default class StandingBook extends React.Component {
this.setState({
progressVisible: false,
progress: 0
},()=>{
}, () => {
message.success("核算成功");
this.handleClose();
this.getCommonList({
@ -445,7 +445,7 @@ export default class StandingBook extends React.Component {
>
<WeaTop
title="社保福利台账" // 文字
icon={<i className="icon-coms-fa" />} // 左侧图标
icon={<i className="icon-coms-fa"/>} // 左侧图标
iconBgcolor="#F14A2D" // 左侧图标背景色
buttons={showOperateBtn ? rightBtns : []}
// showDropIcon={true} // 是否显示下拉按钮
@ -477,10 +477,11 @@ export default class StandingBook extends React.Component {
columns={_.filter(columns, (it) => it.dataIndex !== "id").map(item => {
item.width = "150px";
if (item.dataIndex === "billMonth") item.fixed = "left";
if (item.dataIndex === "action") return { ...item };
return {
...item,
render: (text) => {
return <span className='tdEllipsis' title={text}>{text}</span>
return <span className="tdEllipsis" title={text}>{text}</span>;
}
};
})}