All-dielectric metasurface with multi-function in the near-infrared band