Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
e46caf1a
提交
e46caf1a
authored
9月 06, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
隐藏学分
上级
bfd62f50
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
chapterExam.vue
src/modules/viewer/components/work/chapterExam.vue
+1
-1
chapterTest.vue
src/modules/viewer/components/work/chapterTest.vue
+1
-1
chapterWork.vue
src/modules/viewer/components/work/chapterWork.vue
+2
-1
courseExam.vue
src/modules/viewer/components/work/courseExam.vue
+1
-1
CourseAssessmentProgress.vue
...ages/learn/course/components/CourseAssessmentProgress.vue
+1
-1
没有找到文件。
src/modules/viewer/components/work/chapterExam.vue
浏览文件 @
e46caf1a
<
template
>
<container
:title=
"exam.title"
v-loading=
"loading"
>
<template
v-slot:header-aside
v-if=
"isExamComplete"
>
{{
$t
(
'viewerWork.fraction'
)
}}
:
{{
exam
.
score
.
total
}}{{
$t
(
'viewerWork.fractionUnit'
)
}}
<!--
{{
$t
(
'viewerWork.fraction'
)
}}
:
{{
exam
.
score
.
total
}}{{
$t
(
'viewerWork.fractionUnit'
)
}}
-->
</
template
>
<div
class=
"exam"
>
<
template
v-if=
"isSubmited && !isExamComplete"
>
...
...
src/modules/viewer/components/work/chapterTest.vue
浏览文件 @
e46caf1a
<
template
>
<container
:title=
"chapter.name"
v-loading=
"loading"
>
<
template
v-slot:header-aside
v-if=
"isSubmited"
>
{{
$t
(
'viewerWork.correctRate'
)
}}
:
{{
detail
.
score
}}
%
</
template
>
<
!--
<template
v-slot:header-aside
v-if=
"isSubmited"
>
{{
$t
(
'viewerWork.correctRate'
)
}}
:
{{
detail
.
score
}}
%
</
template
>
--
>
<div
class=
"exam"
>
<div
class=
"exam-form"
>
<el-form
:disabled=
"isSubmited"
>
...
...
src/modules/viewer/components/work/chapterWork.vue
浏览文件 @
e46caf1a
...
...
@@ -218,8 +218,9 @@ export default {
return
currentTime
<
endTime
}
,
hasScore
()
{
return
false
// allow_score 1 显示 2隐藏
return
this
.
detail
.
allow_score
!==
2
&&
this
.
detail
.
score
//
return this.detail.allow_score !== 2 && this.detail.score
}
,
// 显示作业评论
showComment
()
{
...
...
src/modules/viewer/components/work/courseExam.vue
浏览文件 @
e46caf1a
...
...
@@ -2,7 +2,7 @@
<container
:title=
"status.title"
v-loading=
"loading"
>
<template
v-slot:header-aside
v-if=
"isStartExam"
>
<template
v-if=
"isCompleted"
>
{{
$t
(
'viewerWork.fraction'
)
}}
:
{{
exam
.
score
.
total
}}{{
$t
(
'viewerWork.fractionUnit'
)
}}
<!--
{{
$t
(
'viewerWork.fraction'
)
}}
:
{{
exam
.
score
.
total
}}{{
$t
(
'viewerWork.fractionUnit'
)
}}
-->
</
template
>
<
template
v-else
>
<div
v-if=
"hasCountdown"
>
倒计时:
{{
countdownDurationText
}}
</div>
...
...
src/pages/learn/course/components/CourseAssessmentProgress.vue
浏览文件 @
e46caf1a
...
...
@@ -58,7 +58,7 @@
<div
class=
"status-text"
v-if=
"essay.created_time"
>
{{
$t
(
'pages.learn.courseDetail.Submissiontime'
)
}}
:
{{
essay
.
created_time
}}
</div>
<
div
class=
"status-text"
>
{{
$t
(
'pages.learn.courseDetail.score2'
)
}}{{
showCore
(
essay
.
score
)
}}
</div
>
<
!--
<div
class=
"status-text"
>
{{
$t
(
'pages.learn.courseDetail.score2'
)
}}{{
showCore
(
essay
.
score
)
}}
</div>
--
>
</div>
</div>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论