mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
55 lines
1.9 KiB
JavaScript
55 lines
1.9 KiB
JavaScript
import http from "./config";
|
|
|
|
/**
|
|
* 1
|
|
*/
|
|
//添加课程学员
|
|
export const addStudent = (obj) =>
|
|
http.post("/admin/offcourse/addStudent", obj);
|
|
//删除开课
|
|
export const deletePlan = (obj) =>
|
|
http.delete(
|
|
"/admin/offcourse/deletePlan",
|
|
{ params: obj },
|
|
{
|
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
}
|
|
);
|
|
//获取面授课详情
|
|
export const detail = (obj) =>
|
|
http.post("/admin/offcourse/detail", obj, {
|
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
});
|
|
//获取面授课开课详情
|
|
export const detailPlan = (obj) =>
|
|
http.post("/admin/offcourse/detailPlan", obj, {
|
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
});
|
|
//新建或编辑面授课
|
|
export const edit = (obj) => http.post("/admin/offcourse/edit", obj);
|
|
//新建或编辑面授课开课
|
|
export const editPlan = (obj) => http.post("/admin/offcourse/editPlan", obj);
|
|
//课程导出
|
|
export const exportP = (obj) => http.post("/admin/offcourse/export", obj);
|
|
//操作面授课(发布,撤回,删除,审核,停用)
|
|
export const handle = (obj) => http.post("/admin/offcourse/handle", obj);
|
|
//学员操作-支持批量
|
|
export const handleStudent = (obj) =>
|
|
http.post("/admin/offcourse/handleStudent", obj);
|
|
//获取面授课列表
|
|
export const list = (obj) => http.post("/admin/offcourse/list", obj);
|
|
//获取面授课已审核列表
|
|
export const listReview = (obj) =>
|
|
http.post("/admin/offcourse/listReview", obj);
|
|
//面授课开课列表
|
|
export const planList = (obj) => http.post("/admin/offcourse/planList", obj);
|
|
//学员导出
|
|
export const studentExport = (obj) =>
|
|
http.post("/admin/offcourse/studentExport", obj);
|
|
//获取学员列表
|
|
export const studentList = (obj) =>
|
|
http.post("/admin/offcourse/studentList", obj);
|
|
//学习记录列表
|
|
export const studyRecordList = (obj) =>
|
|
http.post("/admin/offcourse/studyRecordList", obj);
|