From ad2437550eb0c8f3c3c8736df1a38a713f920ec2 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期五, 15 十二月 2023 10:13:40 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/quality/rawMaterial/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue index fcfe4bf..267b919 100644 --- a/src/views/quality/rawMaterial/index.vue +++ b/src/views/quality/rawMaterial/index.vue @@ -27,7 +27,7 @@ @queryParam="getQueryParam($event)" ref="rawMaterialTable"> <template #toolbar> - <el-button @click="exportRawMaterial" type="primary" >瀵煎嚭</el-button> + <!-- <el-button @click="exportRawMaterial" type="primary" >瀵煎嚭</el-button> --> </template> </ttable> </basic-container> @@ -287,8 +287,11 @@ this.$message.error("鍙兘閫夋嫨宸叉娴嬬殑鏁版嵁") return } - console.log(selection) - downloadReport().then(res=>{ + let ids = [] + selection.forEach(ele=>{ + ids.push(ele.id) + }) + downloadReport({ids : ids}).then(res=>{ transformZip(res) }).catch(error=>{ console.log(error) @@ -329,7 +332,6 @@ }, exportRawMaterial(){ exportRawMaterial(this.queryParam).then(res=>{ - console.log(res) this.downloadFun(res) }).catch(error=>{ console.log(error); -- Gitblit v1.9.3