From b4fa3ab1fd4626f8249b4ca1180c475827a877a2 Mon Sep 17 00:00:00 2001 From: wangziqi Date: Mon, 6 Jul 2026 17:00:13 +0800 Subject: [PATCH] feat: add learning records and attachments tabs to profile Drawer, plus PDF report button --- apps/admin/src/pages/Students/index.tsx | 27 ++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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` : '-' }, + ]} /> + ) :
暂无附件
, + }, ]} /> - )} + );