From 3f679f4645dd6c7ac83d85856f69c8f7383f6136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=86=99=E4=B8=9C?= <2195178163@qq.com> Date: Mon, 7 Nov 2022 16:28:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84-?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20=E6=96=B9=E6=B3=95=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/indexLevel.js | 11 +++- src/views/learningpath/LevelAdd.vue | 79 ++++++++++++++++++++++++++++- 2 files changed, 87 insertions(+), 3 deletions(-) diff --git a/src/api/indexLevel.js b/src/api/indexLevel.js index 4cfe5d58..d23f2206 100644 --- a/src/api/indexLevel.js +++ b/src/api/indexLevel.js @@ -4,9 +4,16 @@ import http from "./config"; export const editChapter = (obj) => http.post('/admin/router/editChapter', obj); //编辑关卡 export const updateChapter = (obj) => http.post('/admin/router/editChapter', obj); - //删除任务 export const deleteTask = (obj) => http.delete('/admin/router/deleteTask',{params: obj}); - //移动任务到关卡 export const moveTask = (obj) => http.post('/admin/router/moveTask',obj); +// 学员路径图进度明细(概览) +export const studentProcess = (obj) => http.get(`admin/router/studentProcess?routerId=${obj.routerId}&studentId=${obj.studentId}`); + +// 学员关卡设置 + +// 添加学员 +export const addStudent = (obj) => http.post('/admin/router/addStudent',obj); +// 删除学员 +export const deleteStudent = (obj) => http.post('/admin/router/deleteStudent',obj); diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index f5708800..81ac30c7 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -886,7 +886,7 @@