Commit c15e00a5 authored by 罗超's avatar 罗超

2

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