diff --git a/apps/admin/src/pages/Students/index.tsx b/apps/admin/src/pages/Students/index.tsx
index 0616658..2c0343c 100644
--- a/apps/admin/src/pages/Students/index.tsx
+++ b/apps/admin/src/pages/Students/index.tsx
@@ -647,8 +647,33 @@ const StudentsPage: React.FC = () => {
) :
暂无录取结果
,
},
+ {
+ key: 'learning', label: `学情记录 (${drawerData.learningRecords?.length || 0})`,
+ children: drawerData.learningRecords?.length ? (
+
+ ) : 暂无学情记录
,
+ },
+ {
+ key: 'attachments', label: `附件 (${drawerData.attachments?.length || 0})`,
+ children: drawerData.attachments?.length ? (
+ v ? `${(v / 1024).toFixed(1)} KB` : '-' },
+ ]} />
+ ) : 暂无附件
,
+ },
]} />
- )}
+ } style={{ marginTop: 16 }} onClick={() => {
+ const token = localStorage.getItem('token');
+ window.open(`/api/archive/${drawerData?.student?.id}/report?token=${token}`, '_blank');
+ }}>生成档案报表
);