From b77952facc5f79b05ba39f756aeeb20040dc6acd Mon Sep 17 00:00:00 2001 From: canglan Date: Mon, 1 Jun 2026 18:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/admin/attendance.php | 50 ++++++++++++++++++++--------------- frontend/admin/homework.php | 4 --- frontend/assets/js/history.js | 1 + 3 files changed, 29 insertions(+), 26 deletions(-) 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'; });