diff --git a/src/api/config.js b/src/api/config.js index cb3f4696..b97e2357 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-29 13:44:40 + * @LastEditTime: 2022-11-29 17:09:48 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -55,7 +55,6 @@ http.interceptors.response.use( if (code === 1000) { window.open("https://u-pre.boe.com/web/", '_self'); } - // window.open("https://u-pre.boe.com/web/", '_self'); console.log("api %o", msg); } return response; diff --git a/src/api/index1.js b/src/api/index1.js index 4fc32351..5f51c679 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -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"); diff --git a/src/components/Modals/addOnlineCourse.vue b/src/components/Modals/addOnlineCourse.vue index 05254c2f..08cb2c93 100644 --- a/src/components/Modals/addOnlineCourse.vue +++ b/src/components/Modals/addOnlineCourse.vue @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-24 16:39:48 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-28 09:54:17 + * @LastEditTime: 2022-11-29 15:28:34 * @FilePath: /fe-manage/src/components/Modals/addOnlineCourse.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -20,7 +20,7 @@ diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index d706f37c..ca47dbdf 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -117,8 +117,8 @@