The invention relates to a method for purifying electroplating wastewater and comprehensively utilizing resources, which is to adopt low-cost strong basic anion-exchange resin containing macropores and imidazole structure to reclaim valuable resources in the electroplating wastewater by coupling technology based on a chemical oxidation-reduction method, a precipitation method and an ion exchange method. The method comprises the following steps: firstly, Cr(III) is oxidized into Cr(VI) under basic condition through a chemical reaction; then, Zn, Cu, Ni and other heavy metal elements in the wastewater are transformed into precipitation of hydroxide; and finally, the Cr(VI) in the wastewater is adsorbed by the strong basic anion-exchange resin, the purified water quality achieves the requirement of electroplating pollutant discharge standard and recycle, and the Cr and other heavy metal resources in the electroplating wastewater can be comprehensively reclaimed and utilized. The method overcomes the defects that the prior regenerating process of porous weak-basic resin requires acidification, and the method has the advantages of simple process, low treatment cost, large treatment quantity and acid and base consumption conservation, and is the electroplating wastewater treatment method with green environmental protection and efficient utilization of resources.