|
@@ -38,7 +38,7 @@ layui.define(['jquery', 'ajax', 'layer', 'constants'], (exports) => {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- download: (id, serviceId) => {
|
|
|
+ download: (id, serviceId, sqrxm) => {
|
|
|
const index = layui.layer.load(0);
|
|
|
let xhr = new XMLHttpRequest();
|
|
|
xhr.responseType = "arraybuffer";
|
|
@@ -48,7 +48,8 @@ layui.define(['jquery', 'ajax', 'layer', 'constants'], (exports) => {
|
|
|
const aLink = document.createElement('a');
|
|
|
aLink.style.display = 'none';
|
|
|
aLink.href = window.URL.createObjectURL(blob);
|
|
|
- aLink.download = new Date().getTime() + '.zip';
|
|
|
+ //aLink.download = new Date().getTime() + '.zip';
|
|
|
+ aLink.download = sqrxm + '.zip';
|
|
|
document.body.appendChild(aLink);
|
|
|
aLink.click();
|
|
|
document.body.removeChild(aLink);
|