|
|
|
@ -94,21 +94,21 @@ |
|
|
|
|
<el-main> |
|
|
|
|
<el-tabs v-model="pannelTab" type="card"> |
|
|
|
|
<el-tab-pane label="案例" name="first"> |
|
|
|
|
<div class="break-all" v-html="experimentDescription"></div> |
|
|
|
|
<div class="break-all des" v-html="experimentDescription"></div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="实验要求" name="second"> |
|
|
|
|
<el-collapse v-model="curReq"> |
|
|
|
|
<el-collapse-item v-for="item in points" :name="item.judgmentId" :key="item.judgmentId"> |
|
|
|
|
<template slot="title"> |
|
|
|
|
<i class="el-icon-s-ticket"></i> |
|
|
|
|
<div class="break-all" v-html="item.name"></div> |
|
|
|
|
<div class="break-all des" v-html="item.name"></div> |
|
|
|
|
</template> |
|
|
|
|
<div class="break-all" v-html="item.experimentalRequirements"></div> |
|
|
|
|
<div class="break-all des" v-html="item.experimentalRequirements"></div> |
|
|
|
|
</el-collapse-item> |
|
|
|
|
</el-collapse> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="实验提示" name="fifth" v-if="hintOpen"> |
|
|
|
|
<div class="break-all" v-html="experimentHint"></div> |
|
|
|
|
<div class="break-all des" v-html="experimentHint"></div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</el-main> |
|
|
|
@ -373,7 +373,9 @@ export default { |
|
|
|
|
// 如果考核已结束,则清除查询考核状态的定时器,并且自动提交 |
|
|
|
|
if (done) { |
|
|
|
|
clearInterval(this.statusTimer) |
|
|
|
|
this.$message.success('考核时间已到,系统已自动交卷') |
|
|
|
|
this.$alert('考核时间已到,系统已自动交卷', '提示', { |
|
|
|
|
confirmButtonText: '确定' |
|
|
|
|
}) |
|
|
|
|
this.submit() |
|
|
|
|
} |
|
|
|
|
}).catch(res => {}) |
|
|
|
@ -590,6 +592,10 @@ export default { |
|
|
|
|
background-color: #202020; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.des { |
|
|
|
|
font-size: 16px; |
|
|
|
|
font-family: "Microsoft YaHei"; |
|
|
|
|
} |
|
|
|
|
/deep/.el-collapse-item__wrap { |
|
|
|
|
border-bottom: none; |
|
|
|
|
} |
|
|
|
|