diff --git a/jero-web/src/components/uploadFile/file.vue b/jero-web/src/components/uploadFile/file.vue index af453b1c8..37d09442f 100644 --- a/jero-web/src/components/uploadFile/file.vue +++ b/jero-web/src/components/uploadFile/file.vue @@ -38,7 +38,7 @@ uploadAction: window._CONFIG['domianURL'] + '/sys/common/upload', myuploadAction: window._CONFIG['domianURL'] + this.thisFileUploadUrl, upDataList: [], - downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/pdf/viewFile', + downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/fileView', fileList: [], myfileList: [], isLoding: false @@ -182,10 +182,10 @@ if (fileSuffix === '.pdf') { window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id)) } else if (fileSuffix === '.docx') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else if (fileSuffix === '.xlsx' || fileSuffix === '.xls') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else { downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id }) diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index 857d9a8b7..475b66dfd 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -243,10 +243,10 @@ if (fileSuffix == '.pdf') { window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id)) } else if (fileSuffix == '.docx') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else { downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id }) diff --git a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue index 3d18a8bc3..2d3f6caaa 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue @@ -288,7 +288,7 @@ loading: false, selectModel: '', fileList: [], - downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/pdf/viewFile', + downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/fileView', } }, watch: { @@ -469,10 +469,10 @@ if (fileSuffix == '.pdf') { window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id)) } else if (fileSuffix == '.docx') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') { - let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '/' + fileQuery.id) + let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + encodeURIComponent(this.downLoadFileUrl + '?id=' + fileQuery.id) window.open(url, '_blank') } else { downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id }) diff --git a/jero-web/src/views/documentTools/searchCenter/components/whole.vue b/jero-web/src/views/documentTools/searchCenter/components/whole.vue index 1f85381ec..8a7d31ef9 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/whole.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/whole.vue @@ -19,8 +19,8 @@ @click="checkedClick(item)" :class="{ 'null-input':item.checked }">
- {{item.type}} - {{item.number}} + {{item.module_type}} + {{item.serial_number}} {{item.title}}
@@ -45,51 +45,22 @@