mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-07-05 02:59:23 +00:00
1
This commit is contained in:
parent
66a503a062
commit
d0d0e3a6b4
@ -31,7 +31,8 @@
|
||||
:model-value="state.selectedDateObj"
|
||||
color="primary"
|
||||
@update:model-value="handleDateSelect"
|
||||
/></v-card>
|
||||
/>
|
||||
</v-card>
|
||||
</v-menu>
|
||||
<v-btn
|
||||
icon="mdi-refresh"
|
||||
@ -123,7 +124,8 @@
|
||||
</v-card>
|
||||
</TransitionGroup>
|
||||
</div>
|
||||
</div><v-btn
|
||||
</div>
|
||||
<v-btn
|
||||
v-if="!state.synced"
|
||||
color="error"
|
||||
size="large"
|
||||
@ -157,35 +159,55 @@
|
||||
>
|
||||
<h1>出勤</h1>
|
||||
<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>
|
||||
实到:
|
||||
<snap style="white-space: nowrap"> 实到 </snap>:
|
||||
<snap style="white-space: nowrap">
|
||||
{{
|
||||
state.studentList.length -
|
||||
state.boardData.attendance.absent.length -
|
||||
state.boardData.attendance.late.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>请假: {{ state.boardData.attendance.absent.length }}人</h2>
|
||||
<h3
|
||||
v-for="(name, index) in state.boardData.attendance.absent"
|
||||
:key="'absent-' + index"
|
||||
>
|
||||
{{ `${index + 1}. ${name}` }}
|
||||
</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
|
||||
v-for="(name, index) in state.boardData.attendance.late"
|
||||
:key="'late-' + index"
|
||||
>
|
||||
{{ `${index + 1}. ${name}` }}
|
||||
</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
|
||||
v-for="(name, index) in state.boardData.attendance.exclude"
|
||||
:key="'exclude-' + index"
|
||||
|
Loading…
x
Reference in New Issue
Block a user