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