mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
39c1e11fbf
commit
a99209bc19
@ -32,7 +32,7 @@
|
||||
<table class="footable table table-stripped " style="margin-top:10px;" data-page-size="10">
|
||||
<thead>
|
||||
<tr>
|
||||
<th v-for="(item,index) in reportProficientCarFeeInfo.listColumns" width="100px" class="java110-td-scoll-width">{{item}}
|
||||
<th v-for="(item,index) in reportProficientCarFeeInfo.listColumns" width="100px" class="java110-td-scoll-width">{{item}}年
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -61,12 +61,12 @@
|
||||
}
|
||||
let _reportFeeYearCollectionDetailDtos = _feeConfigInfo.data[0].reportFeeYearCollectionDetailDtos;
|
||||
_feeConfigInfo.data.forEach(item => {
|
||||
if (item.reportProficientCarFeeInfo.length > reportProficientCarFeeInfo.length) {
|
||||
if (item.reportFeeYearCollectionDetailDtos.length > _reportFeeYearCollectionDetailDtos.length) {
|
||||
_reportFeeYearCollectionDetailDtos = item.reportFeeYearCollectionDetailDtos;
|
||||
}
|
||||
})
|
||||
_reportFeeYearCollectionDetailDtos.forEach(item => {
|
||||
$that.reportProficientCarFeeInfo.listColumns.push(item.collectionYear + "年")
|
||||
$that.reportProficientCarFeeInfo.listColumns.push(item.collectionYear)
|
||||
})
|
||||
},
|
||||
function() {
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
unitId: '',
|
||||
state: '',
|
||||
roomNum: '',
|
||||
floorNum: '',
|
||||
unitNum: '',
|
||||
moreCondition: false,
|
||||
fees: [],
|
||||
roomName: '',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user