From 26c4f7ae79ad5ad2300876b94f96f19e4f93d53a Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 18 十二月 2023 16:02:12 +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