From ff97099c3f287b555deadd5d1b8a168aff15b3a7 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Tue, 12 Nov 2024 10:32:58 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E9=A2=84=E8=A7=88=E6=96=87?=
=?UTF-8?q?=E4=BB=B6=E6=96=B9=E5=BC=8F=E5=8F=98=E6=9B=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/reviewers/curriculumVitae/preview.vue | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/reviewers/curriculumVitae/preview.vue b/src/views/reviewers/curriculumVitae/preview.vue
index 5357a754..cf94359d 100644
--- a/src/views/reviewers/curriculumVitae/preview.vue
+++ b/src/views/reviewers/curriculumVitae/preview.vue
@@ -648,7 +648,7 @@
@@ -674,7 +674,7 @@
@@ -910,10 +910,14 @@ export default {
}
})
},
- handlePreview(row) {
- if (row.FullPath || row.FilePath) {
- let path = row.FullPath || row.FilePath
- window.open(this.OSSclientConfig.basePath + path, '_blank')
+ handlePreview(row, isPreview = false) {
+ if (isPreview) {
+ this.preview(row)
+ } else {
+ if (row.FullPath || row.FilePath) {
+ let path = row.FullPath || row.FilePath
+ window.open(this.OSSclientConfig.basePath + path, '_blank')
+ }
}
},
preview(row) {