Commit c15e00a5 authored by 罗超's avatar 罗超

2

parent 69cb8824
......@@ -240,7 +240,7 @@
getCourseList() {
queryCourseDropdownList({
IsQPrice: 1,
IsQuerySalePlat: 1,
IsQuerySalePlat: 0,
IsScrollClass: 1
}).then(res => {
if (res.Code == 1) {
......@@ -278,6 +278,7 @@
//获取老师的空闲上课时段
getCanTeacherTimeList() {
this.teaClassMsg.Date = this.dateObj.date;
this.courseCheckList=[]
this.stuInfo = "";
if (this.teaClassMsg.TeacherId == 0) return;
GetCanTeacherClassTimeList(this.teaClassMsg).then(res => {
......@@ -389,7 +390,6 @@
const totalTime = this.courseCheckList.reduce((pre, cur) => {
return (pre += cur.Minutes);
}, 0);
console.log(this.courseCheckList,totalTime)
if (this.checkChapter.StudyMinutes !== totalTime) {
this.$q.notify({
message: "课时不匹配,请重新上课时段",
......
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