Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
669557d0
提交
669557d0
authored
8月 19, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
显示课程资料
上级
0206ef8d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
20 行删除
+16
-20
PlayerAction.js
src/action/PlayerAction.js
+13
-17
index.vue
src/modules/viewer/index.vue
+3
-3
没有找到文件。
src/action/PlayerAction.js
浏览文件 @
669557d0
...
@@ -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
:
'课程考试'
,
...
...
src/modules/viewer/index.vue
浏览文件 @
669557d0
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论