The European Parliament , the legislative arm of the European Union , has approved members of a new EU executive commission after nearly three weeks of negotiations .