From 35baf683e1e6a81989c449db4b977096adca95e7 Mon Sep 17 00:00:00 2001 From: zyn Date: Mon, 17 Apr 2023 10:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=86=85=E5=A4=96=E6=A0=87=E5=87=86-?= =?UTF-8?q?=E5=88=86=E8=A7=A3=E5=8D=95=E5=AF=BC=E5=87=BA=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/otherStandardDetails/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)