Commit e60c46d6 authored by 罗超's avatar 罗超

2

parent a674d8c2
......@@ -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)
......
......@@ -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) {
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment