This commit is contained in:
2020-09-03 18:30:00 +00:00
parent 15bdee1be0
commit 79fb82897a

View File

@@ -344,6 +344,20 @@ export default {
return this.APIUrl(url);
},
/////////////////////////////
// report file download URL
//
reportDownloadUrl(fileName) {
//http://localhost:7575/api/v8/report/download/filename.pdf?t=sssss
let url =
"report/download/" +
fileName +
"?t=" +
window.$gz.store.state.downloadToken;
return this.APIUrl(url);
},
/////////////////////////////
// backup file download URL
//
backupDownloadUrl(fileName) {