diff --git a/frontend/admin/attendance.php b/frontend/admin/attendance.php index d32499a..08700f0 100644 --- a/frontend/admin/attendance.php +++ b/frontend/admin/attendance.php @@ -33,30 +33,36 @@ include __DIR__ . '/../includes/header.php';
-
-
- - +
+ +
+
+ + +
+
+ + +
+
+ + + + +
-
- - + +
+ + + + +
-
- - - - -
- - - - -
diff --git a/frontend/admin/homework.php b/frontend/admin/homework.php index 00d3bab..49edf25 100644 --- a/frontend/admin/homework.php +++ b/frontend/admin/homework.php @@ -243,10 +243,6 @@ include __DIR__ . '/../includes/header.php'; .toggle-icon { font-size: 12px; color: var(--color-text-secondary, #666); - transition: transform 0.3s; -} -.toggle-icon.expanded { - transform: rotate(90deg); } diff --git a/frontend/assets/js/history.js b/frontend/assets/js/history.js index 7e90542..766cf2a 100644 --- a/frontend/assets/js/history.js +++ b/frontend/assets/js/history.js @@ -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'; });