Lift up the vinyl flooring and roll it up to reveal the wet floor beneath it.
Mop the floor with a dry mop to soak up moisture from the floor, if it's concrete. Wring the mop when it's full of water. Keep mopping the floor until you get no more water in the mop.
Set up a fan to blow on the floor continuously until it's dry.
Place a dehumidifier in the room with the floor to rid the floor of moisture.
Replace the vinyl flooring when the floor is totally dry to the touch. Seal the floor along all the edges of the wall with a watertight sealant.