A new HR department at Parliament received 339 complaints in nine months, some of which related to rape and sexual assault.