| | |
| | | } |
| | | , |
| | | _initMethod: function () { |
| | | //查询入驻的小区 |
| | | vc.component._loadAddEnterCommunitys(); |
| | | |
| | | } |
| | | , |
| | | _initEvent: function () { |
| | |
| | | vc.component.addOrgInfo.belongCommunityId = _param.belongCommunityId; |
| | | } |
| | | } |
| | | //查询入驻的小区 |
| | | vc.component._loadAddEnterCommunitys(); |
| | | $('#addOrgModel').modal('show'); |
| | | }); |
| | | } |
| | |
| | | errInfo: "上级ID不正确" |
| | | }, |
| | | ], |
| | | 'addOrgInfo.belongCommunityId': [ |
| | | { |
| | | limit: "required", |
| | | param: "", |
| | | errInfo: "隶属小区不能为空" |
| | | }, |
| | | { |
| | | limit: "num", |
| | | param: "", |
| | | errInfo: "隶属小区不正确" |
| | | }, |
| | | ], |
| | | 'addOrgInfo.description': [ |
| | | |
| | | { |
| | |
| | | , |
| | | saveOrgInfo: function () { |
| | | if (!vc.component.addOrgValidate()) { |
| | | vc.message(vc.validate.errInfo); |
| | | vc.toast(vc.validate.errInfo); |
| | | |
| | | return; |
| | | } |