Commit aa1a432f authored by Mac's avatar Mac

1

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