标准法规清单-新增-导出 程序异常

This commit is contained in:
yanyizhou
2021-10-21 14:38:59 +08:00
parent 9fbe5c0e1c
commit 37b01f7229
@@ -1751,8 +1751,9 @@ export default {
} }
if (exportList != null && exportList.length > 0) { if (exportList != null && exportList.length > 0) {
let accIdAndrestype = [] let accIdAndrestype = []
for (var accessInfo in exportList) { let accessInfo = 1
accIdAndrestype.push(exportList[accessInfo].id) for (accessInfo in exportList) {
accIdAndrestype.push(exportList[accessInfo])
} }
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' + '&exportType=apart' + '&ids=' + accIdAndrestype.join(',') + '&exportName=' + this.exportName const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' + '&exportType=apart' + '&ids=' + accIdAndrestype.join(',') + '&exportName=' + this.exportName
window.open(exportURL) window.open(exportURL)