[admin] Refactor departments views