fix(admin): fix column widths and scroll.x for Attendance and Roles pages

- Attendance: remove ellipsis from 备注 column, scroll.x 1100 -> 1200
- Roles: adjust column widths (ID 60->80, 系统 70->80, 操作 160->180), remove ellipsis from 描述 and 权限标签
- Teachers: already correct (verified all widths match spec)
- Permissions: card-based layout, no Table component - no changes needed
- Notifications: List-based layout, no Table component - no changes needed
This commit is contained in:
2026-07-06 16:56:26 +08:00
parent cb39a183cc
commit 26754dc3fa
2 changed files with 5 additions and 7 deletions

View File

@@ -529,7 +529,6 @@ const AttendancePage: React.FC = () => {
dataIndex: 'remark',
key: 'remark',
width: 150,
ellipsis: true,
render: (v: string | null) => v || '-',
},
{
@@ -691,7 +690,7 @@ const AttendancePage: React.FC = () => {
columns={columns}
dataSource={records}
loading={loading}
scroll={{ x: 1100 }}
scroll={{ x: 1200 }}
pagination={{
current: page,
pageSize,