|
|
@@ -3546,15 +3546,7 @@ export default { |
|
|
|
this.officeTitle = file.archName + "." + file.extension; |
|
|
|
if (file.extension == "pdf") { |
|
|
|
this.showOffice = true; |
|
|
|
var fileUrl = |
|
|
|
encodeURIComponent(process.env.API_HOST + "archives/pdf?path=") + |
|
|
|
encodeURIComponent(file.alias) + |
|
|
|
"&filename=" + |
|
|
|
encodeURIComponent(file.archName); |
|
|
|
this.officeUrl = |
|
|
|
process.env.API_WEB + |
|
|
|
"static/pdfjs-2.2.228-dist/web/viewer.html?file=" + |
|
|
|
fileUrl; |
|
|
|
this.officeUrl = process.env.OFFICE_WEB + "?furl=" + file.alias; |
|
|
|
this.$axios({ |
|
|
|
method: "delete", |
|
|
|
url: encodeURI( |
|
|
|