1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-05 02:59:23 +00:00
This commit is contained in:
SunWuyuan 2025-03-22 15:34:47 +08:00
parent 66a503a062
commit d0d0e3a6b4
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -31,7 +31,8 @@
:model-value="state.selectedDateObj" :model-value="state.selectedDateObj"
color="primary" color="primary"
@update:model-value="handleDateSelect" @update:model-value="handleDateSelect"
/></v-card> />
</v-card>
</v-menu> </v-menu>
<v-btn <v-btn
icon="mdi-refresh" icon="mdi-refresh"
@ -123,7 +124,8 @@
</v-card> </v-card>
</TransitionGroup> </TransitionGroup>
</div> </div>
</div><v-btn </div>
<v-btn
v-if="!state.synced" v-if="!state.synced"
color="error" color="error"
size="large" size="large"
@ -157,35 +159,55 @@
> >
<h1>出勤</h1> <h1>出勤</h1>
<h2> <h2>
应到: <snap style="white-space: nowrap"> 应到 </snap>:
<snap style="white-space: nowrap">
{{ {{
state.studentList.length - state.boardData.attendance.exclude.length state.studentList.length -
state.boardData.attendance.exclude.length
}} }}
</snap>
</h2> </h2>
<h2> <h2>
实到: <snap style="white-space: nowrap"> 实到 </snap>:
<snap style="white-space: nowrap">
{{ {{
state.studentList.length - state.studentList.length -
state.boardData.attendance.absent.length - state.boardData.attendance.absent.length -
state.boardData.attendance.late.length - state.boardData.attendance.late.length -
state.boardData.attendance.exclude.length state.boardData.attendance.exclude.length
}} }}
</snap>
</h2>
<h2>
<snap style="white-space: nowrap"> 请假 </snap>:
<snap style="white-space: nowrap">
{{ state.boardData.attendance.absent.length }}
</snap>
</h2> </h2>
<h2>请假: {{ state.boardData.attendance.absent.length }}</h2>
<h3 <h3
v-for="(name, index) in state.boardData.attendance.absent" v-for="(name, index) in state.boardData.attendance.absent"
:key="'absent-' + index" :key="'absent-' + index"
> >
{{ `${index + 1}. ${name}` }} {{ `${index + 1}. ${name}` }}
</h3> </h3>
<h2>迟到: {{ state.boardData.attendance.late.length }}<snap></snap></h2> <h2>
<snap style="white-space: nowrap"> 迟到 </snap>:
<snap style="white-space: nowrap">
{{ state.boardData.attendance.late.length }}
</snap>
</h2>
<h3 <h3
v-for="(name, index) in state.boardData.attendance.late" v-for="(name, index) in state.boardData.attendance.late"
:key="'late-' + index" :key="'late-' + index"
> >
{{ `${index + 1}. ${name}` }} {{ `${index + 1}. ${name}` }}
</h3> </h3>
<h2>不参与: {{ state.boardData.attendance.exclude.length }}</h2> <h2>
<snap style="white-space: nowrap">不参与</snap>:
<snap style="white-space: nowrap">
{{ state.boardData.attendance.exclude.length }}
</snap>
</h2>
<h3 <h3
v-for="(name, index) in state.boardData.attendance.exclude" v-for="(name, index) in state.boardData.attendance.exclude"
:key="'exclude-' + index" :key="'exclude-' + index"