Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
99fc93d2
提交
99fc93d2
authored
4月 16, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改问题
上级
7bc4e38b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
104 行增加
和
24 行删除
+104
-24
PlayerAction.js
client/src/action/PlayerAction.js
+17
-17
discuss_api.js
client/src/api/discuss_api.js
+1
-1
courseDetail.vue
client/src/pages/learn/courseDetail.vue
+86
-6
没有找到文件。
client/src/action/PlayerAction.js
浏览文件 @
99fc93d2
...
...
@@ -162,23 +162,23 @@ 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'
//
}, {
//
name: '课程考试',
//
id: 'course_exam',
//
exam_id: (_res.examinations && _res.examinations[0] && _res.examinations[0].id) || ''
//
}]
//
})
if
(
_res
.
course_examination
)
{
json
.
course
[
json
.
course
.
length
-
1
].
chapters
.
push
({
name
:
'课程考试'
,
...
...
client/src/api/discuss_api.js
浏览文件 @
99fc93d2
...
...
@@ -32,7 +32,7 @@ export default class DiscussAPI extends BaseAPI {
* 提出问题
* @param {[object]} param
*/
publishQues
=
(
param
)
=>
this
.
post
(
'/v2/qa/questions'
,
param
)
publishQues
=
(
param
)
=>
this
.
post
(
'/v2/qa/questions'
,
param
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
}
)
/**
* 回答问题
* @param {[object]} param
...
...
client/src/pages/learn/courseDetail.vue
浏览文件 @
99fc93d2
...
...
@@ -75,7 +75,7 @@
</div>
<div
class=
'discuss-scroll'
bindscrolltolower=
'loadmore'
bindscrolltoupper=
'updatenew'
>
<template
v-for=
'(item, index) in discussList'
>
<div
v-if=
"item.questioner.uid == $GLOBAL.UserInfo.
student_info.
id"
v-bind:key=
"index"
class=
'item-list lhhId'
@
click=
'goDiscussDetail'
:data-id=
'item.id'
:data-sid=
'item.sid'
:data-index=
'index'
>
<div
v-if=
"item.questioner.uid == $GLOBAL.UserInfo.id"
v-bind:key=
"index"
class=
'item-list lhhId'
@
click=
'goDiscussDetail'
:data-id=
'item.id'
:data-sid=
'item.sid'
:data-index=
'index'
>
<div
class=
'user'
>
<template
v-if=
"item.user.url"
>
<img
class=
'img'
:src=
'item.user.url'
/>
...
...
@@ -236,7 +236,7 @@ export default {
headerInfo
:
{},
// 后台数据返回
tabs
:
[{
title
:
'课程简介'
,
isShow
:
tru
e
,
isShow
:
fals
e
,
content
:
{
text
:
'<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>'
,
teachers
:
[{
...
...
@@ -253,14 +253,14 @@ export default {
chapterList
:
{
currentChapterId
:
'11'
,
// 当前章节id
course
:
[{
title
:
'
第一章:测试章节
'
,
title
:
''
,
isUp
:
true
,
chapters
:
[
// { id: '11', time: '28:18', name: '1.1 现值(PV)和终值(FV)' },
{
id
:
'12'
,
time
:
'19:09'
,
name
:
'1.2 测试课程'
}
]
},
{
title
:
'
第二章:证券估值
'
,
title
:
''
,
isUp
:
true
,
chapters
:
[
// { id: '21', time: '27:49', name: '2.1 债券和股票的现金流贴现估值方法' },
...
...
@@ -273,7 +273,7 @@ export default {
// isUp: true,
// chapters: []
// }, {
title
:
'
课程资料
'
,
title
:
''
,
isUp
:
true
,
chapters
:
[]
}]
...
...
@@ -314,6 +314,86 @@ export default {
}
}
}],
// tabs: [{
// title: '课程简介',
// isShow: false,
// content: {
// text: '
<
p
><
b
>
视频课程没有加载出来,请检查自己的网络环境,并重新刷新。
<
/b>'
,
// teachers: [{
// src: '',
// name: '讲师姓名',
// edu: '学历',
// job: '职称',
// unit: '讲师所在单位'
// }]
// }
// }, {
// title: '课程内容',
// isShow: false,
// chapterList: {
// currentChapterId: '11', // 当前章节id
// course: [{
// title: '第一章:测试章节',
// isUp: true,
// chapters: [
// // { id: '11', time: '28:18', name: '1.1 现值(PV)和终值(FV)' },
// { id: '12', time: '19:09', name: '1.2 测试课程' }
// ]
// }, {
// title: '第二章:证券估值',
// isUp: true,
// chapters: [
// // { id: '21', time: '27:49', name: '2.1 债券和股票的现金流贴现估值方法' },
// // { id: '22', time: '16:04', name: '2.2 债券评级及债券协议' },
// // { id: '23', time: '', name: '公司金融第二周测验' },
// // { id: '24', time: '', name: '公司金融第二周作业' }
// ]
// }, {
// // title: '课程大作业',
// // isUp: true,
// // chapters: []
// // }, {
// title: '课程资料',
// isUp: true,
// chapters: []
// }]
// }
// }, {
// title: '课程讨论',
// isShow: false
// }, {
// title: '课程考核',
// isShow: false,
// richText: "
<
div
class
=
'h1'
>
一、最终成绩计算
<
/div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</
div
>
<
img
class
=
'b1'
src
=
'https://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png'
mode
=
'aspectFill'
/>
<
div
class
=
'h1'
>
二、具体细则
<
/div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</
div
>
<
div
class
=
'p'
>
1
、每个视频观看完成度
50
分:以后台数据统计为准,全部看完视频满分
50
分,其它酌情给分。
<
/div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</
div
>
<
div
class
=
'p'
>
2
、课程反馈建设性问题及课程完成情况
50
分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分
50
分,酌情给分。
<
/div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</
div
>
<
div
class
=
'p'
>
本课程所有试题的平均正确率
*
100
分
*
占总成绩
30
%=
此项得分。
(
比如正确度为
80
%
,则此项得分:
80
%*
100
*
30
%=
24
分
)
<
/div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</
div
>
<
div
class
=
'p'
>
结业大作业满分为
100
分,以助教老师给分为准。
<
/div>"
,
// assess: {
// score: '20',
// duration: '00:01:20',
// progress: '0/10',
// video: [{
// title: '第一章 市场营销原理导论',
// sid: '',
// cid: '',
// arr: [{
// name: '1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销',
// time: '12:08',
// progress: '100%',
// vid: ''
// }]
// }],
// homewrok: [{
// title: '第一章 市场营销原理导论',
// arr: [{
// name: '1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销',
// score: 20
// }]
// }],
// essay: {
// created_time: '',
// status: '未提交',
// score: '暂无'
// }
// }
// }],
sort
:
[
{
isShow
:
false
,
str
:
''
},
{
isShow
:
false
,
str
:
'tag'
}
...
...
@@ -388,7 +468,7 @@ export default {
},
3000
)
setTimeout
(()
=>
{
this
.
domLength
=
$
(
'.lhhId'
).
length
},
2
000
)
},
1
000
)
},
destroyed
()
{
window
.
removeEventListener
(
'resize'
,
this
.
resizeRoot
.
bind
(
this
),
false
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论