Merge branch 'master' of http://113.200.75.45:82/monitor_v3/hg-monitor-web into master-V32-XuHaoJie
Showing
1 changed file
with
6 additions
and
1 deletions
@@ -592,13 +592,18 @@ export default { | @@ -592,13 +592,18 @@ export default { | ||
592 | let arr = getCheckedFile(); | 592 | let arr = getCheckedFile(); |
593 | 593 | ||
594 | let info = []; | 594 | let info = []; |
595 | + let fileNameData=[]; | ||
595 | arr.map(function (v) { | 596 | arr.map(function (v) { |
596 | info.push(`${v.id}__${v.type}`); | 597 | info.push(`${v.id}__${v.type}`); |
598 | + if (v.checked != undefined && v.checked == true) { | ||
599 | + fileNameData.push(v.fileName) | ||
600 | + } | ||
597 | }) | 601 | }) |
602 | + alert(fileNameData) | ||
598 | 603 | ||
599 | let params = { | 604 | let params = { |
600 | info: info.join(","), | 605 | info: info.join(","), |
601 | - fileName: '' | 606 | + fileName:fileNameData |
602 | } | 607 | } |
603 | 608 | ||
604 | proxy.$http.downloadFile('/inspection-report/file/download', params); | 609 | proxy.$http.downloadFile('/inspection-report/file/download', params); |
-
Please register or login to post a comment