In the process of the enterprise's production, safety is the key concerned matter. Hydroelectric project construction is the industry with frequent accidents; these accidents have great influences to the society, so the effective measures are taken to prevent accidents and thus change the management style from “post processing” to “predictive control”. The accidents data of objects striking of Xiluodu projects in the year of 2004 to 2006 are analyzed, all the factors causing the accidents are determined, and the factors are analyzed qualitatively and quantitatively analyzes with Bayesian network method, finally the safety management program is determined to guide the safety operations. The bad condition of geological environment has the greatest posterior probability; therefore, it is a sensitive factor that might cause the objects striking accidents. More attention should be paid to the geological environment when preventing accidents.