If diabetes cannot cause deterioration in the eye fundus, cataract surgery can be performed with safety, without taking extra precautions.
The situation is a lot more different, if during fundus inspection, diabetic degeneration of the retina is detected, therefore its treatment needs to be performed at a specialized centre in cooperation with other specializations in ophthalmology.
In this case, retinopathy needs to be put under control, something that can be achieved with laser beams or special biological agents which are injected into the eye by a specialised doctor.
If you proceed with cataract surgery, prior to appropriate retinopathy treatment, retinopathy will deteriorate and your sight will worsen instead of improving.