修改已知问题

This commit is contained in:
qq787203167
2022-03-23 17:38:29 +08:00
parent 0a0597c810
commit c272904290
13 changed files with 462 additions and 414 deletions
@@ -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() {