custom/万君筑天科技-合并业务线

This commit is contained in:
lys 2025-04-23 10:52:06 +08:00
parent cafe21b3fe
commit fd332031a6
1 changed files with 13 additions and 8 deletions

View File

@ -41,7 +41,13 @@ class AttendanceDataViewSlide extends Component {
const { columns, list: dataSource, pageNum: current, pageSize, total } = data.pageInfo;
this.setState({
pageInfo: { ...pageInfo, current, pageSize, total }, dataSource,
columns: _.map(columns, (o, i) => ({ ...o, width: 150, fixed: i === 0 ? "left" : null }))
columns: [
..._.map(columns, (o, i) => ({ ...o, width: 150, fixed: i === 0 ? "left" : null })),
{
title: getLabel(111, "操作"), dataIndex: "operate", width: 80,
render: () => (<a href="JavaScript:void(0);">{getLabel(111, "编辑")}</a>)
}
]
});
}
}).catch(() => this.setState({ loading: { ...loading, query: false } }));
@ -87,13 +93,12 @@ class AttendanceDataViewSlide extends Component {
/>
];
return (
<WeaSlideModal {...extra} className="attendanceSlideWrapper"
top={0} height={100} width={800} measureT="%" measureX="px" measureY="%" direction="right"
title={
<WeaTop title={getLabel(525196, "考勤数据")} icon={<i className="icon-coms-fa"/>}
iconBgcolor="#F14A2D"
buttons={showOperateBtn ? btns : btns.slice(1)}/>
}
<WeaSlideModal {...extra} className="attendanceSlideWrapper" top={0} height={100} width={100} measure="%"
direction="right" title={
<WeaTop title={getLabel(525196, "考勤数据")} icon={<i className="icon-coms-fa"/>}
iconBgcolor="#F14A2D"
buttons={showOperateBtn ? btns : btns.slice(1)}/>
}
content={
<div className="attendance-slide-body">
<div className="attendance-tb-tip">