This paper analyzed the data of 831 hazardous chemical warehouses in Tianjin City based on enterprise portrait technology. It conducted an early assessment of earthquake disasters by fitting the actual seismic intensity and evaluated the risk level of the hazardous chemical warehouses by extracting their risk eigenvalues. Then,the paper provided decision-making suggestions based on the risk level. At the same time,it built a visual management platform for hazardous chemical warehouses by using the B/S architecture. By calling the Baidu Map’s API,the lo⁃cal database of hazardous chemical warehouses was retrieved and accessed,enabling the map-based visualization application of hazardous chemical warehouse information and the generation of emergency decision-making sugges⁃tions after the earthquake,which can effectively reduce the risk of secondary disasters caused by earthquakes and improve the earthquake resistance and disaster prevention capabilities and levels of the city.