mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
optimize remind fee
This commit is contained in:
parent
c0988de9d5
commit
2f872a95de
@ -1,33 +1,39 @@
|
||||
<div>
|
||||
<table class="table table-bordered" data-page-size="15">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="车辆" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailCarInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
<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>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="车辆" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailCar"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailCarInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailCarInfo.fees">
|
||||
<td class="text-center">{{fee.carNum}}</td>
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailCarInfo.feeTypeCds">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailCarInfo.fees">
|
||||
<td class="text-center">{{fee.carNum}}</td>
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailCarInfo.feeTypeCds">
|
||||
<td class="text-center" >
|
||||
{{fee['oweFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
@ -35,9 +41,10 @@
|
||||
{{fee['receivedFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
</template>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</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>
|
||||
|
||||
@ -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('请求失败处理');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@ -1,33 +1,39 @@
|
||||
<div>
|
||||
<table class="table table-bordered" data-page-size="15">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="合同" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailContractInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
<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>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="合同" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailContract"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailContractInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailContractInfo.fees">
|
||||
<td class="text-center">{{fee.contractName}}</td>
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailContractInfo.feeTypeCds">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailContractInfo.fees">
|
||||
<td class="text-center">{{fee.contractName}}</td>
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailContractInfo.feeTypeCds">
|
||||
<td class="text-center" >
|
||||
{{fee['oweFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
@ -35,9 +41,10 @@
|
||||
{{fee['receivedFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
</template>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</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>
|
||||
|
||||
@ -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('请求失败处理');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@ -1,34 +1,40 @@
|
||||
<div>
|
||||
<table class="table table-bordered" data-page-size="15">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="房屋" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailOwnerInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailOwnerInfo.fees">
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">
|
||||
<div style="max-width: 200px;">{{fee.objName}}</div>
|
||||
</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailOwnerInfo.feeTypeCds">
|
||||
<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>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="业主" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="房屋" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="欠费" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<vc:i18n name="实收" namespace="reportFeeDetailOwner"></vc:i18n>
|
||||
</th>
|
||||
<th class="text-center" colspan="2" v-for="(item,index) in reportFeeDetailOwnerInfo.feeTypeCds">
|
||||
{{item.name}}</br>
|
||||
欠费/实收
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="fee in reportFeeDetailOwnerInfo.fees">
|
||||
<td class="text-center">{{fee.ownerName}}({{fee.link}})</td>
|
||||
<td class="text-center">
|
||||
<div style="max-width: 200px;">{{fee.objName}}</div>
|
||||
</td>
|
||||
<td class="text-center">{{fee.oweFee || '0'}}</td>
|
||||
<td class="text-center">{{fee.receivedFee || '0'}}</td>
|
||||
<template v-for="(item,index) in reportFeeDetailOwnerInfo.feeTypeCds">
|
||||
<td class="text-center" >
|
||||
{{fee['oweFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
@ -36,9 +42,10 @@
|
||||
{{fee['receivedFee'+item.statusCd] || 0}}
|
||||
</td>
|
||||
</template>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</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>
|
||||
|
||||
@ -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('请求失败处理');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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);
|
||||
Loading…
Reference in New Issue
Block a user