|
@@ -730,9 +730,8 @@ export default {
|
|
|
toggleCourseShow: false, // 切换课程弹窗
|
|
|
informId: '', //消息id,从公众号消息模板进来的才有
|
|
|
courseList: [], // 课程列表
|
|
|
- courseTotal: 0,
|
|
|
+ // courseTotal: 0,
|
|
|
reStart: false, // 是否显示模块/章/节
|
|
|
- s_courseList: [], // 筛选后的
|
|
|
subList: [],
|
|
|
subIndex: 0,
|
|
|
goodsTeacher: [],
|
|
@@ -824,11 +823,6 @@ export default {
|
|
|
cMenu(item, index) {
|
|
|
this.subIndex = index
|
|
|
this.newActiveSubjectId = item.subjectId
|
|
|
- // if (item.subjectId != 0) {
|
|
|
- // this.s_courseList = this.courseList.filter((e) => e.subjectId == item.subjectId)
|
|
|
- // } else {
|
|
|
- // this.s_courseList = this.courseList
|
|
|
- // }
|
|
|
},
|
|
|
courseCourseList() {
|
|
|
// /course/courseList查询商品下的课程列表
|
|
@@ -843,8 +837,6 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.courseList.push.apply(this.courseList, res.data.rows)
|
|
|
- this.s_courseList = this.courseList
|
|
|
- this.courseTotal = res.data.total || 0
|
|
|
// 科目
|
|
|
let allItem = [{ subjectId: 0, subjectName: '所有'}]
|
|
|
let ids = []
|