feat: 支持成绩分项与部分学生分批发布
This commit is contained in:
1 parent
31c5880dcf
commit
47215dcdbb
23 files changed
+23982
-72
No files matched your search
+273
-15
@@ -37,6 +37,7 @@ const loading = ref(false)
|
||||
const detailLoading = ref(false)
|
||||
const createDialog = ref(false)
|
||||
const evaluationToolDialog = ref(false)
|
||||
const partialSubmitDialog = ref(false)
|
||||
const returnDialog = ref(false)
|
||||
const termId = ref<string | undefined>()
|
||||
const status = ref<string | undefined>()
|
||||
@@ -55,6 +56,7 @@ const recordKeyword = ref('')
|
||||
const recordPage = ref(1)
|
||||
const recordPageSize = 50
|
||||
const experimentGradeItemId = ref('')
|
||||
const selectedGradeRecords = ref<any[]>([])
|
||||
const createForm = reactive({
|
||||
regularWeight: 30,
|
||||
finalWeight: 70,
|
||||
@@ -67,9 +69,16 @@ const evaluationToolForm = reactive({
|
||||
cMinimum: 70,
|
||||
dMinimum: 60,
|
||||
})
|
||||
const partialSubmitForm = reactive({
|
||||
regularScore: true,
|
||||
finalScore: false,
|
||||
gradeItemIds: [] as string[],
|
||||
finalEvaluation: false,
|
||||
})
|
||||
const newItemName = ref('')
|
||||
const newItemWeight = ref(0)
|
||||
const returnComment = ref('')
|
||||
const returnBatchId = ref<string | null>(null)
|
||||
const autoSaveState = ref<'idle' | 'saving' | 'saved' | 'error'>('idle')
|
||||
let autoSaveTimer: ReturnType<typeof setTimeout> | undefined
|
||||
let savedRecordSnapshot = ''
|
||||
@@ -242,9 +251,12 @@ async function loadDetail() {
|
||||
},
|
||||
})).data
|
||||
detail.value = response.sheet
|
||||
selectedGradeRecords.value = []
|
||||
detail.value.canEdit = response.canEdit
|
||||
detail.value.canReview = response.canReview
|
||||
detail.value.canPublish = response.canPublish
|
||||
detail.value.canReviewBatches = response.canReviewBatches
|
||||
detail.value.canPublishBatches = response.canPublishBatches
|
||||
savedRecordSnapshot = gradeRecordSnapshot()
|
||||
if (!detail.value.items?.some((item: any) => item.id === experimentGradeItemId.value)) {
|
||||
experimentGradeItemId.value =
|
||||
@@ -323,6 +335,115 @@ function gradeRecordPayload() {
|
||||
}))
|
||||
}
|
||||
|
||||
function isSubmitted(record: any, componentType: string, gradeItemId = '00000000-0000-0000-0000-000000000000') {
|
||||
return record.scoreSubmissions?.some((submission: any) =>
|
||||
submission.componentType === componentType && submission.gradeItemId === gradeItemId)
|
||||
}
|
||||
|
||||
function hasSubmittedComponent(record: any) {
|
||||
return Boolean(record.scoreSubmissions?.length)
|
||||
}
|
||||
|
||||
function handleGradeSelectionChange(rows: any[]) {
|
||||
selectedGradeRecords.value = rows
|
||||
}
|
||||
|
||||
function canSelectGradeRecord(record: any) {
|
||||
return !record.publishedAt &&
|
||||
!record.scoreSubmissions?.some((submission: any) => submission.gradeSubmissionBatchId)
|
||||
}
|
||||
|
||||
function openPartialSubmit() {
|
||||
if (!selectedGradeRecords.value.length) {
|
||||
ElMessage.warning('请先勾选要分批提交的学生。')
|
||||
return
|
||||
}
|
||||
partialSubmitForm.regularScore = true
|
||||
partialSubmitForm.finalScore = false
|
||||
partialSubmitForm.gradeItemIds = []
|
||||
partialSubmitForm.finalEvaluation = false
|
||||
partialSubmitDialog.value = true
|
||||
}
|
||||
|
||||
async function submitPartialGrades() {
|
||||
const hasComponent = partialSubmitForm.regularScore || partialSubmitForm.finalScore ||
|
||||
partialSubmitForm.gradeItemIds.length > 0 || partialSubmitForm.finalEvaluation
|
||||
if (!hasComponent) {
|
||||
ElMessage.warning('请至少选择一个成绩分项。')
|
||||
return
|
||||
}
|
||||
try {
|
||||
const records = gradeRecordPayload()
|
||||
await http.put(`/grades/sheets/${detail.value.id}/records`, { records })
|
||||
const result = (await http.post(`/grades/sheets/${detail.value.id}/partial-submit`, {
|
||||
recordIds: selectedGradeRecords.value.map(record => record.id),
|
||||
regularScore: partialSubmitForm.regularScore,
|
||||
finalScore: partialSubmitForm.finalScore,
|
||||
gradeItemIds: partialSubmitForm.gradeItemIds,
|
||||
finalEvaluation: partialSubmitForm.finalEvaluation,
|
||||
})).data
|
||||
partialSubmitDialog.value = false
|
||||
ElMessage.success(`已锁定 ${result.submittedRecordCount} 名学生的 ${result.submittedComponentCount} 个成绩单元`)
|
||||
await loadDetail()
|
||||
} catch (error) {
|
||||
ElMessage.error(apiErrorMessage(error))
|
||||
}
|
||||
}
|
||||
|
||||
async function submitSelectedStudentsForReview() {
|
||||
if (!selectedGradeRecords.value.length) {
|
||||
ElMessage.warning('请先勾选需要提前发布成绩的学生。')
|
||||
return
|
||||
}
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`将提交 ${selectedGradeRecords.value.length} 名学生的完整成绩,之后依次进入学院审核和校级发布。确定继续?`,
|
||||
'提交部分学生成绩审核',
|
||||
{ type: 'warning', confirmButtonText: '确认提交审核', cancelButtonText: '取消' },
|
||||
)
|
||||
const records = gradeRecordPayload()
|
||||
await http.put(`/grades/sheets/${detail.value.id}/records`, { records })
|
||||
await http.post(`/grades/sheets/${detail.value.id}/submit-records`, {
|
||||
recordIds: selectedGradeRecords.value.map(record => record.id),
|
||||
})
|
||||
ElMessage.success('所选学生成绩已提交学院审核')
|
||||
await loadDetail()
|
||||
} catch (error: any) {
|
||||
if (error !== 'cancel' && error !== 'close') ElMessage.error(apiErrorMessage(error))
|
||||
}
|
||||
}
|
||||
|
||||
async function approveSubmissionBatch(batch: any) {
|
||||
try {
|
||||
await http.post(`/grades/submission-batches/${batch.id}/approve`)
|
||||
ElMessage.success('该批学生成绩已通过学院审核')
|
||||
await loadDetail()
|
||||
} catch (error) {
|
||||
ElMessage.error(apiErrorMessage(error))
|
||||
}
|
||||
}
|
||||
|
||||
function openReturnBatch(batch: any) {
|
||||
returnBatchId.value = batch.id
|
||||
returnComment.value = ''
|
||||
returnDialog.value = true
|
||||
}
|
||||
|
||||
async function publishSubmissionBatch(batch: any) {
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`发布后,该批 ${batch.studentCount} 名学生将立即看到成绩并计入正式学业结果。确定发布?`,
|
||||
'发布部分学生成绩',
|
||||
{ type: 'warning', confirmButtonText: '确认发布', cancelButtonText: '取消' },
|
||||
)
|
||||
await http.post(`/grades/submission-batches/${batch.id}/publish`)
|
||||
ElMessage.success('该批学生成绩已正式发布')
|
||||
await loadDetail()
|
||||
} catch (error: any) {
|
||||
if (error !== 'cancel' && error !== 'close') ElMessage.error(apiErrorMessage(error))
|
||||
}
|
||||
}
|
||||
|
||||
async function applyEvaluationTool() {
|
||||
try {
|
||||
await http.put(`/grades/sheets/${detail.value.id}/records`, {
|
||||
@@ -399,8 +520,11 @@ async function importExperimentScores() {
|
||||
const missingHint = result.missingCount > 0
|
||||
? `;${result.missingCount} 名学生因实验成绩尚未完整发布而保持空白`
|
||||
: ''
|
||||
const lockedHint = result.lockedCount > 0
|
||||
? `;${result.lockedCount} 名已提交学生保持原成绩`
|
||||
: ''
|
||||
ElMessage.success(
|
||||
`已从 ${result.publishedProjectCount} 个实验项目导入 ${result.importedCount} 名学生的成绩快照${missingHint}`,
|
||||
`已从 ${result.publishedProjectCount} 个实验项目导入 ${result.importedCount} 名学生的成绩快照${missingHint}${lockedHint}`,
|
||||
)
|
||||
await loadDetail()
|
||||
} catch (error) {
|
||||
@@ -465,6 +589,7 @@ async function approveSheet() {
|
||||
}
|
||||
|
||||
function openReturn() {
|
||||
returnBatchId.value = null
|
||||
returnComment.value = ''
|
||||
returnDialog.value = true
|
||||
}
|
||||
@@ -475,12 +600,16 @@ async function returnSheet() {
|
||||
return
|
||||
}
|
||||
try {
|
||||
await http.post(`/grades/sheets/${detail.value.id}/return`, {
|
||||
const url = returnBatchId.value
|
||||
? `/grades/submission-batches/${returnBatchId.value}/return`
|
||||
: `/grades/sheets/${detail.value.id}/return`
|
||||
await http.post(url, {
|
||||
comment: returnComment.value,
|
||||
})
|
||||
returnDialog.value = false
|
||||
ElMessage.success('成绩单已退回教师修改')
|
||||
await load()
|
||||
ElMessage.success(returnBatchId.value ? '该批学生成绩已退回教师修改' : '成绩单已退回教师修改')
|
||||
if (returnBatchId.value) await loadDetail()
|
||||
else await load()
|
||||
} catch (error) {
|
||||
ElMessage.error(apiErrorMessage(error))
|
||||
}
|
||||
@@ -707,6 +836,9 @@ onMounted(async () => {
|
||||
<small>{{ task.teacherNames.join('、') }} · {{ task.classNames.join('、') }}</small>
|
||||
<i :class="task.sheet?.status?.toLowerCase()">
|
||||
{{ task.sheet ? statusLabels[task.sheet.status] : '未建册' }}{{ task.sheet?.isArchived ? ' · 已归档' : '' }}
|
||||
<template v-if="task.sheet?.pendingBatchCount"> · {{ task.sheet.pendingBatchCount }} 批待审核</template>
|
||||
<template v-else-if="task.sheet?.approvedBatchCount"> · {{ task.sheet.approvedBatchCount }} 批待发布</template>
|
||||
<template v-else-if="task.sheet?.partialPublishedStudentCount && task.sheet.status !== 'Published'"> · {{ task.sheet.partialPublishedStudentCount }} 人已提前发布</template>
|
||||
</i>
|
||||
</button>
|
||||
<el-empty v-if="!tasks.length" description="没有可管理的教学班" />
|
||||
@@ -767,6 +899,46 @@ onMounted(async () => {
|
||||
show-icon
|
||||
/>
|
||||
|
||||
<section v-if="detail.submissionBatches?.length" class="grade-submission-batches">
|
||||
<header>
|
||||
<div>
|
||||
<b>部分学生成绩发布批次</b>
|
||||
<small>每个批次独立经过学院审核和校级发布</small>
|
||||
</div>
|
||||
</header>
|
||||
<article v-for="batch in detail.submissionBatches" :key="batch.id">
|
||||
<div class="batch-summary">
|
||||
<i :class="batch.status.toLowerCase()">{{ statusLabels[batch.status] }}</i>
|
||||
<b>{{ batch.studentCount }} 名学生</b>
|
||||
<span>{{ batch.students.map((student: any) => student.name).join('、') }}{{ batch.studentCount > batch.students.length ? ' 等' : '' }}</span>
|
||||
<small v-if="batch.reviewComment">退回意见:{{ batch.reviewComment }}</small>
|
||||
</div>
|
||||
<div class="batch-actions">
|
||||
<el-button
|
||||
v-if="detail.canReviewBatches && batch.status === 'Submitted'"
|
||||
type="danger"
|
||||
plain
|
||||
size="small"
|
||||
@click="openReturnBatch(batch)"
|
||||
>退回</el-button>
|
||||
<el-button
|
||||
v-if="detail.canReviewBatches && batch.status === 'Submitted'"
|
||||
type="success"
|
||||
size="small"
|
||||
:icon="Check"
|
||||
@click="approveSubmissionBatch(batch)"
|
||||
>审核通过</el-button>
|
||||
<el-button
|
||||
v-if="detail.canPublishBatches && batch.status === 'Approved'"
|
||||
type="primary"
|
||||
size="small"
|
||||
:icon="Promotion"
|
||||
@click="publishSubmissionBatch(batch)"
|
||||
>正式发布</el-button>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="grade-record-toolbar">
|
||||
<el-input
|
||||
v-model="recordKeyword"
|
||||
@@ -777,16 +949,40 @@ onMounted(async () => {
|
||||
@clear="searchRecords"
|
||||
/>
|
||||
<el-button :icon="Search" @click="searchRecords">查找学生</el-button>
|
||||
<el-button
|
||||
v-if="detail.canEdit"
|
||||
plain
|
||||
:disabled="!selectedGradeRecords.length"
|
||||
@click="openPartialSubmit"
|
||||
>提交所选分项({{ selectedGradeRecords.length }})</el-button>
|
||||
<el-button
|
||||
v-if="detail.canEdit"
|
||||
type="primary"
|
||||
:disabled="!selectedGradeRecords.length"
|
||||
@click="submitSelectedStudentsForReview"
|
||||
>提交所选学生审核</el-button>
|
||||
<span>每页最多显示 {{ recordPageSize }} 人,当前第 {{ detail.recordPage }} 页</span>
|
||||
</section>
|
||||
|
||||
<div class="grade-table-scroll">
|
||||
<el-table :data="detail.records" class="data-table grade-entry-table">
|
||||
<el-table
|
||||
:data="detail.records"
|
||||
class="data-table grade-entry-table"
|
||||
@selection-change="handleGradeSelectionChange"
|
||||
>
|
||||
<el-table-column
|
||||
v-if="detail.canEdit"
|
||||
type="selection"
|
||||
fixed
|
||||
width="44"
|
||||
:selectable="canSelectGradeRecord"
|
||||
/>
|
||||
<el-table-column label="学生" fixed min-width="165">
|
||||
<template #default="{ row }">
|
||||
<div class="record-name">
|
||||
<b>{{ row.name }}</b>
|
||||
<span>{{ row.studentNumber }} · {{ row.className }}</span>
|
||||
<small v-if="row.publishedAt" class="published-record">已提前发布</small>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -801,11 +997,14 @@ onMounted(async () => {
|
||||
@keydown="handleScoreGridKeydown"
|
||||
>
|
||||
<el-input-number
|
||||
v-if="detail.canEdit && ['Normal', 'Deferred'].includes(row.examStatus)"
|
||||
v-if="detail.canEdit && !isSubmitted(row, 'RegularScore') && ['Normal', 'Deferred'].includes(row.examStatus)"
|
||||
v-model="row.regularScore"
|
||||
:min="0" :max="100" :controls="false" size="small"
|
||||
/>
|
||||
<span v-else>{{ row.regularScore ?? '—' }}</span>
|
||||
<span v-else class="item-score-readonly">
|
||||
{{ row.regularScore ?? '—' }}
|
||||
<small v-if="isSubmitted(row, 'RegularScore')">已提交</small>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -825,14 +1024,15 @@ onMounted(async () => {
|
||||
@keydown="handleScoreGridKeydown"
|
||||
>
|
||||
<el-input-number
|
||||
v-if="detail.canEdit && ['Normal', 'Deferred'].includes(row.examStatus) && item.sourceType !== 'ExperimentSummary'"
|
||||
v-if="detail.canEdit && !isSubmitted(row, 'GradeItemScore', item.id) && ['Normal', 'Deferred'].includes(row.examStatus) && item.sourceType !== 'ExperimentSummary'"
|
||||
:model-value="itemScore(row, item.id)?.score"
|
||||
@update:model-value="(val: number | undefined) => { const found = itemScore(row, item.id); if (found) found.score = val }"
|
||||
:min="0" :max="100" :controls="false" size="small"
|
||||
/>
|
||||
<span v-else class="item-score-readonly">
|
||||
{{ itemScore(row, item.id)?.score ?? '—' }}
|
||||
<small v-if="item.sourceType === 'ExperimentSummary'">已锁定</small>
|
||||
<small v-if="isSubmitted(row, 'GradeItemScore', item.id)">已提交</small>
|
||||
<small v-else-if="item.sourceType === 'ExperimentSummary'">已锁定</small>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -848,11 +1048,14 @@ onMounted(async () => {
|
||||
@keydown="handleScoreGridKeydown"
|
||||
>
|
||||
<el-input-number
|
||||
v-if="detail.canEdit && row.examStatus === 'Normal'"
|
||||
v-if="detail.canEdit && !isSubmitted(row, 'FinalScore') && row.examStatus === 'Normal'"
|
||||
v-model="row.finalScore"
|
||||
:min="0" :max="100" :controls="false" size="small"
|
||||
/>
|
||||
<span v-else>{{ row.finalScore ?? '—' }}</span>
|
||||
<span v-else class="item-score-readonly">
|
||||
{{ row.finalScore ?? '—' }}
|
||||
<small v-if="isSubmitted(row, 'FinalScore')">已提交</small>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -874,7 +1077,7 @@ onMounted(async () => {
|
||||
<el-table-column v-if="detail.evaluationMethod !== 'Percentage'" label="最终评价" width="125">
|
||||
<template #default="{ row }">
|
||||
<el-select
|
||||
v-if="detail.canEdit && ['Normal', 'Deferred', 'Makeup'].includes(row.examStatus)"
|
||||
v-if="detail.canEdit && !isSubmitted(row, 'FinalEvaluation') && ['Normal', 'Deferred', 'Makeup'].includes(row.examStatus)"
|
||||
v-model="row.result"
|
||||
clearable
|
||||
size="small"
|
||||
@@ -886,12 +1089,15 @@ onMounted(async () => {
|
||||
:value="value"
|
||||
/>
|
||||
</el-select>
|
||||
<b v-else :class="{ 'is-failed': row.isPassed === false }">{{ gradeResultLabels[row.result] ?? '—' }}</b>
|
||||
<span v-else class="item-score-readonly">
|
||||
<b :class="{ 'is-failed': row.isPassed === false }">{{ gradeResultLabels[row.result] ?? '—' }}</b>
|
||||
<small v-if="isSubmitted(row, 'FinalEvaluation')">已提交</small>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="考试状态" width="115">
|
||||
<template #default="{ row }">
|
||||
<el-select v-if="detail.canEdit" v-model="row.examStatus" size="small">
|
||||
<el-select v-if="detail.canEdit && !hasSubmittedComponent(row)" v-model="row.examStatus" size="small">
|
||||
<el-option v-for="(label, value) in examStatusLabels" :key="value" :label="label" :value="value" />
|
||||
</el-select>
|
||||
<span v-else>{{ examStatusLabels[row.examStatus] }}</span>
|
||||
@@ -949,6 +1155,8 @@ onMounted(async () => {
|
||||
<el-button v-if="detail.canEdit" :icon="Upload" @click="chooseImportFile">Excel导入</el-button>
|
||||
<el-button v-if="detail.canEdit && detail.evaluationMethod !== 'Percentage'" :icon="Refresh" @click="evaluationToolDialog = true">定级工具</el-button>
|
||||
<el-button v-if="detail.canEdit" :icon="EditPen" @click="saveRecords()">保存成绩</el-button>
|
||||
<el-button v-if="detail.canEdit" plain :icon="DocumentChecked" @click="openPartialSubmit">提交所选分项</el-button>
|
||||
<el-button v-if="detail.canEdit" type="primary" plain :icon="Promotion" @click="submitSelectedStudentsForReview">提交所选学生审核</el-button>
|
||||
<el-button v-if="detail.canEdit" type="primary" :icon="Promotion" @click="submitSheet">提交审核</el-button>
|
||||
<el-button v-if="detail.canReview" type="danger" plain @click="openReturn">退回修改</el-button>
|
||||
<el-button v-if="detail.canReview" type="success" :icon="Check" @click="approveSheet">审核通过</el-button>
|
||||
@@ -1018,6 +1226,39 @@ onMounted(async () => {
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog v-model="partialSubmitDialog" title="分批提交成绩" width="560px">
|
||||
<el-alert
|
||||
:title="`已选择 ${selectedGradeRecords.length} 名学生`"
|
||||
description="提交后所选学生的对应成绩分项会立即锁定;其他学生和未选分项仍可继续录入。整单提交审核前,学生不会看到这些成绩。"
|
||||
type="info"
|
||||
:closable="false"
|
||||
show-icon
|
||||
style="margin-bottom:16px"
|
||||
/>
|
||||
<el-form label-position="top">
|
||||
<el-form-item label="选择本次提交的成绩分项" required>
|
||||
<el-checkbox v-model="partialSubmitForm.regularScore">
|
||||
平时成绩({{ detail?.regularWeight }}%)
|
||||
</el-checkbox>
|
||||
<el-checkbox-group v-model="partialSubmitForm.gradeItemIds" class="partial-submit-items">
|
||||
<el-checkbox v-for="item in detail?.items ?? []" :key="item.id" :value="item.id">
|
||||
{{ item.name }}({{ item.weight }}%)
|
||||
</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
<el-checkbox v-model="partialSubmitForm.finalScore">
|
||||
期末成绩({{ detail?.finalWeight }}%)
|
||||
</el-checkbox>
|
||||
<el-checkbox v-if="detail?.evaluationMethod !== 'Percentage'" v-model="partialSubmitForm.finalEvaluation">
|
||||
最终评价
|
||||
</el-checkbox>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="partialSubmitDialog = false">取消</el-button>
|
||||
<el-button type="primary" @click="submitPartialGrades">确认分批提交</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog v-model="evaluationToolDialog" title="教师定级工具" width="560px">
|
||||
<el-alert
|
||||
title="按当前成绩构成计算的总分批量生成最终评价,生成后仍可逐一调整。"
|
||||
@@ -1045,7 +1286,7 @@ onMounted(async () => {
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog v-model="returnDialog" title="退回成绩单" width="560px">
|
||||
<el-dialog v-model="returnDialog" :title="returnBatchId ? '退回部分学生成绩' : '退回成绩单'" width="560px">
|
||||
<el-form label-position="top">
|
||||
<el-form-item label="修改意见" required>
|
||||
<el-input v-model="returnComment" type="textarea" :rows="4" maxlength="500" show-word-limit />
|
||||
@@ -1073,6 +1314,23 @@ onMounted(async () => {
|
||||
.item-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #eef5f0; border-radius: 4px; }
|
||||
.item-row > span:first-child { flex: 1; font-size: 13px; font-weight: 650; }
|
||||
.add-item-row { display: flex; align-items: center; gap: 8px; }
|
||||
.partial-submit-items { display: grid; width: 100%; padding-left: 24px; }
|
||||
.grade-submission-batches { margin: 12px 16px 0; border: 1px solid #d8e2ef; border-radius: 8px; background: #f8fbff; }
|
||||
.grade-submission-batches > header { padding: 10px 12px; border-bottom: 1px solid #d8e2ef; }
|
||||
.grade-submission-batches > header div { display: flex; align-items: baseline; gap: 10px; }
|
||||
.grade-submission-batches > header small { color: var(--muted); }
|
||||
.grade-submission-batches article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
|
||||
.grade-submission-batches article + article { border-top: 1px solid #e5ebf3; }
|
||||
.batch-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.batch-summary i { padding: 2px 7px; border-radius: 999px; background: #e7edf6; font-style: normal; font-size: 11px; }
|
||||
.batch-summary i.submitted { color: #8a5a00; background: #fff1ce; }
|
||||
.batch-summary i.approved { color: #176b52; background: #dff4eb; }
|
||||
.batch-summary i.published { color: #315a9b; background: #e4edfb; }
|
||||
.batch-summary i.returned { color: #a33b35; background: #fde7e5; }
|
||||
.batch-summary span, .batch-summary small { color: var(--muted); font-size: 12px; }
|
||||
.batch-summary small { width: 100%; }
|
||||
.batch-actions { display: flex; gap: 6px; flex-shrink: 0; }
|
||||
.record-name .published-record { color: #2d8975; font-size: 10px; font-weight: 700; }
|
||||
|
||||
.score-cell {
|
||||
min-height: 30px;
|
||||
|
||||
Reference in new issue
Block a user