样式优化

This commit is contained in:
2026-06-01 18:15:16 +08:00
parent 02df413215
commit b77952facc
3 changed files with 29 additions and 26 deletions

View File

@@ -243,6 +243,7 @@ async function exportHistoryRecords() {
var csv = '\uFEFF';
csv += '时间,学号,姓名,分数变动,原因,操作人\n';
records.forEach(function(r) {
if (r.is_revoked == 1) return;
csv += (r.created_at || '') + ',' + (r.student_no || '') + ',' + (r.student_name || '') + ',' + (r.points_change > 0 ? '+' : '') + r.points_change + ',' + (r.reason || '').replace(/,/g, ';') + ',' + (r.recorder_name || '') + '\n';
});