|
@@ -8,7 +8,6 @@
|
|
|
orgLevel: '',
|
|
orgLevel: '',
|
|
|
parentOrgId: '',
|
|
parentOrgId: '',
|
|
|
belongCommunityId: '',
|
|
belongCommunityId: '',
|
|
|
- communityId: '',
|
|
|
|
|
description: '',
|
|
description: '',
|
|
|
parentOrg: [],
|
|
parentOrg: [],
|
|
|
belongCommunitys:[]
|
|
belongCommunitys:[]
|
|
@@ -25,14 +24,14 @@
|
|
|
},
|
|
},
|
|
|
_initMethod: function () {
|
|
_initMethod: function () {
|
|
|
vc.component._editOrgListParentOrgInfo();
|
|
vc.component._editOrgListParentOrgInfo();
|
|
|
- vc.component._loadEditEnterCommunitys();
|
|
|
|
|
},
|
|
},
|
|
|
_initEvent: function () {
|
|
_initEvent: function () {
|
|
|
vc.on('editOrg', 'openEditOrgModal', function (_params) {
|
|
vc.on('editOrg', 'openEditOrgModal', function (_params) {
|
|
|
vc.component.refreshEditOrgInfo();
|
|
vc.component.refreshEditOrgInfo();
|
|
|
|
|
+ vc.component._loadEditEnterCommunitys();
|
|
|
$('#editOrgModel').modal('show');
|
|
$('#editOrgModel').modal('show');
|
|
|
vc.copyObject(_params, vc.component.editOrgInfo);
|
|
vc.copyObject(_params, vc.component.editOrgInfo);
|
|
|
- vc.component.editOrgInfo.communityId = vc.component.editOrgInfo.belongCommunityId;
|
|
|
|
|
|
|
+ //vc.component.editOrgInfo.communityId = vc.component.editOrgInfo.belongCommunityId;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -106,7 +105,6 @@
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
editOrg: function () {
|
|
editOrg: function () {
|
|
|
- vc.component.editOrgInfo.belongCommunityId = vc.component.editOrgInfo.communityId;
|
|
|
|
|
if (!vc.component.editOrgValidate()) {
|
|
if (!vc.component.editOrgValidate()) {
|
|
|
vc.message(vc.validate.errInfo);
|
|
vc.message(vc.validate.errInfo);
|
|
|
return;
|
|
return;
|