feat(plan): 添加学生学案历史查询及展示功能
- 新增FindStudentPlanHistoryReqVO和FindStudentPlanHistoryListRspVO数据对象 - 将LessonPlansDO及StudentLessonPlansDO中日期类型由Date改为LocalDateTime - LessonPlansServiceImpl中创建时间使用LocalDateTime.now() - StudentLessonPlansService及实现类添加按学生ID查询学案历史接口 - StudentLessonPlansDOMapper及XML添加按学生ID查询学案历史SQL映射 - StudentLessonPlansController新增/history接口返回学生学案历史列表 - 前端student.vue新增学案历史图表PlanHistoryChart组件展示学案历史数据 - 新增PlanHistoryChart.vue组件,实现基于echarts的学案历史折线图 - studentLessonPlans.js新增findStudentPlanHistory接口调用后端学案历史数据接口
This commit is contained in:
@@ -14,3 +14,9 @@ export function finishLessonPlan(studentId, planId) {
|
||||
planId: planId
|
||||
})
|
||||
}
|
||||
|
||||
export function findStudentPlanHistory(studentId) {
|
||||
return axios.post('/studentLessonPlans/history', {
|
||||
studentId: studentId
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user