2024-01-11 14:57:20 +08:00
|
|
|
import { post, upload } from "@/request/axios.js";
|
|
|
|
|
|
|
|
export const getVideoCoursewareList = (params) =>
|
2024-01-19 17:41:26 +08:00
|
|
|
post("/videocourseware/list", params); // 视频课件维护列表
|
|
|
|
export const getVideoCoursewareView = (params) =>
|
|
|
|
post("/videocourseware/goEdit", params); // 视频课件维护查看
|
|
|
|
export const setVideoCoursewareState = (params) =>
|
|
|
|
post("/videocourseware/editState", params); // 视频课件维护启用禁用
|
|
|
|
export const setVideoCoursewareDelete = (params) =>
|
|
|
|
post("/videocourseware/delete", params); // 视频课件维护删除
|
|
|
|
export const setVideoCoursewareAdd = (params) =>
|
|
|
|
post("/videocourseware/add", params); // 视频课件维护添加
|
|
|
|
export const setVideoCoursewareEdit = (params) =>
|
|
|
|
post("/videocourseware/edit", params); // 视频课件维护修改
|
2024-01-11 14:57:20 +08:00
|
|
|
export const getDataCoursewareList = (params) =>
|
2024-01-19 17:41:26 +08:00
|
|
|
post("/datacourseware/list", params); // 资料课件维护列表
|
|
|
|
export const getDataCoursewareView = (params) =>
|
|
|
|
post("/datacourseware/goEdit", params); // 资料课件维护查看
|
|
|
|
export const setDataCoursewareState = (params) =>
|
|
|
|
post("/datacourseware/editState", params); // 资料课件维护启用禁用
|
|
|
|
export const setDataCoursewareDelete = (params) =>
|
|
|
|
post("/datacourseware/delete", params); // 资料课件维护删除
|
|
|
|
export const setDataCoursewareAdd = (params) =>
|
|
|
|
upload("/datacourseware/add", params); // 资料课件维护添加
|
|
|
|
export const setDataCoursewareEdit = (params) =>
|
|
|
|
upload("/datacourseware/edit", params); // 资料课件维护修改
|
|
|
|
export const getExercisesList = (params) => post("/question/list", params); // 课件习题列表
|
|
|
|
export const setExercisesDelete = (params) => post("/question/delete", params); // 删除课件习题
|
|
|
|
export const setExercisesDeleteBatch = (params) =>
|
|
|
|
post("/question/deleteAll", params); // 批量删除课件习题
|
|
|
|
export const setExercisesImport = (params) =>
|
|
|
|
upload("/question/readExcel", params); // 导入课件习题
|
|
|
|
export const setExercisesAdd = (params) => post("/question/add", params); // 新增课件习题
|
|
|
|
export const setExercisesEdit = (params) => post("/question/edit", params); // 修改课件习题
|
|
|
|
export const getCurriculumList = (params) => post("/curriculum/list", params); // 课程管理列表
|
|
|
|
export const getCurriculumView = (params) => post("/curriculum/goEdit", params); // 课程管理查看
|
|
|
|
export const setCurriculumDelete = (params) =>
|
|
|
|
post("/curriculum/delete", params); // 课程管理删除
|
2024-01-20 14:13:41 +08:00
|
|
|
export const setCurriculumAdd = (params) => upload("/curriculum/add", params); // 课程管理添加
|
|
|
|
export const setCurriculumEdit = (params) => upload("/curriculum/edit", params); // 课程管理修改
|
|
|
|
export const setCurriculumInherit = (params) =>
|
|
|
|
upload("/curriculum/inherit", params); // 课程管理继承
|
2024-01-20 17:18:25 +08:00
|
|
|
export const getPaperList = (params) =>
|
|
|
|
post("/stageexampaperinput/list", params); // 试卷管理列表
|
|
|
|
export const getPaperView = (params) =>
|
|
|
|
post("/stageexampaperinput/goEdit", params); // 试卷管理查看
|
|
|
|
export const setPaperDelete = (params) =>
|
|
|
|
post("/stageexampaperinput/delete", params); // 试卷管理删除
|
|
|
|
export const setPaperState = (params) =>
|
|
|
|
post("/stageexampaperinput/editState", params); // 试卷管理启用禁用
|
|
|
|
export const getPaperQuestionsNumber = (params) =>
|
|
|
|
post("/question/getCountByQuestionType", params); // 试卷管理可选题数
|
|
|
|
export const setPaperAdd = (params) => post("/stageexampaperinput/add", params); // 试卷管理添加
|
|
|
|
export const getPaperQuestionsList = (params) =>
|
|
|
|
post("/question/getQuestionList", params); // 试卷管理可选题列表
|
2024-01-22 15:55:37 +08:00
|
|
|
export const getTaskList = (params) => post("/studytask/list", params); // 任务管理列表
|
|
|
|
export const getTaskViewInfo = (params) => post("/studytask/goEdit", params); // 任务管理查看
|
|
|
|
export const getTaskViewUserList = (params) =>
|
|
|
|
post("/stagestudentrelation/listAllByStudyTaskId", params); // 任务管理查看人员
|
|
|
|
export const getTaskViewExaminationList = (params) =>
|
|
|
|
post("/stageexampaper/getPageDataByStudyTaskId", params); // 任务管理查看考试
|
|
|
|
export const setTaskAdd = (params) => post("/studytask/add", params); // 任务管理添加
|
|
|
|
export const setTaskUpdate = (params) =>
|
|
|
|
post("/studytask/updateEndTimeAndUser", params); // 任务管理修改
|
|
|
|
export const getTaskLearningDetailsList = (params) =>
|
|
|
|
post("/studytask/getAllByuserInfo", params); // 任务管理学习详情
|
|
|
|
export const getTaskExamDetailsList = (params) =>
|
|
|
|
post("/stagestudentrelation/list", params); // 任务管理考试详情列表
|
|
|
|
export const getTaskExamPaperDetails = (params) =>
|
|
|
|
post("/stageexam/findResult", params); // 任务管理考卷详情查看
|
2024-01-24 18:08:04 +08:00
|
|
|
export const getMyTaskList = (params) =>
|
|
|
|
post("/stagestudentrelation/pageTaskByUser", params); // 我的任务列表
|
|
|
|
export const setMyTaskSign = (params) =>
|
|
|
|
post("/stagestudentrelation/sign", params); // 我的任务签字
|
|
|
|
export const getMyTasksStartLearningList = (params) =>
|
|
|
|
post("/kcmiddlekj/list", params); // 我的任务开始学习列表
|
|
|
|
export const setMyTasksVideoProgress = (params) =>
|
|
|
|
post("/coursestudyvideorecord/save", params); // 我的任务存视频播放进度
|
|
|
|
export const getMyTasksVideoProgress = (params) =>
|
|
|
|
post("/coursestudyvideorecord/getVideoProgress", params); // 我的任务获取视频播放进度
|
|
|
|
export const getMyTasksTaskExamExamPaperInfo = (params) =>
|
|
|
|
post("/stageexampaper/getExam", params); // 我的任务任务考试试卷信息
|
|
|
|
export const setMyTasksTaskExamSubmit = (params) =>
|
|
|
|
post("/stageexam/submit", params); // 我的任务任务考试交卷
|