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