Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
eba866a2
提交
eba866a2
authored
4月 26, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化互评功能模块
上级
2a9a1cd5
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
9 行删除
+18
-9
chapterWork.vue
src/modules/viewer/components/work/chapterWork.vue
+16
-8
chapterWorkComment.vue
src/modules/viewer/components/work/chapterWorkComment.vue
+2
-1
没有找到文件。
src/modules/viewer/components/work/chapterWork.vue
浏览文件 @
eba866a2
...
...
@@ -20,7 +20,9 @@
</el-form>
</
template
>
</div>
<p
style=
"color: red"
v-if=
"deadline"
>
{{ $t('viewerWork.deadline', { date: deadline }) }}
</p>
<p
style=
"color: red"
v-if=
"deadline && detail.status !== 1"
>
{{ $t('viewerWork.deadline', { date: deadline }) }}
</p>
<!-- 驳回状态 -->
<
template
v-if=
"detail.status === 8"
>
<div
class=
"work-bottom"
>
...
...
@@ -44,7 +46,7 @@
</
template
>
<!-- 正常状态 -->
<
template
v-else
>
<div
class=
"work-bottom"
>
<div
class=
"work-bottom"
v-if=
"detail.status !== 1"
>
<div
class=
"info"
>
<template
v-if=
"isRevised"
>
<div
class=
"paper-check"
>
...
...
@@ -73,7 +75,13 @@
submitText
}}
<
/el-button
>
<
/el-tooltip
>
<
span
v
-
if
=
"hasComment"
>
{{
$t
(
'viewerWork.commentTips'
)
}}
<
/span
>
<!--
驳回
-->
<
template
v
-
if
=
"detail.status === 1"
>
<
span
>
提交后不可修改,请检查好作业内容再做提交。
<
/span
>
<
/template
>
<
template
v
-
else
>
<
span
v
-
if
=
"hasComment"
>
{{
$t
(
'viewerWork.commentTips'
)
}}
<
/span
>
<
/template
>
<
/div
>
<
/template
>
<
/container
>
...
...
@@ -86,7 +94,7 @@
id
=
"comment"
/>
<
el
-
dialog
:
title
=
"dialogTitle"
:
visible
.
sync
=
"dialogVisible"
width
=
"
4
00px"
>
<
el
-
dialog
:
title
=
"dialogTitle"
:
visible
.
sync
=
"dialogVisible"
width
=
"
5
00px"
>
<
div
class
=
"paper-check-item"
>
<
p
>
您本次的作业被老师驳回,请您重新编辑作业提交!
<
/p
>
<
/div
>
...
...
@@ -98,11 +106,11 @@
<
span
>
{{
$t
(
'viewerWork.rejectContent'
)
}}
:
<
/span
>
<
div
class
=
"edit_html"
v
-
html
=
"detail.check_comments"
><
/div
>
<
/div
>
<
div
class
=
"paper-check-item"
>
<
p
>
注:重新提交后不可修改,请检查好作业内容再做提交。
<
/p
>
<
/div
>
<
template
#
footer
>
<
el
-
button
type
=
"primary"
@
click
=
"onReEdit"
>
重新编辑
<
/el-button
>
<
div
style
=
"text-align: center"
>
<
el
-
button
type
=
"primary"
@
click
=
"onReEdit"
>
重新编辑
<
/el-button
>
<
p
style
=
"margin-top: 16px; color: #f00"
>
注:重新提交后不可修改,请检查好作业内容再做提交。
<
/p
>
<
/div
>
<
/template
>
<
/el-dialog
>
<
/div
>
...
...
src/modules/viewer/components/work/chapterWorkComment.vue
浏览文件 @
eba866a2
...
...
@@ -24,7 +24,8 @@
<el-button
type=
"primary"
:disabled=
"disabled"
@
click=
"handleSubmit"
>
{{
$t('viewerWork.commentSubmitText')
}}
</el-button>
<p>
{{ $t('viewerWork.commentSubmitTips', { date: endDate }) }}
</p>
<p
v-if=
"status === 1"
>
注:重新提交后不可修改,请检查好作业内容再做提交。
</p>
<p
v-else
>
{{ $t('viewerWork.commentSubmitTips', { date: endDate }) }}
</p>
</div>
<div
class=
"more"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论