Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
向伟
educationStu
Commits
e60c46d6
Commit
e60c46d6
authored
Feb 18, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
a674d8c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
index.vue
src/pages/appointment/index.vue
+0
-1
courseList.vue
src/pages/study/courseList.vue
+8
-1
index.vue
src/pages/study/index.vue
+3
-1
No files found.
src/pages/appointment/index.vue
View file @
e60c46d6
...
...
@@ -448,7 +448,6 @@
ShiftSortArr
.
push
(
nexCourse
)
if
(
RemainTime2
===
0
)
{
// this.subscribe(ShiftSortArr)
this
.
validateAppointment
(
ShiftSortArr
)
}
else
if
(
RemainTime2
>
0
)
{
this
.
mapNextCourse
(
nexIndex
,
ShiftSortArr
,
RemainTime2
)
...
...
src/pages/study/courseList.vue
View file @
e60c46d6
...
...
@@ -183,6 +183,8 @@
if
(
options
.
ClassId
&&
options
.
CourseId
)
{
this
.
msg
.
ClassId
=
options
.
ClassId
;
this
.
msg
.
CourseId
=
options
.
CourseId
this
.
msg
.
GuestId
=
options
.
GuestId
this
.
msg
.
StuId
=
options
.
StuId
this
.
getChapterList
();
}
if
(
options
.
CourseName
)
{
...
...
@@ -200,7 +202,10 @@
ChapterList
:
[],
//课程列表
msg
:
{
ClassId
:
0
,
CourseId
:
0
CourseId
:
0
,
ClassScrollType
:
0
,
GuestId
:
0
,
StuId
:
0
},
CourseName
:
''
,
TotalHours
:
0
,
...
...
@@ -209,6 +214,8 @@
let
methods
=
{
async
getChapterList
()
{
data
.
isShowLoad
=
true
;
let
userinfo
=
uni
.
getStorageSync
(
'userInfo'
)
data
.
msg
.
ClassScrollType
=
userinfo
.
ClassScrollType
proxy
.
$request
(
"/AppletIndex/GetMyStudyCourseChapterList"
,
data
.
msg
).
then
((
res
)
=>
{
data
.
isShowLoad
=
false
;
if
(
res
.
Code
==
1
)
{
...
...
src/pages/study/index.vue
View file @
e60c46d6
...
...
@@ -672,9 +672,11 @@
let
CourseId
=
data
.
CourseList
[
data
.
checkIndex
].
CourseId
;
let
CourseName
=
data
.
CourseList
[
data
.
checkIndex
].
CourseName
;
let
TotalHours
=
data
.
CourseList
[
data
.
checkIndex
].
TotalHours
;
let
GuestId
=
data
.
CourseList
[
data
.
checkIndex
].
GuestId
;
let
StuId
=
data
.
CourseList
[
data
.
checkIndex
].
StuId
;
uni
.
navigateTo
({
url
:
'/pages/study/courseList?ClassId='
+
ClassId
+
'&CourseId='
+
CourseId
+
'&CourseName='
+
CourseName
+
'&TotalHours='
+
TotalHours
'&CourseName='
+
CourseName
+
'&TotalHours='
+
TotalHours
+
'&GuestId='
+
GuestId
+
"&StuId="
+
StuId
})
},
gourlkaoshilist
()
{
...
...
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