import http from "./config";

//获取项目学员列表
export const getProjStu = (obj) => http.post('/admin/project/studentList', obj)

//删除学员
export const deleteStu = (obj) => http.post('/admin/project/deleteStudent', obj)

//获取小组列表
export const getGroupList = (obj) => http.post('/admin/project/groupList', obj)

//删除小组
export const deleteGroup = (obj) => http.delete('/admin/project/deleteGroup', { params: obj })

//新增或编辑小组
export const editGroup = (obj) => http.post('/admin/project/editGroup', obj)

//查看学员
export const studentProcess = (obj) => http.get('/admin/project/studentProcess', { params: obj })

//是否优秀学员
export const topStudent = (obj) => http.post('/admin/project/topStudent', obj)

//项目概览
export const overview = (obj) => http.get('/admin/project/overview', { params: obj })

//设置项目积分规则
export const setScoreRule = (obj) => http.post('/admin/project/setScoreRule', obj)

//获取学员积分明细列表
export const studentScoreList = (obj) => http.post('/admin/project/studentScoreList', obj)

//添加项目学员
export const addStudent = (obj) => http.post('/admin/project/addStudent', obj)