|
@@ -453,7 +453,6 @@ export default {
|
|
|
if (this.recordObj.studyDuration) {
|
|
|
this.needSeek = true; //需要跳转到播放记录
|
|
|
}
|
|
|
- console.log(this.startTime, 789);
|
|
|
this.startStatus = true;
|
|
|
|
|
|
//获取节笔记
|
|
@@ -501,6 +500,10 @@ export default {
|
|
|
this.$u.toast('请输入内容');
|
|
|
return;
|
|
|
}
|
|
|
+ if(!this.gradeId){
|
|
|
+ this.$u.toast('暂无班级数据');
|
|
|
+ return;
|
|
|
+ }
|
|
|
var polyvPlayerContext = this.selectComponent('#playerVideo');
|
|
|
let noteDate = this.$method.getZeroTime();
|
|
|
let noteSecond = polyvPlayerContext.getCurrentTime();
|
|
@@ -540,7 +543,6 @@ export default {
|
|
|
this.$api.goodsGradeInfo(this.gradeId).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
self.gradeDetail = res.data.data;
|
|
|
- console.log(self.needProfileModal,61189)
|
|
|
if(self.gradeDetail.learningStatus==2){
|
|
|
uni.showModal({
|
|
|
showCancel:false,
|
|
@@ -837,7 +839,7 @@ export default {
|
|
|
this.$api.goodsDetail(this.goodsId).then(res => {
|
|
|
self.goodsData = res.data.data;
|
|
|
self.gradeId = self.goodsData.gradeId;
|
|
|
- console.log(self.gradeId, 698);
|
|
|
+ console.log(self.gradeId, "班级ID");
|
|
|
self.getMenuList();
|
|
|
self.getReMenuList(); //获取重修目录
|
|
|
setTimeout(function(){
|
|
@@ -915,7 +917,6 @@ export default {
|
|
|
this.$api.courseDetail(this.courseId).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
self.detail = res.data.data;
|
|
|
- self.gradeId = self.detail.gradeId;
|
|
|
}
|
|
|
});
|
|
|
},
|