From bff239179fccff8061d7c22a1a6b2553c7ce5967 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 12 Nov 2024 10:13:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=AE=80=E5=8E=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reviewers/index.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/reviewers/index.vue b/src/views/reviewers/index.vue index 2a88b876..50fa107b 100644 --- a/src/views/reviewers/index.vue +++ b/src/views/reviewers/index.vue @@ -309,13 +309,6 @@ :title="$t('reviewers-list:table:Detail')" @click="handleDetail(scope.row)" /> - + 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 2/2] =?UTF-8?q?=E7=AE=80=E5=8E=86=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=96=87=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) {