文件预览
This commit is contained in:
parent
248844a73c
commit
403e4b6335
|
|
@ -235,7 +235,6 @@ export default {
|
|||
cancelButtonText: '取消',
|
||||
type: 'success'
|
||||
}).then(() => {
|
||||
this.status = 'approved'
|
||||
this.auditTransferApply(1)
|
||||
}).catch(() => {
|
||||
// 取消操作
|
||||
|
|
@ -252,7 +251,6 @@ export default {
|
|||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.status = 'rejected'
|
||||
this.auditTransferApply(2)
|
||||
}).catch(() => {
|
||||
// 取消操作
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<!-- 图片预览 -->
|
||||
<template v-if="isImage">
|
||||
<div class="image-toolbar">
|
||||
<el-button size="mini" @click="downloadFile"><i class="el-icon-download"></i> 下载</el-button>
|
||||
<!-- <el-button size="mini" @click="downloadFile"><i class="el-icon-download"></i> 下载</el-button> -->
|
||||
</div>
|
||||
<el-image :src="processedFileUrl" :preview-src-list="previewList" fit="contain"
|
||||
style="max-width:100%;max-height:70vh">
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</el-button>
|
||||
</div>
|
||||
<div class="pdf-actions">
|
||||
<el-button size="mini" @click="downloadFile"><i class="el-icon-download"></i> 下载</el-button>
|
||||
<!-- <el-button size="mini" @click="downloadFile"><i class="el-icon-download"></i> 下载</el-button> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue