文件预览

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: '取消', cancelButtonText: '取消',
type: 'success' type: 'success'
}).then(() => { }).then(() => {
this.status = 'approved'
this.auditTransferApply(1) this.auditTransferApply(1)
}).catch(() => { }).catch(() => {
// //
@ -252,7 +251,6 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.status = 'rejected'
this.auditTransferApply(2) this.auditTransferApply(2)
}).catch(() => { }).catch(() => {
// //

View File

@ -6,7 +6,7 @@
<!-- 图片预览 --> <!-- 图片预览 -->
<template v-if="isImage"> <template v-if="isImage">
<div class="image-toolbar"> <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> </div>
<el-image :src="processedFileUrl" :preview-src-list="previewList" fit="contain" <el-image :src="processedFileUrl" :preview-src-list="previewList" fit="contain"
style="max-width:100%;max-height:70vh"> style="max-width:100%;max-height:70vh">
@ -48,7 +48,7 @@
</el-button> </el-button>
</div> </div>
<div class="pdf-actions"> <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>
</div> </div>