WebService/src/main/resources/components/orgPackage/add-org/addOrg.js
@@ -30,7 +30,8 @@ } , _initMethod: function () { //查询入驻的小区 vc.component._loadAddEnterCommunitys(); } , _initEvent: function () { @@ -193,6 +194,26 @@ console.log('请求失败处理'); } ); }, _loadAddEnterCommunitys:function () { //belongCommunitys var param = { params:{ _uid:'mmmllnnjhhjjh' } } //发送get请求 vc.http.get('addOrg', 'listEnterCommunitys', param, function (json, res) { var _enterCommunitys = JSON.parse(json); vc.component.addOrgInfo.belongCommunitys = _enterCommunitys; }, function (errInfo, error) { console.log('请求失败处理'); } ); } } })