From c3c6e5e3de3c6f39c448fca3e144af328ff2bef8 Mon Sep 17 00:00:00 2001 From: lijiaqi <1205620597@qq.com> Date: Wed, 7 Aug 2024 14:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/chapter.js | 7 + .../course/components/chapters-details.vue | 35 ++ src/views/course/components/course-brief.vue | 191 ++++++++ .../course/components/course-chapters.vue | 159 +++++++ src/views/course/components/course-object.vue | 433 ++++++++++++++++++ .../course/components/knowledge-graph.vue | 172 +++++++ .../course/components/knowledge-statistic.vue | 142 ++++++ .../course/components/resource-management.vue | 89 ++++ src/views/course/ss.vue | 23 + 9 files changed, 1251 insertions(+) create mode 100644 src/api/user/chapter.js create mode 100644 src/views/course/components/chapters-details.vue create mode 100644 src/views/course/components/course-brief.vue create mode 100644 src/views/course/components/course-chapters.vue create mode 100644 src/views/course/components/course-object.vue create mode 100644 src/views/course/components/knowledge-graph.vue create mode 100644 src/views/course/components/knowledge-statistic.vue create mode 100644 src/views/course/components/resource-management.vue create mode 100644 src/views/course/ss.vue diff --git a/src/api/user/chapter.js b/src/api/user/chapter.js new file mode 100644 index 0000000..76b9ef7 --- /dev/null +++ b/src/api/user/chapter.js @@ -0,0 +1,7 @@ +import request from '@/utils/request' +// 获取课程章节列表 +export const getChaptersListApi = (params) => { + return request.get(`/chapter2/chapter?courseId=${params.id}`) +} +// 添加课程章节 +export const addChaptersApi = (params) => request.post('/chapter2/add', params) diff --git a/src/views/course/components/chapters-details.vue b/src/views/course/components/chapters-details.vue new file mode 100644 index 0000000..4642407 --- /dev/null +++ b/src/views/course/components/chapters-details.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/views/course/components/course-brief.vue b/src/views/course/components/course-brief.vue new file mode 100644 index 0000000..2e6e069 --- /dev/null +++ b/src/views/course/components/course-brief.vue @@ -0,0 +1,191 @@ + + + diff --git a/src/views/course/components/course-chapters.vue b/src/views/course/components/course-chapters.vue new file mode 100644 index 0000000..3b656de --- /dev/null +++ b/src/views/course/components/course-chapters.vue @@ -0,0 +1,159 @@ + + + diff --git a/src/views/course/components/course-object.vue b/src/views/course/components/course-object.vue new file mode 100644 index 0000000..e8f22b9 --- /dev/null +++ b/src/views/course/components/course-object.vue @@ -0,0 +1,433 @@ + + + diff --git a/src/views/course/components/knowledge-graph.vue b/src/views/course/components/knowledge-graph.vue new file mode 100644 index 0000000..9d8d07e --- /dev/null +++ b/src/views/course/components/knowledge-graph.vue @@ -0,0 +1,172 @@ + + + + diff --git a/src/views/course/components/knowledge-statistic.vue b/src/views/course/components/knowledge-statistic.vue new file mode 100644 index 0000000..0565a20 --- /dev/null +++ b/src/views/course/components/knowledge-statistic.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/views/course/components/resource-management.vue b/src/views/course/components/resource-management.vue new file mode 100644 index 0000000..39fdeaf --- /dev/null +++ b/src/views/course/components/resource-management.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/views/course/ss.vue b/src/views/course/ss.vue new file mode 100644 index 0000000..9a7c1f7 --- /dev/null +++ b/src/views/course/ss.vue @@ -0,0 +1,23 @@ + + +