mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
delete test alert
This commit is contained in:
@@ -409,7 +409,7 @@ export default {
|
|||||||
finishStudyItem(){ //设置完成学习的内容,针对于音视频的内容
|
finishStudyItem(){ //设置完成学习的内容,针对于音视频的内容
|
||||||
if(!this.contentData.studyItemId){
|
if(!this.contentData.studyItemId){
|
||||||
//这种可能没有,不过这里也是为了万中那个1
|
//这种可能没有,不过这里也是为了万中那个1
|
||||||
this.saveStudyInfo('PortalIndex-01');
|
this.saveStudyInfo();
|
||||||
}else{
|
}else{
|
||||||
let params={
|
let params={
|
||||||
itemId:this.contentData.studyItemId,
|
itemId:this.contentData.studyItemId,
|
||||||
@@ -671,8 +671,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
saveStudyInfo(index) {
|
saveStudyInfo() {
|
||||||
alert(index)
|
|
||||||
//记录课件学习信息
|
//记录课件学习信息
|
||||||
if (this.contentData.contentType >= 60) {
|
if (this.contentData.contentType >= 60) {
|
||||||
//只有在课件页面停留超过5秒才会记录
|
//只有在课件页面停留超过5秒才会记录
|
||||||
@@ -897,7 +896,7 @@ export default {
|
|||||||
if(this.contentData.contentType>20){ //非视频类的
|
if(this.contentData.contentType>20){ //非视频类的
|
||||||
this.isAppendTime=true;
|
this.isAppendTime=true;
|
||||||
this.appendStudyTime();
|
this.appendStudyTime();
|
||||||
this.handleTimeout= setTimeout(function() {$this.saveStudyInfo('PortalIndex-02');}, 5000); //5秒后记录学习完成
|
this.handleTimeout= setTimeout(function() {$this.saveStudyInfo();}, 5000); //5秒后记录学习完成
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -708,7 +708,7 @@
|
|||||||
//this.appendStudyTime();
|
//this.appendStudyTime();
|
||||||
if (this.contentData.contentType != 50) {
|
if (this.contentData.contentType != 50) {
|
||||||
this.handleTimeout = setTimeout(function(){
|
this.handleTimeout = setTimeout(function(){
|
||||||
$this.saveStudyInfo('CoursenewIndex-01');
|
$this.saveStudyInfo();
|
||||||
}, 5000); //5秒后记录学习完成
|
}, 5000); //5秒后记录学习完成
|
||||||
}else{
|
}else{
|
||||||
//scorm课件不记录完成情况,由播放回调记录完成情况
|
//scorm课件不记录完成情况,由播放回调记录完成情况
|
||||||
@@ -1358,8 +1358,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
saveStudyInfo(index) {
|
saveStudyInfo() {
|
||||||
alert(index)
|
|
||||||
//记录课件学习信息
|
//记录课件学习信息
|
||||||
if (this.contentData.contentType >= 60) {
|
if (this.contentData.contentType >= 60) {
|
||||||
//只有在课件页面停留超过5秒才会记录
|
//只有在课件页面停留超过5秒才会记录
|
||||||
@@ -1527,7 +1526,7 @@
|
|||||||
finishStudyItem() { //设置完成学习的内容,针对于音视频的内容
|
finishStudyItem() { //设置完成学习的内容,针对于音视频的内容
|
||||||
if (!this.contentData.studyItemId) {
|
if (!this.contentData.studyItemId) {
|
||||||
//这种可能没有,不过这里也是为了万中那个1
|
//这种可能没有,不过这里也是为了万中那个1
|
||||||
this.saveStudyInfo('CoursenewIndex-02');
|
this.saveStudyInfo();
|
||||||
} else {
|
} else {
|
||||||
let params = {
|
let params = {
|
||||||
itemId: this.contentData.studyItemId,
|
itemId: this.contentData.studyItemId,
|
||||||
|
|||||||
Reference in New Issue
Block a user