optimize remind fee

This commit is contained in:
java110 2023-05-24 11:46:45 +08:00
parent c0988de9d5
commit 2f872a95de
8 changed files with 199 additions and 96 deletions

View File

@ -1,4 +1,10 @@
<div>
<div class="text-right">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportReportFeeDetailCarExcel()">
<vc:i18n name="导出" namespace="reportFeeDetailCar"></vc:i18n>
</button>
</div>
<div class="margin-top">
<table class="table table-bordered" data-page-size="15">
<thead>
<tr>
@ -38,6 +44,7 @@
</tr>
</tbody>
</table>
</div>
<div class="row margin-top-xs">
<div class="col-sm-12 float-right">
<vc:create namespace="reportFeeDetailCar" path="frame/paginationPlus"></vc:create>

View File

@ -59,6 +59,25 @@
}
);
},
_exportReportFeeDetailOwnerExcel: function() {
vc.component.reportFeeDetailCarInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
vc.component.reportFeeDetailCarInfo.conditions.pagePath = 'reportFeeDetailCar';
let param = {
params: vc.component.reportFeeDetailCarInfo.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('请求失败处理');
});
}
}
});

View File

@ -1,4 +1,10 @@
<div>
<div class="text-right">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportReportFeeDetailContractExcel()">
<vc:i18n name="导出" namespace="reportFeeDetailContract"></vc:i18n>
</button>
</div>
<div class="margin-top">
<table class="table table-bordered" data-page-size="15">
<thead>
<tr>
@ -38,6 +44,7 @@
</tr>
</tbody>
</table>
</div>
<div class="row margin-top-xs">
<div class="col-sm-12 float-right">
<vc:create namespace="reportFeeDetailContract" path="frame/paginationPlus"></vc:create>

View File

@ -59,6 +59,25 @@
}
);
},
_exportReportFeeDetailOwnerExcel: function() {
vc.component.reportFeeDetailContractInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
vc.component.reportFeeDetailContractInfo.conditions.pagePath = 'reportFeeDetailContract';
let param = {
params: vc.component.reportFeeDetailContractInfo.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('请求失败处理');
});
}
}
});

View File

@ -1,4 +1,10 @@
<div>
<div class="text-right">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportReportFeeDetailOwnerExcel()">
<vc:i18n name="导出" namespace="reportFeeDetailOwner"></vc:i18n>
</button>
</div>
<div class="margin-top">
<table class="table table-bordered" data-page-size="15">
<thead>
<tr>
@ -39,6 +45,7 @@
</tr>
</tbody>
</table>
</div>
<div class="row margin-top-xs">
<div class="col-sm-12 float-right">
<vc:create namespace="reportFeeDetailOwner" path="frame/paginationPlus"></vc:create>

View File

@ -60,6 +60,25 @@
}
);
},
_exportReportFeeDetailOwnerExcel: function() {
vc.component.reportFeeDetailOwnerInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
vc.component.reportFeeDetailOwnerInfo.conditions.pagePath = 'reportFeeDetailOwner';
let param = {
params: vc.component.reportFeeDetailOwnerInfo.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('请求失败处理');
});
}
}
});

View File

@ -15,7 +15,12 @@
</div>
</div>
<div class="col-md-11">
<div>
<div class="text-right">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportReportFeeDetailRoomExcel()">
<vc:i18n name="导出" namespace="reportFeeDetailRoom"></vc:i18n>
</button>
</div>
<div class="margin-top">
<table class="table table-bordered" data-page-size="15">
<thead>
<tr>

View File

@ -88,6 +88,26 @@
);
},
_exportReportFeeDetailRoomExcel: function() {
vc.component.reportFeeDetailRoomInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
vc.component.reportFeeDetailRoomInfo.conditions.pagePath = 'reportFeeDetailRoom';
let param = {
params: vc.component.reportFeeDetailRoomInfo.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('请求失败处理');
});
}
}
});
})(window.vc);