From d0d0e3a6b41633570b7149d2a3dad9bf7189cd13 Mon Sep 17 00:00:00 2001 From: SunWuyuan Date: Sat, 22 Mar 2025 15:34:47 +0800 Subject: [PATCH] 1 --- src/pages/index.vue | 98 +++++++++++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 38 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index d64ffd2..c0a5138 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -31,7 +31,8 @@ :model-value="state.selectedDateObj" color="primary" @update:model-value="handleDateSelect" - /> + /> + - - 上传 - - - 同步完成 - 随机点名 - + + + 上传 + + + 同步完成 + 随机点名 + @@ -157,35 +159,55 @@ >

出勤

- 应到: - {{ - state.studentList.length - state.boardData.attendance.exclude.length - }}人 + 应到 : + + {{ + state.studentList.length - + state.boardData.attendance.exclude.length + }}人 +

- 实到: - {{ - state.studentList.length - - state.boardData.attendance.absent.length - - state.boardData.attendance.late.length - - state.boardData.attendance.exclude.length - }}人 + 实到 : + + {{ + state.studentList.length - + state.boardData.attendance.absent.length - + state.boardData.attendance.late.length - + state.boardData.attendance.exclude.length + }}人 + +

+

+ 请假 : + + {{ state.boardData.attendance.absent.length }}人 +

-

请假: {{ state.boardData.attendance.absent.length }}人

{{ `${index + 1}. ${name}` }}

-

迟到: {{ state.boardData.attendance.late.length }}

+

+ 迟到 : + + {{ state.boardData.attendance.late.length }}人 + +

{{ `${index + 1}. ${name}` }}

-

不参与: {{ state.boardData.attendance.exclude.length }}人

+

+ 不参与: + + {{ state.boardData.attendance.exclude.length }}人 + +