Compare commits
11
Commits
bb7a832290
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e817430f95 | ||
|
|
60e531a447 | ||
|
|
4b6f71c585 | ||
|
|
fa4e2689db | ||
|
|
34c8908cee | ||
|
|
99aff5835f | ||
|
|
d075c4da5d | ||
|
|
cbc7c4f86d | ||
|
|
66cdf7c5a1 | ||
|
|
0749e0b9c5 | ||
|
|
b4ad6026cc |
File diff suppressed because one or more lines are too long
@@ -238,7 +238,7 @@ onMounted(async () => {
|
||||
<span style="color: #515a6e">待批作业:</span>
|
||||
<Select :model-value="serid" style="width: 380px" placeholder="选择一份有待批的作业" filterable :loading="loadingHw" @on-change="pickHw">
|
||||
<Option v-for="hw in homeworks" :key="hw.id" :value="hw.id">
|
||||
{{ hw.subjectName ? hw.subjectName + " · " : "" }}{{ hw.title }}(待批 {{ hw.progress!.pendingGrade }})
|
||||
{{ hw.subject ? hw.subject + " · " : "" }}{{ hw.title }}(待批 {{ hw.progress!.pendingGrade }})
|
||||
</Option>
|
||||
</Select>
|
||||
</div>
|
||||
|
||||
@@ -170,7 +170,7 @@ function statusCell(h: any, code: string, text?: string) {
|
||||
const columns = [
|
||||
{ title: "序号", type: "index", width: 76, align: "center" },
|
||||
{ title: "标题", key: "title", minWidth: 300, align: "left", tooltip: true },
|
||||
{ title: "学科", key: "subjectName", width: 120, align: "center" },
|
||||
{ title: "学科", key: "subject", width: 120, align: "center" },
|
||||
{
|
||||
title: "班级",
|
||||
width: 190,
|
||||
|
||||
@@ -43,7 +43,7 @@ const HW_STATUS_TEXT: Record<string, string> = { draft: "草稿", collecting: "
|
||||
/** 各作业进度表列(render 显式标注 h/p 类型,避免隐式 any) */
|
||||
const hwColumns = [
|
||||
{ title: "作业", key: "title", minWidth: 220, tooltip: true },
|
||||
{ title: "学科", key: "subjectName", width: 90, align: "center" },
|
||||
{ title: "学科", key: "subject", width: 90, align: "center" },
|
||||
{
|
||||
title: "状态",
|
||||
width: 100,
|
||||
|
||||
@@ -358,7 +358,7 @@ const pubColumns = computed(() => [
|
||||
() => p.row.title
|
||||
),
|
||||
},
|
||||
{ title: "学科", key: "subjectName", width: 120, align: "center" },
|
||||
{ title: "学科", key: "subject", width: 120, align: "center" },
|
||||
{
|
||||
title: "班级",
|
||||
width: 190,
|
||||
@@ -446,7 +446,7 @@ function onPubMore(name: string, row: HomeworkV2Vo) {
|
||||
const draftColumns = computed(() => [
|
||||
{ title: "序号", type: "index", width: 76, align: "center" },
|
||||
{ title: "标题", key: "title", minWidth: 300, align: "left", tooltip: true },
|
||||
{ title: "学科", key: "subjectName", width: 120, align: "center" },
|
||||
{ title: "学科", key: "subject", width: 120, align: "center" },
|
||||
{
|
||||
title: "班级",
|
||||
width: 190,
|
||||
|
||||
Reference in New Issue
Block a user