style(admin): 清理考勤页与排课表的冗余装饰与标签

This commit is contained in:
2026-08-07 09:50:52 +08:00
parent f560b046a4
commit b032890b4f
4 changed files with 9 additions and 33 deletions

View File

@@ -16,7 +16,7 @@ import {
Empty,
Tooltip,
} from 'antd';
import { CalendarOutlined, FileTextOutlined } from '@ant-design/icons';
import { CalendarOutlined, FileTextOutlined, ReadOutlined } from '@ant-design/icons';
import dayjs, { Dayjs } from 'dayjs';
import api from '../../api';
import { downloadBlob } from '../../utils/download';
@@ -314,7 +314,13 @@ const ClassroomSchedulePage: React.FC = () => {
}
>
<span style={{ color: '#fff', fontSize: 10, fontWeight: 600 }}>
{isInternal ? '📖' : cell.hasContract ? '📄' : ''}
{isInternal ? (
<ReadOutlined style={{ fontSize: 12 }} />
) : cell.hasContract ? (
<FileTextOutlined style={{ fontSize: 12 }} />
) : (
''
)}
</span>
</Tooltip>
)}