From 563997a5d69bb3d10c4686bbf8a2864fbc099ffe Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 14 May 2025 07:40:24 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: java110 <928255095@qq.com> --- .../reportQuestionAnswerDetail.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/public/pages/property/reportQuestionAnswerDetail/reportQuestionAnswerDetail.js b/public/pages/property/reportQuestionAnswerDetail/reportQuestionAnswerDetail.js index dbe45549a..d6a39686e 100644 --- a/public/pages/property/reportQuestionAnswerDetail/reportQuestionAnswerDetail.js +++ b/public/pages/property/reportQuestionAnswerDetail/reportQuestionAnswerDetail.js @@ -137,7 +137,22 @@ }, //导出 _exportExcel: function () { - vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=reportQuestionAnswerDetail&' + vc.objToGetParam($that.reportQuestionAnswerDetailInfo.conditions)); + $that.reportQuestionAnswerDetailInfo.conditions.pagePath = 'reportQuestionAnswerDetail'; + let param = { + params: $that.reportQuestionAnswerDetailInfo.conditions + }; + //发送get请求 + vc.http.apiGet('/export.exportData', param, + function (json, res) { + let _json = JSON.parse(json); + vc.toast(_json.msg); + if (_json.code == 0) { + vc.jumpToPage('/#/pages/property/downloadTempFile?tab=下载中心') + } + }, + function (errInfo, error) { + console.log('请求失败处理'); + }); } } });