mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
修改为10秒保存一次,考试 时
This commit is contained in:
@@ -61,10 +61,20 @@ const delLearning = function(ms_timeline_kid) {
|
||||
return ajax.post('/b1/system/user/ms-timeline-delete',{ms_timeline_kid});
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据用户的kid,获取用户的受众权限
|
||||
*
|
||||
* @param {Object} kid
|
||||
*/
|
||||
const audience = function(kid) {
|
||||
return ajax.get('/b1/system/user/audience-by-user?kid='+kid);
|
||||
}
|
||||
|
||||
export default {
|
||||
myLearning,
|
||||
cmtaskList,
|
||||
reportList,
|
||||
courseList,
|
||||
delLearning
|
||||
delLearning,
|
||||
audience
|
||||
}
|
||||
|
||||
@@ -698,7 +698,9 @@ export default {
|
||||
stopReckon:function(){
|
||||
window.clearInterval(this.reckonTimeer)
|
||||
},
|
||||
// 开始提交答案
|
||||
/**
|
||||
* 开始提交答案
|
||||
*/
|
||||
startUpdateAnswer:function(){
|
||||
if(this.paperQuestion.length==0){
|
||||
return;
|
||||
@@ -709,7 +711,7 @@ export default {
|
||||
let that = this;
|
||||
this.updateAnswerTimeer =window.setInterval(function(){
|
||||
that.updateAnswer();
|
||||
},60000);//测试时可以修改的变小了
|
||||
},10000);//测试时可以修改的变小了
|
||||
},
|
||||
// 停止提交答案
|
||||
stopUpdateAnswer(){
|
||||
|
||||
Reference in New Issue
Block a user