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

显示课程资料

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