mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-02-04 16:03:10 +00:00
Compare commits
No commits in common. "24524c91ec9e62cdec3c8821de0d58a65e301f6f" and "f3534f9411c57d73294a3a5167adc85c3b4ea27f" have entirely different histories.
24524c91ec
...
f3534f9411
@ -28,7 +28,7 @@
|
|||||||
{{
|
{{
|
||||||
studentList.length -
|
studentList.length -
|
||||||
attendance.absent.length -
|
attendance.absent.length -
|
||||||
(!getSetting("display.lateStudentsArePresent")) * attendance.late.length -
|
attendance.late.length -
|
||||||
attendance.exclude.length
|
attendance.exclude.length
|
||||||
}}人
|
}}人
|
||||||
</span>
|
</span>
|
||||||
@ -83,7 +83,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { useDisplay } from "vuetify";
|
import { useDisplay } from "vuetify";
|
||||||
import {getSetting} from "@/utils/settings.js";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AttendanceSidebar",
|
name: "AttendanceSidebar",
|
||||||
@ -107,7 +106,6 @@ export default {
|
|||||||
return { display };
|
return { display };
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSetting,
|
|
||||||
handleClick() {
|
handleClick() {
|
||||||
if (this.isEditingDisabled) {
|
if (this.isEditingDisabled) {
|
||||||
this.$emit('disabled-click');
|
this.$emit('disabled-click');
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
{{ item.data.total - item.data.exclude.length }}/{{
|
{{ item.data.total - item.data.exclude.length }}/{{
|
||||||
item.data.total -
|
item.data.total -
|
||||||
item.data.absent.length -
|
item.data.absent.length -
|
||||||
(!getSetting("display.lateStudentsArePresent")) * item.data.late.length -
|
item.data.late.length -
|
||||||
item.data.exclude.length
|
item.data.exclude.length
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
@ -205,15 +205,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import HitokotoCard from "@/components/HitokotoCard.vue";
|
import HitokotoCard from "@/components/HitokotoCard.vue";
|
||||||
import ConciseExamCard from "@/components/home/ConciseExamCard.vue";
|
import ConciseExamCard from "@/components/home/ConciseExamCard.vue";
|
||||||
import {getSetting} from "@/utils/settings.js";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "HomeworkGrid",
|
name: "HomeworkGrid",
|
||||||
computed: {
|
|
||||||
settings() {
|
|
||||||
return settings
|
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
components: {
|
||||||
HitokotoCard,
|
HitokotoCard,
|
||||||
ConciseExamCard,
|
ConciseExamCard,
|
||||||
@ -302,7 +296,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSetting,
|
|
||||||
async checkReadOnlyStatus() {
|
async checkReadOnlyStatus() {
|
||||||
// 尝试获取父组件中的StudentNameManager引用
|
// 尝试获取父组件中的StudentNameManager引用
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -31,9 +31,6 @@
|
|||||||
<v-divider class="my-2"/>
|
<v-divider class="my-2"/>
|
||||||
<setting-item :setting-key="'display.forceDesktopMode'"/>
|
<setting-item :setting-key="'display.forceDesktopMode'"/>
|
||||||
|
|
||||||
<v-divider class="my-2"/>
|
|
||||||
<setting-item :setting-key="'display.lateStudentsArePresent'"/>
|
|
||||||
|
|
||||||
</v-list>
|
</v-list>
|
||||||
</settings-card>
|
</settings-card>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -179,13 +179,6 @@ const settingsDefinitions = {
|
|||||||
icon: "mdi-monitor",
|
icon: "mdi-monitor",
|
||||||
// 启用后将不判断屏幕大小,强制使用一体机(桌面端)UI布局
|
// 启用后将不判断屏幕大小,强制使用一体机(桌面端)UI布局
|
||||||
},
|
},
|
||||||
"display.lateStudentsArePresent": {
|
|
||||||
type: "boolean",
|
|
||||||
default: false,
|
|
||||||
description: "将迟到人数算入出勤人数",
|
|
||||||
icon: "mdi-clock-fast",
|
|
||||||
// 启用后,迟到的人数也会计入出勤人数
|
|
||||||
},
|
|
||||||
// 服务器设置(合并了数据提供者设置)
|
// 服务器设置(合并了数据提供者设置)
|
||||||
"server.domain": {
|
"server.domain": {
|
||||||
type: "string",
|
type: "string",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user