A numerically exact approach, named as the hierarchical stochastic Schrödinger equation, is employed to investigate the resonant vibration-assisted excitation energy transfer in a dimer system, where an underdamped vibration with both diagonal and off-diagonal exciton-phonon interactions is incorporated. From a large parameter space over the site-energy difference, excitonic coupling, and reorganization energy, it is found that the promotion effect of the underdamped vibration is significant only when the excitonic coupling is smaller than the site-energy difference. Under the circumstance, there is an optimal strength ratio between diagonal and off-diagonal excitonphonon interactions for the resonant vibration-assisted excitation energy transfer as the site-energy difference is greater than the reorganization energy, whereas in the opposite situation the most efficient energy transfer occurs as the exciton-phonon interaction is totally off-diagonal.