Coat the eggplant in the flour and then in the egg. Fry on both sides until golden brown and soft. Place on a paper towel-lined plate to drain any excess oil, season with salt and pepper, then set aside.
Lightly toast the ciabatta bread.
Mix the mayo and pesto together and spread on the insides of both halves of the ciabatta. Layer with spinach, turkey and tomatoes. Season with salt, pepper, eggplant, and cheese.