mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
优化导出跳转到登陆页面bug
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
27139ae93f
commit
c267cba2a2
@ -14,7 +14,7 @@
|
||||
moreCondition: false,
|
||||
title: '',
|
||||
feeTypeCds: [],
|
||||
communitys:[],
|
||||
communitys: [],
|
||||
totalPreferentialAmount: 0.0,
|
||||
allOweAmount: 0.0,
|
||||
conditions: {
|
||||
@ -26,15 +26,15 @@
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
communityId: '',
|
||||
ownerNameLike:'',
|
||||
ownerNameLike: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
vc.initDate('startTime',function(_value){
|
||||
vc.initDate('startTime', function (_value) {
|
||||
$that.reportOweFeeDetailInfo.conditions.startTime = _value;
|
||||
});
|
||||
vc.initDate('endTime',function(_value){
|
||||
vc.initDate('endTime', function (_value) {
|
||||
$that.reportOweFeeDetailInfo.conditions.endTime = _value;
|
||||
});
|
||||
vc.getDict('pay_fee_config', "fee_type_cd", function (_data) {
|
||||
@ -147,7 +147,22 @@
|
||||
}
|
||||
},
|
||||
_exportExcel: function () {
|
||||
vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=reportOweFeeDetail&' + vc.objToGetParam($that.reportOweFeeDetailInfo.conditions));
|
||||
$that.reportOweFeeDetailInfo.conditions.pagePath = 'reportOweFeeDetail';
|
||||
let _param = {
|
||||
params: $that.reportOweFeeDetailInfo.conditions
|
||||
}
|
||||
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('请求失败处理');
|
||||
});
|
||||
},
|
||||
_loadStaffCommunitys: function () {
|
||||
let param = {
|
||||
@ -169,7 +184,7 @@
|
||||
}
|
||||
);
|
||||
},
|
||||
_changCommunity:function(){
|
||||
_changCommunity: function () {
|
||||
$that.reportOweFeeDetailInfo.conditions.floorId = "";
|
||||
$that._listFloors();
|
||||
$that._listFees(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
|
||||
@ -226,7 +226,23 @@
|
||||
}
|
||||
},
|
||||
_exportFee: function () {
|
||||
vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=reportRepairDetail&' + vc.objToGetParam($that.reportRepairInfo.conditions));
|
||||
// vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=reportRepairDetail&' + vc.objToGetParam($that.reportRepairInfo.conditions));
|
||||
$that.reportRepairInfo.conditions.pagePath = 'reportRepairDetail';
|
||||
let _param = {
|
||||
params: $that.reportRepairInfo.conditions
|
||||
}
|
||||
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('请求失败处理');
|
||||
});
|
||||
},
|
||||
_loadStaffCommunitys: function () {
|
||||
let param = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user