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 @@