In this paper, we study the spin-dependent electron transmission through a quantum well in semiconductor heterostructures with dipole-type oscillation field and homogeneous oscillation field. The numerical evaluations show that Dresselhaus spin-orbit coupling eliminates the spin degeneracy and leads to the splitting of asymmetric Fano-type resonance peaks in the transmissivity. The width of the splitting peaks is found to be highly sensitive to the direction of incident electron. The dipole modulation and the homogeneous modulation is approximately equivalent under certain conditions. The location and the line shape of the Fano-type resonance can be controlled by adjusting the energy and the direction of the incident electron, the oscillation frequency, and the amplitude of the external field. These interesting features may be used to devise tunable spin filters and realize pure spin transmission currents by the more practical dipole-type oscillation in the experimental setup.