To meet the requirements of trellis grape crop root irrigation, spraying pesticides on branches and leaves, an integrated sprinkler was designed, which relies on the flow pressure to change the irrigation water and spray pesticide working modes. The structural parameters that affect the hydraulic performance were selected based on the working principle of the sprinkler. The key parameters for the irrigation mode included diversion hole inclination angle, refractive cone angle, refractive cone length, and cone hole distance. The key parameters for the spray pesticide mode included diversion chute width, the number of diversion chutes, the diversion chute inclination angle, the rotary acceleration chamber height, and the nozzle outlet cylindrical section length. The central composite design response surface tests of the water–pesticide integrated sprinkler were carried out; the analysis of variance and regression analysis were selected; the main influence rules and interactions of key structural parameters on irrigation performance and pesticide spraying performance of sprinkler irrigation system were obtained. The optimal parameters of the water–pesticide integrated sprinkler were: the diversion hole inclination angle is 20.8°, the refractive cone angle is 123.7°, the refractive cone length is 8.8 mm, the cone hole distance is 3.6 mm, the diversion chute width is 2.5 mm, the number of diversion chutes is 2, the diversion chute inclination angle is 10°, the rotary acceleration chamber height is 1.3 mm, and the nozzle outlet cylindrical section length is 0.7 mm. The irrigation hydraulic performance of the wetted radius is 3.4 m, the average irrigation application rate is 0.65 mm/h, and the uniformity coefficient is 88%. The spraying pesticide performance of the droplet volume mid-diameter is 200.2 μm, the droplet spectrum width is 2.2, and the droplet coverage is 9.4%.