diff --git a/public/components/property/addRoom/addRoom.js b/public/components/property/addRoom/addRoom.js index 1d58dd237..87ae789b4 100755 --- a/public/components/property/addRoom/addRoom.js +++ b/public/components/property/addRoom/addRoom.js @@ -40,9 +40,8 @@ communityId:vc.getCurrentCommunity().communityId } } - vc.http.get( - 'addRoom', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function(json,res){ //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/listOweFee/listOweFee.js b/public/pages/property/listOweFee/listOweFee.js index 1223df58a..1edf38530 100755 --- a/public/pages/property/listOweFee/listOweFee.js +++ b/public/pages/property/listOweFee/listOweFee.js @@ -240,9 +240,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportDeadlineFee/reportDeadlineFee.js b/public/pages/property/reportDeadlineFee/reportDeadlineFee.js index 9cedb5b88..3e28e0066 100755 --- a/public/pages/property/reportDeadlineFee/reportDeadlineFee.js +++ b/public/pages/property/reportDeadlineFee/reportDeadlineFee.js @@ -106,9 +106,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js index 4cced83ba..2c6269a7f 100755 --- a/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js +++ b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js @@ -193,9 +193,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportFeeDetail/reportFeeDetail.js b/public/pages/property/reportFeeDetail/reportFeeDetail.js index 37532e8b8..297206ba5 100755 --- a/public/pages/property/reportFeeDetail/reportFeeDetail.js +++ b/public/pages/property/reportFeeDetail/reportFeeDetail.js @@ -201,9 +201,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportFeeSummary/reportFeeSummary.js b/public/pages/property/reportFeeSummary/reportFeeSummary.js index 4675a847e..77f6dc54d 100755 --- a/public/pages/property/reportFeeSummary/reportFeeSummary.js +++ b/public/pages/property/reportFeeSummary/reportFeeSummary.js @@ -213,9 +213,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js index 19f33b5d1..1580a7fdd 100755 --- a/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js +++ b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js @@ -212,9 +212,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportOweFeeDetail/reportOweFeeDetail.js b/public/pages/property/reportOweFeeDetail/reportOweFeeDetail.js index c605433b2..4d861f554 100755 --- a/public/pages/property/reportOweFeeDetail/reportOweFeeDetail.js +++ b/public/pages/property/reportOweFeeDetail/reportOweFeeDetail.js @@ -172,9 +172,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportPayFeeDeposit/reportPayFeeDeposit.js b/public/pages/property/reportPayFeeDeposit/reportPayFeeDeposit.js index 2fd68716c..ef8cfe488 100644 --- a/public/pages/property/reportPayFeeDeposit/reportPayFeeDeposit.js +++ b/public/pages/property/reportPayFeeDeposit/reportPayFeeDeposit.js @@ -186,9 +186,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); diff --git a/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js b/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js index e0185b4d9..69ca975e2 100755 --- a/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js +++ b/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js @@ -280,9 +280,8 @@ communityId: vc.getCurrentCommunity().communityId } } - vc.http.get( - 'room', - 'loadUnits', + vc.http.apiGet( + '/unit.queryUnits', param, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0);