wuxw
2019-12-22 0d8d94898f1491a42922b041f119c72627baaf6c
WebService/src/main/resources/components/orgPackage/edit-org/editOrg.js
@@ -8,6 +8,7 @@
                orgLevel: '',
                parentOrgId: '',
                belongCommunityId: '',
                communityId: '',
                description: '',
                parentOrg: []
@@ -30,7 +31,7 @@
                vc.component.refreshEditOrgInfo();
                $('#editOrgModel').modal('show');
                vc.copyObject(_params, vc.component.editOrgInfo);
                vc.component.editOrgInfo.communityId = vc.getCurrentCommunity().communityId;
                vc.component.editOrgInfo.communityId = vc.component.editOrgInfo.belongCommunityId;
            });
        },
        methods: {
@@ -104,6 +105,7 @@
                });
            },
            editOrg: function () {
                vc.component.editOrgInfo.belongCommunityId = vc.component.editOrgInfo.communityId;
                if (!vc.component.editOrgValidate()) {
                    vc.message(vc.validate.errInfo);
                    return;