mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
eba5dea5fb
commit
7758773cdb
@ -207,6 +207,7 @@
|
||||
vc.emit('meterWaterManage', 'listMeterWater', {});
|
||||
vc.emit('listRoomFee','notify', {});
|
||||
vc.emit('listParkingSpaceFee', 'notify', {});
|
||||
vc.emit('simplifyRoomFee', 'notify',{});
|
||||
|
||||
|
||||
return;
|
||||
|
||||
@ -108,6 +108,7 @@
|
||||
vc.component.clearAddProxyFeeInfo();
|
||||
vc.emit('listRoomFee', 'notify', {});
|
||||
vc.emit('listParkingSpaceFee', 'notify', {});
|
||||
vc.emit('simplifyRoomFee', 'notify',{});
|
||||
return;
|
||||
}
|
||||
vc.message(_json.msg);
|
||||
|
||||
@ -126,6 +126,7 @@
|
||||
$('#carCreateFeeAddModel').modal('hide');
|
||||
vc.component.clearAddFeeConfigInfo();
|
||||
vc.emit('listParkingSpaceFee', 'notify',{});
|
||||
|
||||
vc.toast("创建收费成功,总共["+_json.totalCar+"]车位,成功["+_json.successCar+"],失败["+_json.errorCar+"]",8000);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
$('#deleteFeeModel').modal('hide');
|
||||
vc.emit('listRoomFee','notify',{});
|
||||
vc.emit('listParkingSpaceFee','notify',{});
|
||||
vc.emit('simplifyRoomFee', 'notify',{});
|
||||
vc.toast("删除费用成功");
|
||||
return ;
|
||||
}
|
||||
|
||||
@ -114,6 +114,7 @@
|
||||
vc.component.clearAddFeeConfigInfo();
|
||||
vc.emit('listRoomFee', 'notify', {});
|
||||
vc.emit('listParkingSpaceFee', 'notify', {});
|
||||
vc.emit('simplifyRoomFee', 'notify', {});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -159,6 +159,7 @@
|
||||
vc.component.clearAddFeeConfigInfo();
|
||||
vc.toast("创建收费成功,总共[" + _json.totalRoom + "]房屋,成功[" + _json.successRoom + "],失败[" + _json.errorRoom + "]", 8000);
|
||||
vc.emit('listRoomFee', 'notify', {});
|
||||
vc.emit('simplifyRoomFee', 'notify',{});
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
|
||||
@ -28,6 +28,11 @@
|
||||
$that._listSimplifyRoomFee(DEFAULT_PAGE,DEFAULT_ROWS);
|
||||
});
|
||||
|
||||
vc.on('simplifyRoomFee', 'notify', function () {
|
||||
$that._listSimplifyRoomFee(DEFAULT_PAGE,DEFAULT_ROWS);
|
||||
});
|
||||
|
||||
|
||||
vc.on('simplifyRoomFee','paginationPlus', 'page_event',
|
||||
function(_currentPage) {
|
||||
vc.component._listSimplifyRoomFee(_currentPage, DEFAULT_ROWS);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user