Commit aa1a432f authored by Mac's avatar Mac

1

parent 781e044f
......@@ -251,11 +251,7 @@ import tabbars from '@/components/tabbar/index';
}
if(options && options.teacher){//判断是否个人老师进入页面
this.showteacher = options.teacher;
this.list= [{
name: '综合排序'
}, {
name: '课程'
}]
this.list= [{name: '综合排序'}, {name: '课程'}]
}
this.msg.SelectStartTime = formatDate(new Date(), 'yyyy-MM-dd'),
this.msg.SelectEndTime = formatDate(new Date(), 'yyyy-MM-dd'),
......@@ -272,6 +268,9 @@ import tabbars from '@/components/tabbar/index';
};
this.showAuth = true;
}else{
if(this.showteacher==1){
this.msg.TeacherId = this.u.UserTeacher
}
this.getPointCourseClassList()
this.getTeacherList()
this.init()
......@@ -315,13 +314,12 @@ import tabbars from '@/components/tabbar/index';
change(val){
if (val == 0) {
this.screenshow = false
this.list= [{
name: '综合排序'
}, {
name: '课程'
},{
name: '老师'
}]
if(this.showteacher==0){
this.list= [{name: '综合排序'}, {name: '课程'},{name: '老师'}]
}else{
this.list= [{name: '综合排序'}, {name: '课程'}]
}
this.msg.CourseClassId=0;
this.msg.TeacherId = 0;
} else if(val == 1){
......
......@@ -218,7 +218,7 @@
confirm(e){
this.addMsg.StudyDate = e.hour+':'+e.minute
let msg = this.addMsg
msg.StudyDateStr = this.data.StudyDateStr+' '+this.addMsg.StudyDate+':00'
msg.StudyDate = this.data.StudyDateStr+' '+this.addMsg.StudyDate+':00'
this.request2({
url: '/api/AppletPoint/GetTeacherCourseOrder',
data: msg
......
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