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

优化互评功能模块

上级 2a9a1cd5
......@@ -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="400px">
<el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="500px">
<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>
......
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论