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) { 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)" /> - +