From 6b74f3491ae59a7f4a39c7e4ac66a2ad1e28d278 Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Fri, 24 Dec 2021 14:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=A0=87=E5=A7=94=E5=9C=A8=E7=A0=94?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=A2=84=E8=A7=88url=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/CommitteeUnderStudyFilesModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/projectManagement/modules/CommitteeUnderStudyFilesModal.vue b/src/views/projectManagement/modules/CommitteeUnderStudyFilesModal.vue index 5203c82..d12bd19 100644 --- a/src/views/projectManagement/modules/CommitteeUnderStudyFilesModal.vue +++ b/src/views/projectManagement/modules/CommitteeUnderStudyFilesModal.vue @@ -98,8 +98,8 @@ export default { */ handlePreview(record) { if (record && record.FILE_ID) { - const fileFullUrl = `${ window._CONFIG['domianWebSocketURL'] }/payResearchProject/payResearchProject/downLoad/?fileId=${ record.FILE_ID }&fileName=${ record.FILE_NAME }` - let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(fileFullUrl) }` + const fileFullUrl = `${window._CONFIG['domianWebSocketURL']}/payResearchProject/payResearchProject/downLoad/?fileId=${record.FILE_ID}&token=${Vue.ls.get(ACCESS_TOKEN)}&fileName=${record.FILE_NAME}` + let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${encodeURIComponent(fileFullUrl)}` // let url = `${window._CONFIG['onlinePreviewDomainURL']}?url=${encodeURIComponent(fileFullUrl)}` window.open(url) }