Self-consistent description of dysprosium isotopes in the doubly midshell region