|
|
|
@ -7,14 +7,14 @@
|
|
|
|
|
});
|
|
|
|
|
var downloadService = axios.create({
|
|
|
|
|
method: 'post',
|
|
|
|
|
timeout: 30000,
|
|
|
|
|
timeout: 3 * 60 * 1000,
|
|
|
|
|
baseURL: '${context?default("")}',
|
|
|
|
|
responseType: 'blob',
|
|
|
|
|
headers: {'Content-Type': 'application/json;charset=UTF-8'},
|
|
|
|
|
});
|
|
|
|
|
var uploadService = axios.create({
|
|
|
|
|
method: 'post',
|
|
|
|
|
timeout: 30000,
|
|
|
|
|
timeout: 3 * 60 * 1000,
|
|
|
|
|
baseURL: '${context?default("")}',
|
|
|
|
|
headers: {'Content-Type': 'multipart/form-data'},
|
|
|
|
|
onUploadProgress: function (progressEvent) {
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
});
|
|
|
|
|
var importService = axios.create({
|
|
|
|
|
method: 'post',
|
|
|
|
|
timeout: 30000,
|
|
|
|
|
timeout: 3 * 60 * 1000,
|
|
|
|
|
baseURL: '${context?default("")}',
|
|
|
|
|
responseType: 'blob',
|
|
|
|
|
headers: {'Content-Type': 'multipart/form-data'},
|
|
|
|
|