From 20b057066120a96abef632ec0847e46de65b5bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=86=99=E4=B8=9C?= <2195178163@qq.com> Date: Wed, 9 Nov 2022 16:07:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E5=8D=A1=E6=A6=82=E8=A7=88?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9=E5=92=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/indexLearningPath.js | 4 + src/views/learningpath/LevelAdd.vue | 122 ++++++++++++++++++++++------ 2 files changed, 101 insertions(+), 25 deletions(-) create mode 100644 src/api/indexLearningPath.js diff --git a/src/api/indexLearningPath.js b/src/api/indexLearningPath.js new file mode 100644 index 00000000..f32f7d01 --- /dev/null +++ b/src/api/indexLearningPath.js @@ -0,0 +1,4 @@ +import http from "./config"; + +// 获取路径图概览 +export const getRouterOverview = (routerId) => http.get(`/admin/router/overview?routerId=${routerId}`) \ No newline at end of file diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index f5708800..1f6af2ad 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -116,43 +116,48 @@