教师端数据看板: - 新增 TeacherDashboardResponse/TeacherLessonVO/TeacherLessonTrendVO - 新增 TeacherWeeklyStatsResponse 周统计响应 - 新增 TeacherActivityLevel 枚举和 TeacherActivityRankResponse 活跃度排行 - 实现教师端课程统计、任务完成详情、任务反馈接口 学校端课程统计: - 新增 CourseUsageVO/CourseUsageStatsVO/CoursePackageVO - 新增 SchoolCourseResponse 和学校端课程使用查询接口 - 实现学校端统计数据和课程趋势接口 用户资料功能: - 新增 UpdateProfileRequest/UpdateProfileResponse - 实现用户资料更新接口 前后端对齐: - 更新 OpenAPI 规范和前端 API 类型生成 - 优化 DashboardView 组件和 API 调用 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
974 B
TypeScript
40 lines
974 B
TypeScript
/**
|
||
* Generated by orval v8.5.3 🍺
|
||
* Do not edit manually.
|
||
* Reading Platform API
|
||
* Reading Platform Backend Service API Documentation
|
||
* OpenAPI spec version: 1.0.0
|
||
*/
|
||
import type { StudentInfo } from './studentInfo';
|
||
import type { TaskFeedbackResponse } from './taskFeedbackResponse';
|
||
|
||
/**
|
||
* 任务完成详情响应
|
||
*/
|
||
export interface TaskCompletionDetailResponse {
|
||
/** 完成记录ID */
|
||
id?: number;
|
||
/** 任务ID */
|
||
taskId?: number;
|
||
/** 任务标题 */
|
||
taskTitle?: string;
|
||
student?: StudentInfo;
|
||
/** 状态:PENDING/SUBMITTED/REVIEWED */
|
||
status?: string;
|
||
/** 状态文本:待完成/已提交/已评价 */
|
||
statusText?: string;
|
||
/** 照片URL数组 */
|
||
photos?: string[];
|
||
/** 视频URL */
|
||
videoUrl?: string;
|
||
/** 语音URL */
|
||
audioUrl?: string;
|
||
/** 完成内容/阅读心得 */
|
||
content?: string;
|
||
/** 提交时间 */
|
||
submittedAt?: string;
|
||
/** 评价时间 */
|
||
reviewedAt?: string;
|
||
feedback?: TaskFeedbackResponse;
|
||
}
|