From 00d96736d93700b6bad11903f73ca446b11d7ac4 Mon Sep 17 00:00:00 2001 From: ww Date: Wed, 7 Aug 2024 19:07:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/user.js | 12 +- src/views/home/components/ConHeader.vue | 5 +- src/views/home/components/Echart/Echarts.vue | 39 +-- src/views/home/components/Echarts.vue | 24 +- src/views/home/components/Info keep.vue | 287 ------------------ src/views/home/components/Info.vue | 156 ---------- src/views/home/components/Lessonlist.vue | 14 +- src/views/home/components/Status.vue | 42 ++- src/views/home/components/Student1.vue | 32 +- src/views/home/components/Student2.vue | 97 ------ src/views/home/components/Welcome.vue | 42 +-- .../home/components/infoContainer/index.vue | 47 --- src/views/home/components/myDrawer/index.vue | 120 -------- src/views/home/index.vue | 132 +------- src/views/student/index.vue | 240 ++++++++++++++- 15 files changed, 367 insertions(+), 922 deletions(-) delete mode 100644 src/views/home/components/Info keep.vue delete mode 100644 src/views/home/components/Info.vue delete mode 100644 src/views/home/components/Student2.vue delete mode 100644 src/views/home/components/infoContainer/index.vue delete mode 100644 src/views/home/components/myDrawer/index.vue diff --git a/src/api/user/user.js b/src/api/user/user.js index c74ddaf..01f3b52 100644 --- a/src/api/user/user.js +++ b/src/api/user/user.js @@ -63,6 +63,14 @@ export const userStudentListService = (id) => { return request.post('/api/coursesteacher/studentList?userId=' + id) } //获取课程列表 -export const userLessonListService = (id) => { - return request.post('/api/coursesteacher/studentList?userId=' + id) +// export const userLessonListService = (id) => { +// return request.post('/api/coursesteacher/studentList?userId=' + id) +// } +//获取浏览量 +export const userLookService = () => { + return request.get('/api/report/receptionBrowse') +} +//获取图表 +export const userPicService = () => { + return request.get('/api/report/browseStatistics') } diff --git a/src/views/home/components/ConHeader.vue b/src/views/home/components/ConHeader.vue index f885926..58710e8 100644 --- a/src/views/home/components/ConHeader.vue +++ b/src/views/home/components/ConHeader.vue @@ -13,14 +13,14 @@ @@ -55,5 +55,6 @@ const router = useRouter() font-size: small; justify-content: center; align-items: center; + cursor: pointer; } diff --git a/src/views/home/components/Echart/Echarts.vue b/src/views/home/components/Echart/Echarts.vue index c982774..c54a51b 100644 --- a/src/views/home/components/Echart/Echarts.vue +++ b/src/views/home/components/Echart/Echarts.vue @@ -1,8 +1,18 @@ diff --git a/src/views/home/components/Info keep.vue b/src/views/home/components/Info keep.vue deleted file mode 100644 index d0c638b..0000000 --- a/src/views/home/components/Info keep.vue +++ /dev/null @@ -1,287 +0,0 @@ - - - diff --git a/src/views/home/components/Info.vue b/src/views/home/components/Info.vue deleted file mode 100644 index a96b9cd..0000000 --- a/src/views/home/components/Info.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - diff --git a/src/views/home/components/Lessonlist.vue b/src/views/home/components/Lessonlist.vue index 0b3769a..215956f 100644 --- a/src/views/home/components/Lessonlist.vue +++ b/src/views/home/components/Lessonlist.vue @@ -1,12 +1,12 @@