// window.location.href = $scope.item_Batch_exp_PDF.app_path + "/homeOh/downPDF?src_file=" + encodeURI(ls_Src_File) + '&saveas_name=' + encodeURI(fileName);
var a = document.createElement('a');//在dom树上创建一个a标签
//这里地址是自己的下载url
let url = $scope.item_Batch_exp_PDF.app_path + "/homeOh/downPDF?src_file=" + encodeURI(ls_Src_File) + '&saveas_name=' + encodeURI(fileName);
a.href = url;//将url赋值给a标签的href属性
a.download = '产线检修记录表';//设置设置下载文件的名称
a.click();//主动触发a标签点击事件
这样就可以解决客户端勾选多个导致只下载最后一个