diff --git a/playground/src/api/service/org/teacher-kanban.ts b/playground/src/api/service/org/teacher-kanban.ts index ad8ce40..c72e1db 100644 --- a/playground/src/api/service/org/teacher-kanban.ts +++ b/playground/src/api/service/org/teacher-kanban.ts @@ -64,3 +64,35 @@ export async function getClassHomeworkList( const res = await get('/school/report/classHomework/list', params) return res ?? {} } + +/** AI 批改看板 - 概览数据 */ +export interface AiCorrectionOverview { + classId: number | string + className: string + aiPaperCount: number + aiTitleCount: number + teacherSaveTimeMinutes: number + excellentCount: number + excellentRate: number + goodCount: number + goodRate: number + passCount: number + passRate: number + unsubmittedCount: number + unsubmittedRate: number +} + +export interface AiCorrectionParams { + classId: string + schoolId?: string + subjectIds?: number[] + startTime?: string + endTime?: string +} + +export async function getAiCorrectionOverview( + params: AiCorrectionParams, +): Promise { + const res = await get('/school/report/aiCorrectionEfficiency/overview', params) + return res ?? {} +} diff --git a/playground/src/views/org/teacherKanban/home.vue b/playground/src/views/org/teacherKanban/home.vue index 3b2fd1d..34f9a8c 100644 --- a/playground/src/views/org/teacherKanban/home.vue +++ b/playground/src/views/org/teacherKanban/home.vue @@ -1,5 +1,6 @@