feat:增加添加学员待测试

This commit is contained in:
lixg
2022-11-29 18:18:43 +08:00
parent 556ad2d54d
commit 07efe340f2
10 changed files with 478 additions and 350 deletions

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-11-04 22:45:31
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2022-11-29 09:52:49
* @LastEditTime: 2022-11-29 18:17:23
* @FilePath: /fe-manage/src/api/index1.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -76,6 +76,7 @@ export const addStudent = (obj) => http.post("/admin/router/addStudent", obj);
//删除学员
export const delStudent = (obj) =>
http.post("/admin/router/deleteStudent", obj);
// 获取学员路径图进度明细
export const stuProgress = (obj) =>
http.post("/admin/router/studentProcess", obj);
@@ -118,7 +119,10 @@ export const optionAuthPerm = (obj) => http.post('/admin/AuthPerm/optionAuthPerm
export const getUser = () => http.post('/admin/CheckUser/login', { withCredentials: true })
//公共信息---------------------------------------------------
//添加项目学员
export const addStudentProject = (obj) => http.post('/admin/project/addStudent', obj)
//添加课程学员
export const addStudentCourse = (obj) => http.post("/admin/offcourse/addStudent", obj);
// 获取组织结构树
export const orgtree = () => http.get("/org/tree");