Используются при создании и поиске элементов организационной структуры.
// Создание const item = System.organisationStructure.createItem('Директор по маркетингу', OrganisationStructureItemType.Position); // Поиск const searchResult = tree.getRoot().find(i => i.data.name === 'Менеджеры' && i.data.type === OrganisationStructureItemType.Group);
Типы элементов организационной структуры
Используются при создании и поиске элементов организационной структуры.
// Создание const item = System.organisationStructure.createItem('Директор по маркетингу', OrganisationStructureItemType.Position); // Поиск const searchResult = tree.getRoot().find(i => i.data.name === 'Менеджеры' && i.data.type === OrganisationStructureItemType.Group);