|
@@ -879,7 +879,8 @@ export default {
|
|
|
let dataList = []
|
|
|
let teacherList = []
|
|
|
courses.forEach((item) => {
|
|
|
- if(tea.courseIds.search(item.courseId) > -1){
|
|
|
+ let data = tea.courseList.filter(x => x.courseId == item.courseId)
|
|
|
+ if(data && data.length > 0){
|
|
|
dataList.push(item)
|
|
|
teacherList = tea.courseList
|
|
|
}
|
|
@@ -1080,7 +1081,7 @@ export default {
|
|
|
this.teaIndex = tindex
|
|
|
this.goodsTeacher.forEach((item,index) => {
|
|
|
if(item.teaList && item.teaList.length > 0){
|
|
|
- let list = item.teaList.filter(x => x.aliasName == data.aliasName)
|
|
|
+ let list = item.teaList.filter(x => x.courseId == data.courseId)
|
|
|
if(list && list.length > 0){
|
|
|
item.courseList.forEach((course,courseIndex) => {
|
|
|
if(course.courseId == data.courseId){
|