提交 669557d0 authored 作者: 王鹏飞's avatar 王鹏飞

显示课程资料

上级 0206ef8d
......@@ -161,23 +161,19 @@ export default class PlayerAction extends BaseACTION {
chapterVideo: ''
}
}
// json.course.push({
// title: '大作业及资料',
// chapters: [{
// // name: '课程大作业',
// // id: 'course_work'
// // }, {
// name: '课程资料',
// id: 'course_info'
// // }, {
// // name: '教学评估',
// // id: 'teach_evaluation'
// }, {
// name: '课程考试',
// id: 'course_exam',
// exam_id: (_res.examinations && _res.examinations[0] && _res.examinations[0].id) || ''
// }]
// })
json.course.push({
title: '大作业及资料',
chapters: [{
// name: '课程大作业',
// id: 'course_work'
// }, {
name: '课程资料',
id: 'course_info'
// }, {
// name: '教学评估',
// id: 'teach_evaluation'
}]
})
if (_res.course_examination) {
json.course[json.course.length - 1].chapters.push({
name: '课程考试',
......
......@@ -110,9 +110,9 @@ export default {
const customeChapter = {
name: this.$t('viewerMain.workData'),
children: [
{ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 },
// { name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 },
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 },
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
// { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
]
}
// 课程考试
......@@ -123,7 +123,7 @@ export default {
type: 101
})
}
// chapters.push(customeChapter)
chapters.push(customeChapter)
return chapters
},
// 当前选中的章节
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论