If I have flooding in multiple compartments, I make sure that they're fully crewed. Crewmen in a compartment will repair damage, just not as efficiently as a damage repair team will. I then fully man the damage control team and assign them to the areas with the worst flooding, and hope for the best.
Sometimes you're just flat out screwed though