Commit e60c46d6 authored by 罗超's avatar 罗超

2

parent a674d8c2
...@@ -448,7 +448,6 @@ ...@@ -448,7 +448,6 @@
ShiftSortArr.push(nexCourse) ShiftSortArr.push(nexCourse)
if (RemainTime2 === 0) { if (RemainTime2 === 0) {
// this.subscribe(ShiftSortArr) // this.subscribe(ShiftSortArr)
this.validateAppointment(ShiftSortArr) this.validateAppointment(ShiftSortArr)
} else if (RemainTime2 > 0) { } else if (RemainTime2 > 0) {
this.mapNextCourse(nexIndex, ShiftSortArr, RemainTime2) this.mapNextCourse(nexIndex, ShiftSortArr, RemainTime2)
......
...@@ -183,6 +183,8 @@ ...@@ -183,6 +183,8 @@
if (options.ClassId && options.CourseId) { if (options.ClassId && options.CourseId) {
this.msg.ClassId = options.ClassId; this.msg.ClassId = options.ClassId;
this.msg.CourseId = options.CourseId this.msg.CourseId = options.CourseId
this.msg.GuestId = options.GuestId
this.msg.StuId = options.StuId
this.getChapterList(); this.getChapterList();
} }
if (options.CourseName) { if (options.CourseName) {
...@@ -200,7 +202,10 @@ ...@@ -200,7 +202,10 @@
ChapterList: [], //课程列表 ChapterList: [], //课程列表
msg: { msg: {
ClassId: 0, ClassId: 0,
CourseId: 0 CourseId: 0,
ClassScrollType:0,
GuestId:0,
StuId:0
}, },
CourseName: '', CourseName: '',
TotalHours: 0, TotalHours: 0,
...@@ -209,6 +214,8 @@ ...@@ -209,6 +214,8 @@
let methods = { let methods = {
async getChapterList() { async getChapterList() {
data.isShowLoad = true; data.isShowLoad = true;
let userinfo=uni.getStorageSync('userInfo')
data.msg.ClassScrollType=userinfo.ClassScrollType
proxy.$request("/AppletIndex/GetMyStudyCourseChapterList", data.msg).then((res) => { proxy.$request("/AppletIndex/GetMyStudyCourseChapterList", data.msg).then((res) => {
data.isShowLoad = false; data.isShowLoad = false;
if (res.Code == 1) { if (res.Code == 1) {
......
...@@ -672,9 +672,11 @@ ...@@ -672,9 +672,11 @@
let CourseId = data.CourseList[data.checkIndex].CourseId; let CourseId = data.CourseList[data.checkIndex].CourseId;
let CourseName = data.CourseList[data.checkIndex].CourseName; let CourseName = data.CourseList[data.checkIndex].CourseName;
let TotalHours = data.CourseList[data.checkIndex].TotalHours; let TotalHours = data.CourseList[data.checkIndex].TotalHours;
let GuestId=data.CourseList[data.checkIndex].GuestId;
let StuId=data.CourseList[data.checkIndex].StuId;
uni.navigateTo({ uni.navigateTo({
url: '/pages/study/courseList?ClassId=' + ClassId + '&CourseId=' + CourseId + url: '/pages/study/courseList?ClassId=' + ClassId + '&CourseId=' + CourseId +
'&CourseName=' + CourseName + '&TotalHours=' + TotalHours '&CourseName=' + CourseName + '&TotalHours=' + TotalHours+'&GuestId='+GuestId+"&StuId="+StuId
}) })
}, },
gourlkaoshilist() { 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