feat(plan): 添加生成学案功能及界面支持
- 新增 AddLessonPlanReqVO 数据模型用于生成学案请求参数封装 - 新增 LessonPlanController 提供生成学案的后端接口,支持异步任务执行 - 新增 LessonPlanDialog 组件,实现前端学案生成弹窗及交互逻辑 - 在班级页面添加生成学案按钮,支持单个学生选择后调用弹窗 - 添加 plan.js 接口调用封装,调用后端生成学案接口 - 完成前后端联动,实现生成学案操作的完整流程和提示信息
This commit is contained in:
8
enlish-vue/src/api/plan.js
Normal file
8
enlish-vue/src/api/plan.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import axios from "@/axios";
|
||||
|
||||
export function generateLessonPlan(studentId, unitId) {
|
||||
return axios.post('/plan/generate', {
|
||||
studentId: studentId,
|
||||
unitId: unitId
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user