From abf85c0daae5cd59d790d5918d739ca59bc15cdb Mon Sep 17 00:00:00 2001 From: 86182 Date: Tue, 18 Oct 2022 11:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BApdf=E5=92=8Cexcel=E4=B9=B1?= =?UTF-8?q?=E7=A0=81=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phase2/note.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/phase2/note.js b/src/api/phase2/note.js index 7a0777e4..327fd5f6 100644 --- a/src/api/phase2/note.js +++ b/src/api/phase2/note.js @@ -105,7 +105,7 @@ const ids=function (data){ * */ const exportExcel=function (data){ // return ajax.postJsonToFile(baseURL,'/xboe/subgroup/m/noteinfo/exportExcel',data); - return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/exportExcel',data); + return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/exportExcel',data,{responseType: 'blob'}); } /** @@ -115,7 +115,7 @@ const exportExcel=function (data){ * } * */ const exportExcelPre=function (data){ - return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/excel-detail',data); + return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/excel-detail',data,{responseType: 'blob'}); } /**