Commit 949be250 authored by zhengke's avatar zhengke

no message

parent 4ce3b85e
...@@ -124,9 +124,9 @@ ...@@ -124,9 +124,9 @@
toggleTitle(t) { toggleTitle(t) {
data.tabNme = t data.tabNme = t
data.dataList = [] data.dataList = []
if(this.tabNme=='学生列表'){ if(data.tabNme=='学生列表'){
that.getCourseStuList() that.getCourseStuList()
}else if(this.tabNme=='作业情况'){ }else if(data.tabNme=='作业情况'){
that.getGetCourseHomeWorkList() that.getGetCourseHomeWorkList()
}else{ }else{
that.getExamPageList() that.getExamPageList()
...@@ -190,12 +190,12 @@ ...@@ -190,12 +190,12 @@
data.Msg.PageIndex++; data.Msg.PageIndex++;
if (data.timer) clearTimeout(data.timer); if (data.timer) clearTimeout(data.timer);
data.timer = setTimeout(() => { data.timer = setTimeout(() => {
if(this.tabNme=='学生列表'){ if(data.tabNme=='学生列表'){
this.getCourseStuList() that.getCourseStuList()
}else if(this.tabNme=='作业情况'){ }else if(data.tabNme=='作业情况'){
this.getGetCourseHomeWorkList() that.getGetCourseHomeWorkList()
}else{ }else{
this.getExamPageList() that.getExamPageList()
} }
}, 1000); }, 1000);
} else { } else {
......
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