From 80825924cc2ad442238defa5134a009d0266d5f5 Mon Sep 17 00:00:00 2001 From: khansadaoudi Date: Tue, 15 Oct 2024 11:25:37 +0200 Subject: [PATCH] fix: #407 --- src/api/backend-api.ts | 5 +++++ src/components/grewSearch/ResultView.vue | 26 +++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/api/backend-api.ts b/src/api/backend-api.ts index d20f7a3f..db3f553f 100644 --- a/src/api/backend-api.ts +++ b/src/api/backend-api.ts @@ -188,6 +188,11 @@ export default { getRelationTable(projectName: string, data: any) { return API.post(`projects/${projectName}/relation-table`, data); }, + exportGrewResults(projectName: string, data: any) { + return API.post(`/projects/${projectName}/export-results`, data, { + responseType: 'arraybuffer', + }); + }, // -------------------------------------------------------- // // --------------- Constructicon --------------- // // -------------------------------------------------------- // diff --git a/src/components/grewSearch/ResultView.vue b/src/components/grewSearch/ResultView.vue index f862feb9..5923b5b6 100644 --- a/src/components/grewSearch/ResultView.vue +++ b/src/components/grewSearch/ResultView.vue @@ -9,7 +9,7 @@
+