文件预览

This commit is contained in:
cwchen 2025-09-28 13:21:15 +08:00
parent 248844a73c
commit 403e4b6335
2 changed files with 2 additions and 4 deletions

View File

@ -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(() => {
//

View File

@ -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>