They both mean pretty much the same thing, although:
"I enjoyed the party" means that you had fun at the event, whereas
"I enjoyed myself at the party" means that you had fun; your enjoyment didn't necessarily have anything to do with the event. This is an idiomatic phrase, so its use is more informal. It also illustrates a higher level of enjoyment than simply to say "I enjoyed the party."