mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化访
This commit is contained in:
parent
a99209bc19
commit
5525366346
@ -34,6 +34,7 @@
|
||||
_initEvent: function() {
|
||||
vc.on('addMeterWater', 'openAddMeterWaterModal', function(_param) {
|
||||
console.log('params :', _param);
|
||||
vc.component.clearAddMeterWaterInfo();
|
||||
if (_param.hasOwnProperty("objType")) {
|
||||
$that.addMeterWaterInfo.objType = _param.objType;
|
||||
}
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
},
|
||||
_initEvent: function() {
|
||||
vc.on('addProxyFee', 'openAddProxyFeeModal', function(_param) {
|
||||
vc.component.clearAddProxyFeeInfo();
|
||||
if (_param.hasOwnProperty("objType")) {
|
||||
$that.addProxyFeeInfo.objType = _param.objType;
|
||||
}
|
||||
|
||||
@ -80,8 +80,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
vc.initDate('editFeeMaxEndTime', function(_endTime) {
|
||||
$that.editFeeInfo.maxEndTime = _endTime;
|
||||
vc.initDate('editFeeMaxEndTime', function(_maxEndTime) {
|
||||
$that.editFeeInfo.maxEndTime = _maxEndTime;
|
||||
let start = Date.parse(new Date($that.editFeeInfo.startTime))
|
||||
let end = Date.parse(new Date($that.editFeeInfo.maxEndTime))
|
||||
if (start - end >= 0) {
|
||||
|
||||
@ -107,6 +107,7 @@
|
||||
function(json, res) {
|
||||
let listRoomData = JSON.parse(json);
|
||||
if (listRoomData.total < 1) {
|
||||
vc.toast('未找到房屋');
|
||||
return;
|
||||
}
|
||||
listRoomData.rooms.forEach(_room => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user