This commit is contained in:
@@ -344,6 +344,20 @@ export default {
|
|||||||
return this.APIUrl(url);
|
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
|
// backup file download URL
|
||||||
//
|
//
|
||||||
backupDownloadUrl(fileName) {
|
backupDownloadUrl(fileName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user