mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
优化车辆收费模版导出问题
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
563997a5d6
commit
8f5f33483f
@ -165,9 +165,32 @@
|
||||
},
|
||||
_exportExcel: function() {
|
||||
let _paIds = $that.exportCarFeeImportExcelInfo.paIds.join(',');
|
||||
let _configIds = $that.exportCarFeeImportExcelInfo.configIds.join(',');
|
||||
vc.jumpToPage('/callComponent/importAndExportFee/exportData?paIds=' + _paIds + "&configIds=" + _configIds + "&communityId=" + vc.getCurrentCommunity().communityId + "&type=2002");
|
||||
$('#exportCarFeeImportExcelModel').modal('hide');
|
||||
let _configIds = $that.exportFeeImportExcelInfo.configIds.join(',');
|
||||
let param = {
|
||||
params: {
|
||||
paIds: _paIds,
|
||||
configIds: _configIds,
|
||||
communityId: vc.getCurrentCommunity().communityId,
|
||||
type: '2002',
|
||||
pagePath: 'exportCreateFeeTemplate'
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.apiGet('/export.exportData', param,
|
||||
function (json, res) {
|
||||
let _json = JSON.parse(json);
|
||||
vc.toast(_json.msg);
|
||||
if (_json.code == 0) {
|
||||
$('#exportCarFeeImportExcelModel').modal('hide');
|
||||
setTimeout(function () {
|
||||
vc.jumpToPage('/#/pages/property/downloadTempFile?tab=下载中心')
|
||||
}, 500);
|
||||
}
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user