修改已知问题
This commit is contained in:
@@ -248,6 +248,7 @@
|
||||
window.open(url, '_blank')
|
||||
} else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') {
|
||||
console.log(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
|
||||
downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id })
|
||||
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
|
||||
window.open(url, '_blank')
|
||||
} else {
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xlsx', query, this.Deselect)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query, this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.$refs.tableDataRef.selectedRowKeys = []
|
||||
@@ -162,7 +162,7 @@
|
||||
},
|
||||
//下载模板
|
||||
handleModule() {
|
||||
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库.xlsx', {})
|
||||
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库.xls', {})
|
||||
},
|
||||
//批量删除
|
||||
handleDel() {
|
||||
|
||||
Reference in New Issue
Block a user