integrated_traffic_vue/src/request/online_learn_exam.js

56 lines
3.5 KiB
JavaScript
Raw Normal View History

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); // 视频课件维护修改
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); // 试卷管理可选题列表