Traditional optics usually studies the uniform polarization state of light. Compared with uniform vector beams, non-uniform vector beams have more polarization information. Most of the research on generating cylindrical vector beams using metasurfaces focuses on generating transmitted beams using the geometric phase. However, the geometric phase requires the incident light to be circularly polarized, which limits the design freedom. Here, an all-dielectric reflective metasurface is designed to generate different output light according to the different polarization states of the incident light. By combining the two encoding arrangements of the dynamic phase and the geometric phase, the output light is a radial vector beam when the linearly polarized light is incident along the x-direction. Under the incidence of linearly polarized light along the y-direction, the generated output light is an azimuthal vector beam. Under the incidence of left-handed circularly polarized light, the generated output light is a vortex beam with a topological charge of -1. Under the incidence of right-handed circularly polarized light, the generated output light is a vortex beam with a topological charge of +1. The proposed reflective metasurface has potential applications in generating vector beams with high integration.