...
|
...
|
@@ -592,13 +592,18 @@ export default { |
|
|
let arr = getCheckedFile();
|
|
|
|
|
|
let info = [];
|
|
|
let fileNameData=[];
|
|
|
arr.map(function (v) {
|
|
|
info.push(`${v.id}__${v.type}`);
|
|
|
if (v.checked != undefined && v.checked == true) {
|
|
|
fileNameData.push(v.fileName)
|
|
|
}
|
|
|
})
|
|
|
alert(fileNameData)
|
|
|
|
|
|
let params = {
|
|
|
info: info.join(","),
|
|
|
fileName: ''
|
|
|
fileName:fileNameData
|
|
|
}
|
|
|
|
|
|
proxy.$http.downloadFile('/inspection-report/file/download', params);
|
...
|
...
|
|