mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化代码
This commit is contained in:
parent
80d06874a1
commit
bb3d1844be
@ -83,7 +83,7 @@
|
||||
<span> 注意: 计费结束时间 “-” 表示未到计费时间 或 收费已结束</span>
|
||||
</div>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<vc:create namespace="simplifyCarFee" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
})
|
||||
|
||||
});
|
||||
vc.on('pagination', 'page_event',
|
||||
vc.on('simplifyCarFee','paginationPlus', 'page_event',
|
||||
function (_currentPage) {
|
||||
$that._listSimplifyCarFee(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
@ -58,7 +58,7 @@
|
||||
vc.component.simplifyCarFeeInfo.total = _feeConfigInfo.total;
|
||||
vc.component.simplifyCarFeeInfo.records = _feeConfigInfo.records;
|
||||
vc.component.simplifyCarFeeInfo.fees = _feeConfigInfo.fees;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyCarFee','paginationPlus', 'init', {
|
||||
total: _feeConfigInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
@ -30,8 +30,10 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<div class="row">
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create namespace="simplifyOwnerAccessContol" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <vc:create path="property/editMachineTranslate"></vc:create> -->
|
||||
|
||||
@ -19,6 +19,10 @@
|
||||
vc.copyObject(_param, $that.simplifyOwnerAccessContolInfo)
|
||||
$that._listSimplifyOwnerAccessContol(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
});
|
||||
vc.on('simplifyOwnerAccessContol','paginationPlus', 'page_event',
|
||||
function (_currentPage) {
|
||||
$that._listSimplifyOwnerComplaint(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
_listSimplifyOwnerAccessContol: function (_page, _row) {
|
||||
@ -42,7 +46,7 @@
|
||||
vc.component.simplifyOwnerAccessContolInfo.total = _machineTranslateManageInfo.total;
|
||||
vc.component.simplifyOwnerAccessContolInfo.records = _machineTranslateManageInfo.records;
|
||||
vc.component.simplifyOwnerAccessContolInfo.machineTranslates = _machineTranslateManageInfo.machineTranslates;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyOwnerAccessContol','paginationPlus', 'init', {
|
||||
total: vc.component.simplifyOwnerAccessContolInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
@ -38,8 +38,10 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<div class="row">
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create namespace="simplifyOwnerComplaint" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<vc:create path="common/viewImage"></vc:create>
|
||||
|
||||
@ -19,6 +19,10 @@
|
||||
vc.copyObject(_param, $that.simplifyOwnerComplaintInfo)
|
||||
$that._listSimplifyOwnerComplaint(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
});
|
||||
vc.on('simplifyOwnerComplaint','paginationPlus', 'page_event',
|
||||
function (_currentPage) {
|
||||
$that._listSimplifyOwnerComplaint(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
_listSimplifyOwnerComplaint: function (_page, _row) {
|
||||
@ -41,7 +45,7 @@
|
||||
vc.component.simplifyOwnerComplaintInfo.total = _complaintManageInfo.total;
|
||||
vc.component.simplifyOwnerComplaintInfo.records = _complaintManageInfo.records;
|
||||
vc.component.simplifyOwnerComplaintInfo.complaints = _complaintManageInfo.complaints;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyOwnerComplaint','paginationPlus', 'init', {
|
||||
total: vc.component.simplifyOwnerComplaintInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
@ -24,8 +24,7 @@
|
||||
<td class="text-center">{{repair.stateName}}</td>
|
||||
<td class="text-right">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openRepairDetail(repair)">详情
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openRepairDetail(repair)">详情
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
@ -33,8 +32,10 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<div class="row">
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create namespace="simplifyOwnerRepair" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -19,6 +19,11 @@
|
||||
vc.copyObject(_param, $that.simplifyOwnerRepairInfo)
|
||||
$that._listSimplifyOwnerRepair(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
});
|
||||
|
||||
vc.on('simplifyOwnerRepair','paginationPlus', 'page_event',
|
||||
function (_currentPage) {
|
||||
$that._listSimplifyOwnerRepair(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
_listSimplifyOwnerRepair: function (_page, _row) {
|
||||
@ -41,7 +46,7 @@
|
||||
vc.component.simplifyOwnerRepairInfo.total = _repairPoolManageInfo.total;
|
||||
vc.component.simplifyOwnerRepairInfo.records = _repairPoolManageInfo.records;
|
||||
vc.component.simplifyOwnerRepairInfo.repairs = _repairPoolManageInfo.data;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyOwnerRepair','paginationPlus', 'init', {
|
||||
total: vc.component.simplifyOwnerRepairInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
@ -41,8 +41,10 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<div class="row">
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create namespace="simplifyOwnerTransactionCar" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -27,6 +27,11 @@
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
vc.on('simplifyOwnerTransactionCar','paginationPlus', 'page_event',
|
||||
function (_currentPage) {
|
||||
$that._listSimplifyOwnerTransactionCar(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
_listSimplifyOwnerTransactionCar: function (_page, _row) {
|
||||
@ -50,7 +55,7 @@
|
||||
vc.component.simplifyOwnerTransactionCarInfo.total = _machineTranslateManageInfo.total;
|
||||
vc.component.simplifyOwnerTransactionCarInfo.records = _machineTranslateManageInfo.records;
|
||||
vc.component.simplifyOwnerTransactionCarInfo.machineTranslates = _machineTranslateManageInfo.machineTranslates;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyOwnerTransactionCar','paginationPlus', 'init', {
|
||||
total: vc.component.simplifyOwnerTransactionCarInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
<span> 注意: 计费结束时间 “-” 表示未到计费时间 或 收费已结束</span>
|
||||
</div>
|
||||
<div class="col-sm-7 float-right">
|
||||
<vc:create path="frame/pagination"></vc:create>
|
||||
<vc:create namespace="simplifyRoomFee" path="frame/paginationPlus"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
$that._listSimplifyRoomFee(DEFAULT_PAGE,DEFAULT_ROWS);
|
||||
});
|
||||
|
||||
vc.on('pagination', 'page_event',
|
||||
vc.on('simplifyRoomFee','paginationPlus', 'page_event',
|
||||
function(_currentPage) {
|
||||
vc.component._listSimplifyRoomFee(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
@ -53,7 +53,7 @@
|
||||
vc.component.simplifyRoomFeeInfo.total = _feeConfigInfo.total;
|
||||
vc.component.simplifyRoomFeeInfo.records = _feeConfigInfo.records;
|
||||
vc.component.simplifyRoomFeeInfo.fees = _feeConfigInfo.fees;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('simplifyRoomFee','paginationPlus', 'init', {
|
||||
total: _feeConfigInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user