I would regard a J-8F with PL-12 missiles to be a more serious threat than a "classic" Su-27SK with R-27s. A superior airframe cannot guarantee superiority against something that may have better missiles and possibly better radar and electronics. Cannot underline or emphasize enough the need for the PLAAF to upgrade its AAM inventory and the aircraft that carry them. Just as important to get every Su-27 or J-11 out there and make them R-77 or PL-12 capable.
To build J-8Fs is not enough. The entire inventory of low flight hour J-8s, from the J-8II to the J-8D should be electronically upgraded. I don't know how much it would cost, but I bet its would be dimes and pennies compared to a brand new J-8F, J-10 or J-11. They can work downward to the -B airframes with the most life. Should not bother with airframes that are worned out.
J-8s should also get some datalink that not only lets them get informatoni from GCI or AWACS but from Su-27s, JH-7s and Su-30MKKs. They themselves should be able to share that information with J-7s.
A J-7 of any late version (E, G, H) will find its best upgrade with a datalink. This upgrade is surely tidely pennies compared to all the other upgrades and new planes we have been talking about. There is so many J-7s out there that you cannot replace them overnight. You cannot get around the small nose of the plane to put in a decently sized radar. But to give the J-7 pilot a decent situational awareness, it should be able to obtain situational information from AWACS and other fighters, Su-27, J-8II, JH-7A, Su-30MKK, Y-8s all included. It's best chance in any aircombat given its lack of BVR is to be able to silently approach its target without using its radar at all, get a heat lock and shoot its PL-8 heaters. Upgrading J-7E to the -G standard with new avionics, radar and windshield, might be able to improve its close range capabilities.