Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
3de7cbd0
Commit
3de7cbd0
authored
Dec 13, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://139.224.139.2:9091/chaosun/CFFP
into dev
parents
1a8977f1
b3a0d43b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
pages/learningStatistics/learningStatistics.vue
+3
-3
pages/myLearning/myLearning.vue
+0
-1
No files found.
pages/learningStatistics/learningStatistics.vue
View file @
3de7cbd0
...
...
@@ -157,13 +157,13 @@
this
.
studyInfos
=
res
[
'data'
][
'studyInfos'
];
let
categories
=
[];
let
data
=
[];
if
(
this
.
studyInfos
.
length
>
0
){
if
(
this
.
studyInfos
&&
this
.
studyInfos
.
length
>
0
){
for
(
let
j
=
0
;
j
<
this
.
studyInfos
.
length
;
j
++
){
categories
.
push
(
this
.
studyInfos
[
j
].
month
.
split
(
'-'
)[
1
]);
data
.
push
({
value
:
this
.
studyInfos
[
j
][
'studyTime'
],
color
:
'#9EB4FF'
});
}
this
.
currentDate
=
this
.
month
=
this
.
studyInfos
[
this
.
studyInfos
.
length
-
1
].
month
;
}
this
.
currentDate
=
this
.
month
=
this
.
studyInfos
[
this
.
studyInfos
.
length
-
1
].
month
;
this
.
chartData
.
categories
=
categories
;
this
.
chartData
.
series
=
[{
name
:
'月'
,
data
:
data
}];
this
.
userStudyTime
()
...
...
@@ -217,7 +217,7 @@
this
.
userStudyTime
();
}
},
mounte
d
()
{
onLoa
d
()
{
this
.
userStudyCount
()
}
}
...
...
pages/myLearning/myLearning.vue
View file @
3de7cbd0
...
...
@@ -61,7 +61,6 @@
if
(
res
[
'success'
]){
this
.
userStudyLists
=
res
[
'data'
][
'userStudyTimeInfos'
];
}
console
.
log
(
res
)
})
},
switchTab
(
type
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment