From 7758773cdb8c5dfd70ccdee631488ac3f4bb9851 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sat, 21 Nov 2020 18:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/addMeterWater/addMeterWater.js | 1 + public/components/property/addProxyFee/addProxyFee.js | 1 + .../components/property/carCreateFeeAdd/carCreateFeeAdd.js | 1 + public/components/property/deleteFee/deleteFee.js | 1 + public/components/property/editFee/editFee.js | 1 + .../components/property/roomCreateFeeAdd/roomCreateFeeAdd.js | 1 + .../components/property/simplifyRoomFee/simplifyRoomFee.js | 5 +++++ 7 files changed, 11 insertions(+) diff --git a/public/components/property/addMeterWater/addMeterWater.js b/public/components/property/addMeterWater/addMeterWater.js index 03ee1ff19..ab275246e 100644 --- a/public/components/property/addMeterWater/addMeterWater.js +++ b/public/components/property/addMeterWater/addMeterWater.js @@ -207,6 +207,7 @@ vc.emit('meterWaterManage', 'listMeterWater', {}); vc.emit('listRoomFee','notify', {}); vc.emit('listParkingSpaceFee', 'notify', {}); + vc.emit('simplifyRoomFee', 'notify',{}); return; diff --git a/public/components/property/addProxyFee/addProxyFee.js b/public/components/property/addProxyFee/addProxyFee.js index 78d0f1e6b..c76d301be 100644 --- a/public/components/property/addProxyFee/addProxyFee.js +++ b/public/components/property/addProxyFee/addProxyFee.js @@ -108,6 +108,7 @@ vc.component.clearAddProxyFeeInfo(); vc.emit('listRoomFee', 'notify', {}); vc.emit('listParkingSpaceFee', 'notify', {}); + vc.emit('simplifyRoomFee', 'notify',{}); return; } vc.message(_json.msg); diff --git a/public/components/property/carCreateFeeAdd/carCreateFeeAdd.js b/public/components/property/carCreateFeeAdd/carCreateFeeAdd.js index 1f1bfeaee..857acb9e9 100644 --- a/public/components/property/carCreateFeeAdd/carCreateFeeAdd.js +++ b/public/components/property/carCreateFeeAdd/carCreateFeeAdd.js @@ -126,6 +126,7 @@ $('#carCreateFeeAddModel').modal('hide'); vc.component.clearAddFeeConfigInfo(); vc.emit('listParkingSpaceFee', 'notify',{}); + vc.toast("创建收费成功,总共["+_json.totalCar+"]车位,成功["+_json.successCar+"],失败["+_json.errorCar+"]",8000); return; } diff --git a/public/components/property/deleteFee/deleteFee.js b/public/components/property/deleteFee/deleteFee.js index 29acec4c9..8193dcd2a 100644 --- a/public/components/property/deleteFee/deleteFee.js +++ b/public/components/property/deleteFee/deleteFee.js @@ -34,6 +34,7 @@ $('#deleteFeeModel').modal('hide'); vc.emit('listRoomFee','notify',{}); vc.emit('listParkingSpaceFee','notify',{}); + vc.emit('simplifyRoomFee', 'notify',{}); vc.toast("删除费用成功"); return ; } diff --git a/public/components/property/editFee/editFee.js b/public/components/property/editFee/editFee.js index f41216598..7c98bb0b7 100644 --- a/public/components/property/editFee/editFee.js +++ b/public/components/property/editFee/editFee.js @@ -114,6 +114,7 @@ vc.component.clearAddFeeConfigInfo(); vc.emit('listRoomFee', 'notify', {}); vc.emit('listParkingSpaceFee', 'notify', {}); + vc.emit('simplifyRoomFee', 'notify', {}); return; } diff --git a/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js b/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js index 4cb5c88cc..a486961a2 100644 --- a/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js +++ b/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js @@ -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); diff --git a/public/components/property/simplifyRoomFee/simplifyRoomFee.js b/public/components/property/simplifyRoomFee/simplifyRoomFee.js index cae89d74e..a448587e7 100644 --- a/public/components/property/simplifyRoomFee/simplifyRoomFee.js +++ b/public/components/property/simplifyRoomFee/simplifyRoomFee.js @@ -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);