diff --git a/public/components/property/addPropertyRightRegistration/addPropertyRightRegistration.js b/public/components/property/addPropertyRightRegistration/addPropertyRightRegistration.js index a91ba22a4..13865b1b0 100644 --- a/public/components/property/addPropertyRightRegistration/addPropertyRightRegistration.js +++ b/public/components/property/addPropertyRightRegistration/addPropertyRightRegistration.js @@ -157,9 +157,8 @@ row: 50 } }; - vc.http.get( - 'listFloor', - 'list', + vc.http.apiGet( + '/floor.queryFloors', param, function(json, res) { var listFloorData = JSON.parse(json); diff --git a/public/components/property/editPropertyRightRegistration/editPropertyRightRegistration.js b/public/components/property/editPropertyRightRegistration/editPropertyRightRegistration.js index 9cf088d9d..5b3375c1a 100644 --- a/public/components/property/editPropertyRightRegistration/editPropertyRightRegistration.js +++ b/public/components/property/editPropertyRightRegistration/editPropertyRightRegistration.js @@ -121,9 +121,8 @@ row: 50 } }; - vc.http.get( - 'listFloor', - 'list', + vc.http.apiGet( + '/floor.queryFloors', param, function(json, res) { var listFloorData = JSON.parse(json); diff --git a/public/pages/property/propertyRightRegistrationManage/propertyRightRegistrationManage.js b/public/pages/property/propertyRightRegistrationManage/propertyRightRegistrationManage.js index 271656c5e..90037e499 100644 --- a/public/pages/property/propertyRightRegistrationManage/propertyRightRegistrationManage.js +++ b/public/pages/property/propertyRightRegistrationManage/propertyRightRegistrationManage.js @@ -139,9 +139,8 @@ row: 50 } }; - vc.http.get( - 'listFloor', - 'list', + vc.http.apiGet( + '/floor.queryFloors', param, function(json, res) { var listFloorData = JSON.parse(json);