diff --git a/client/src/pages/admin/Export.tsx b/client/src/pages/admin/Export.tsx index 19b767e..a58ca71 100644 --- a/client/src/pages/admin/Export.tsx +++ b/client/src/pages/admin/Export.tsx @@ -339,7 +339,7 @@ export default function Export() {

03 全部时长明细({preview.hours.length} 条)

- [h.class, h.name, h.activity_title, Number(h.hours || 0).toFixed(2), h.remark || '-'])} /> + [i + 1, h.class, h.name, h.volunteer_no || '-', h.group_name || '-', h.activity_title, Number(h.hours || 0).toFixed(2), h.remark || '-'])} /> ) : null} {preview.user_totals?.length ? ( @@ -347,7 +347,7 @@ export default function Export() {

04 部员总时长排行

- [i + 1, u.class, u.name, u.group_name || '-', u.activity_count, Number(u.total_hours || 0).toFixed(2)])} /> + [i + 1, u.class, u.name, u.volunteer_no || '-', u.group_name || '-', u.activity_count, Number(u.total_hours || 0).toFixed(2)])} /> ) : null} {preview.user_activities?.length ? ( @@ -359,7 +359,11 @@ export default function Export() { {preview.user_activities.map(u => (
- {u.class} {u.name}{u.group_name ? ` (${u.group_name})` : ''} +
+ {u.class} {u.name} + 义工号:{u.volunteer_no || '—'} + {u.group_name ? 工作组:{u.group_name} : null} +
共 {u.activities.length} 次活动
{u.activities.length === 0 ? (