File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
public/pages/property/reportQuestionAnswerDetail Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 137
137
} ,
138
138
//导出
139
139
_exportExcel : function ( ) {
140
- vc . jumpToPage ( '/callComponent/exportReportFee/exportData?pagePath=reportQuestionAnswerDetail&' + vc . objToGetParam ( $that . reportQuestionAnswerDetailInfo . conditions ) ) ;
140
+ $that . reportQuestionAnswerDetailInfo . conditions . pagePath = 'reportQuestionAnswerDetail' ;
141
+ let param = {
142
+ params : $that . reportQuestionAnswerDetailInfo . conditions
143
+ } ;
144
+ //发送get请求
145
+ vc . http . apiGet ( '/export.exportData' , param ,
146
+ function ( json , res ) {
147
+ let _json = JSON . parse ( json ) ;
148
+ vc . toast ( _json . msg ) ;
149
+ if ( _json . code == 0 ) {
150
+ vc . jumpToPage ( '/#/pages/property/downloadTempFile?tab=下载中心' )
151
+ }
152
+ } ,
153
+ function ( errInfo , error ) {
154
+ console . log ( '请求失败处理' ) ;
155
+ } ) ;
141
156
}
142
157
}
143
158
} ) ;
You can’t perform that action at this time.
0 commit comments