| | |
| | | }, |
| | | { |
| | | limit:"maxin", |
| | | param:"10,20", |
| | | param:"4,20", |
| | | errInfo:"小区名称必须在10至20字符之间" |
| | | }, |
| | | ], |
| | |
| | | errInfo:"小区地址不能为空" |
| | | }, |
| | | { |
| | | limit:"maxin", |
| | | limit:"maxLength", |
| | | param:"200", |
| | | errInfo:"小区地址不能大于200个字符" |
| | | }, |
| | |
| | | errInfo:"附近地标不能为空" |
| | | }, |
| | | { |
| | | limit:"maxin", |
| | | limit:"maxLength", |
| | | param:"50", |
| | | errInfo:"小区附近地标不能大于50个字符" |
| | | }, |
| | | ], |
| | | 'addCommunityInfo.cityCode':[ |
| | | { |
| | | limit:"maxin", |
| | | limit:"maxLength", |
| | | param:"12", |
| | | errInfo:"小区城市编码不能大于4个字符" |
| | | }, |
| | | ], |
| | | 'addCommunityInfo.mapX':[ |
| | | { |
| | | limit:"maxin", |
| | | limit:"maxLength", |
| | | param:"20", |
| | | errInfo:"小区城市编码不能大于4个字符" |
| | | }, |
| | | ], |
| | | 'addCommunityInfo.mapY':[ |
| | | { |
| | | limit:"maxin", |
| | | limit:"maxLength", |
| | | param:"20", |
| | | errInfo:"小区城市编码不能大于4个字符" |
| | | }, |
| | |
| | | return ; |
| | | } |
| | | |
| | | vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | //vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | |
| | | vc.http.post( |
| | | 'addCommunity', |