diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index e3f64f0ca..5a88ecd24 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3577,7 +3577,11 @@ export default { type: 'warning' }).then(() => { if (this.selectedItemList != null && this.selectedItemList.length > 0) { - window.open('/api/lawss/sarStandItems/exportStandardItemExcel?idList=' + this.selectedItemList.join(',')) + const ids = this.selectedItemList.reduce((init,item,index,arr)=>{ + init.push(item.id) + return init + },[]) + window.open('/api/lawss/sarStandItems/exportStandardItemExcel?idList=' + ids.join(',')) this.$message.success('导出成功') } else if (this.standItemList.length > 0) { window.open('/api/lawss/sarStandItems/exportStandardItemExcel?standId=' + this.$route.params.id + '&fileType=' + this.fileType)