From b137630902eee30fb95f5c9721bddd5198377868 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 25 Apr 2024 16:16:54 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=EF=BC=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=B8=AD=E5=BF=83=EF=BC=8C=E4=BC=81=E6=A0=87=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AFonlyOffice=E7=94=9F=E6=88=90=E7=9A=84=EF=BC=8C?= =?UTF-8?q?=E6=98=AF=E7=9A=84=E8=AF=9D=E9=A2=84=E8=A7=88onlyOffice?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=9A=84pdf=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UploadFile.vue | 4 ++-- src/views/dashboard/search/AdvancedSearch.vue | 4 ++-- src/views/dashboard/search/GeneralSearch.vue | 4 ++-- .../standard/EnterpriseStandardList.vue | 4 ++-- .../standard/detail/EnterpriseStandardDetail.vue | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/UploadFile.vue b/src/components/UploadFile.vue index 16862748..a0953fe5 100644 --- a/src/components/UploadFile.vue +++ b/src/components/UploadFile.vue @@ -299,9 +299,9 @@ export default { if (!file || !file.url) { return } - if (file.pdf_id) { + if (file.pdfId) { // 说明是onlyOffice生成的 - const url = previewPdf(file.pdf_id) + const url = previewPdf(file.pdfId) window.open(url) return } diff --git a/src/views/dashboard/search/AdvancedSearch.vue b/src/views/dashboard/search/AdvancedSearch.vue index 82636d8e..3fa85ef8 100644 --- a/src/views/dashboard/search/AdvancedSearch.vue +++ b/src/views/dashboard/search/AdvancedSearch.vue @@ -395,9 +395,9 @@ export default { console.log('seletedFile', file) // 是onlyOffice生成的,预览关联的pdf文件 - if (file.pdf_id) { + if (file.pdfId) { // 说明是onlyOffice生成的 - const url = previewPdf(file.pdf_id) + const url = previewPdf(file.pdfId) window.open(url) return } diff --git a/src/views/dashboard/search/GeneralSearch.vue b/src/views/dashboard/search/GeneralSearch.vue index 9c6f65c3..b26b91c6 100644 --- a/src/views/dashboard/search/GeneralSearch.vue +++ b/src/views/dashboard/search/GeneralSearch.vue @@ -619,9 +619,9 @@ export default { console.log('seletedFile', file) // 是onlyOffice生成的,预览关联的pdf文件 - if (file.pdf_id) { + if (file.pdfId) { // 说明是onlyOffice生成的 - const url = previewPdf(file.pdf_id) + const url = previewPdf(file.pdfId) window.open(url) return } diff --git a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue index 60f41bdd..a34a5d02 100644 --- a/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue +++ b/src/views/enterpriseStandardLibrary/standard/EnterpriseStandardList.vue @@ -829,9 +829,9 @@ export default { console.log('seletedFile', file) // 是onlyOffice生成的,预览关联的pdf文件 - if (file.pdf_id) { + if (file.pdfId) { // 说明是onlyOffice生成的 - const url = previewPdf(file.pdf_id) + const url = previewPdf(file.pdfId) window.open(url) return } diff --git a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue index 22d666d7..fd403106 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue @@ -287,9 +287,9 @@ export default { if (!file || !file.url) { return } - if (file.pdf_id) { + if (file.pdfId) { // 说明是onlyOffice生成的 - const url = previewPdf(file.pdf_id) + const url = previewPdf(file.pdfId) window.open(url) return }