|
|
|
@ -49,13 +49,13 @@ |
|
|
|
|
<template v-if="item.fileUrl"> |
|
|
|
|
<div v-for="(url,fileName) in item.fileUrl" :key="fileName"> |
|
|
|
|
<el-button type="text" @click="preview(url,0)">{{fileName}}</el-button> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url)">下载</el-button> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url,0)">下载</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<template v-if="item.videoAudio"> |
|
|
|
|
<div v-for="(url,fileName) in item.videoAudio" :key="fileName"> |
|
|
|
|
<el-button type="text" @click="preview(url,1)">{{fileName}}</el-button> |
|
|
|
|
<!-- <el-button type="primary" size="mini" @click="download(url)">下载</el-button> --> |
|
|
|
|
<el-button type="primary" size="mini" @click="download(fileName,url,1)">下载</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
@ -84,13 +84,12 @@ |
|
|
|
|
<button type="button" @click="save(0)">保存</button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div v-show="playAuth" class="el-image-viewer__wrapper" :class="{active: playAuth}" style="z-index: 2000"> |
|
|
|
|
<div v-show="playAuth" class="el-image-viewer__wrapper" :class="{over: isDownload}" style="z-index: 2000"> |
|
|
|
|
<div class="el-image-viewer__mask"></div> |
|
|
|
|
<span class="el-image-viewer__btn el-image-viewer__close" @click="closePlayer"><i class="el-icon-circle-close" style="color: #fff"></i></span> |
|
|
|
|
<div class="player" id="player"></div> |
|
|
|
|
</div> |
|
|
|
|
<pdf :visible.sync="pdfVisible" :src.sync="pdfSrc"></pdf> |
|
|
|
|
<a ref="picLink" style="display: none;" crossOrigin="anonymous" download="用户上传图片.png" :href="imgSrc">下载图片</a> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
@ -196,7 +195,7 @@ export default { |
|
|
|
|
let totalScore = 0 |
|
|
|
|
this.list.map(n => { |
|
|
|
|
n.questionScore !== '' && n.isSub && data.review.push({ |
|
|
|
|
detailId: Number(n.detailId) , |
|
|
|
|
detailId: Number(n.detailId), |
|
|
|
|
score: Number(n.questionScore) |
|
|
|
|
}) |
|
|
|
|
totalScore += Number(n.questionScore) |
|
|
|
@ -321,6 +320,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.over{ |
|
|
|
|
top: 5000px; |
|
|
|
|
} |
|
|
|
|
.player{ |
|
|
|
|
position: absolute; |
|
|
|
|
top: 50%; |
|
|
|
|