Merge branch 'feature/2.19.1.2501.01-考勤数据编辑' into custom/西部信托0401

This commit is contained in:
lys 2025-06-12 17:21:31 +08:00
commit ab1502b0fd
1 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,10 @@ class AttendanceDataViewSlide extends Component {
pageInfo: this.state.pageInfo, dataSource, showRowSelection: true, unitTableType: "attendanceView",
selectedRowKeys,
columns: [
..._.map(columns, (o, i) => ({ ...o, width: 150, fixed: i === 0 ? "left" : false })),
..._.map(columns, (o, i) => ({
...o, width: 150,
fixed: (o.dataIndex === "username" || o.dataIndex === "departmentName") ? "left" : false
})),
{
title: getLabel(111, "操作"), dataIndex: "operate", fixed: "right",
operateType: [{ key: "EDIT", label: getLabel(111, "编辑") }]