The invention discloses a flexible totally-assembling system for efficient and random switching of multiple vehicle types. The flexible totally-assembling system comprises upper equipment and lower equipment. The lower equipment comprises a first station, a second station, a third station and a fourth station all of which are linearly arranged. The first station, the second station, the third station and the fourth station are each provided with a high-speed roller bed and a flexible bogie, white vehicle bodies are arranged on the flexible bogies, the flexible bogies are matched with the corresponding high-speed roller beds, the first station and the third station are completely same and are each provided with a transition rail, a rail butting device, a transition carriage and ground rails, the second station is further provided with a side body clamp, a clamp transferring vehicle, an assembly sliding table and a point positioning robot, and the fourth station is further provided with a wire welding robot, a motor tractor and a parking rail. The upper equipment comprises second-layer floors, second-layer robots and upright rods. By means of the flexible-totally-assembling system, the floor space of total assembling is reduced, the vehicle type switching time is shortened, the flexible totally-assembling system has a random switching function, and the flexible totally-assembling system meets the requirements for efficient and random switching of the multiple vehicle types of flexible total assembling.