补考、缓考成绩自动替换

This commit is contained in:
biss committed 2026-08-15 10:17:57 +08:00
1 parent d7d2560587
commit 51b83e9d78
7 files changed
+122 -20

No files matched your search

+3 -3
View File
@@ -432,7 +432,7 @@ async function submitScores() {
scoreSaving.value = true
try {
await http.put(`/makeup-exams/sessions/${scoreSession.value.id}/scores`, entries)
ElMessage.success(`已保存 ${entries.length} 条补考成绩(合格按60分记)`)
ElMessage.success(`已保存 ${entries.length} 条补考成绩(缓考按正常权重计入平时分)`)
scoreDialogVisible.value = false
await load()
} catch (error) { ElMessage.error(apiErrorMessage(error)) }
@@ -642,7 +642,7 @@ onBeforeUnmount(() => {
<div>
<span>MAKE-UP EXAM GRADING</span>
<h3>任课补考成绩录入</h3>
<p>以下为您任课班级的补考场次,补考合格按60分记入最终成绩。</p>
<p>缓考按正常权重计入平时分;普通补考合格按60分记入最终成绩。</p>
</div>
</header>
<div class="exam-timeline">
@@ -874,7 +874,7 @@ onBeforeUnmount(() => {
<el-dialog v-model="scoreDialogVisible" title="录入补考成绩" width="680px">
<template v-if="scoreSession">
<p style="margin-bottom: 12px"><b>{{ scoreSession.courseName }}</b> · {{ dateOnlyText(scoreSession.examDate) }} · {{ scoreSession.enrolledCount }} 名考生</p>
<el-alert type="warning" title="补考合格按60分记入最终成绩" :closable="false" style="margin-bottom: 12px" />
<el-alert type="warning" title="缓考按正常权重计入平时分;普通补考合格按60分记" :closable="false" style="margin-bottom: 12px" />
<el-table :data="scoreSession.enrollments" size="small">
<el-table-column prop="studentNumber" label="学号" width="120" />
<el-table-column prop="name" label="姓名" width="80" />