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('请求失败处理'); + }); } } });