Affected by COVID-19 and political factors, enterprises around the world are facing many problems, such as an unstable market environment, stagnant productivity growth, and overcapacity. At the same time, the development and innovation of digital technology indicate the inevitability of digital transformation and point out a new direction for the development of enterprises. This paper studies the digital transformation of human resources in enterprise management. It is found that digitalization still has a lot of room for progress in human resources. During the implementation, the digitalization of human resources still faces many difficulties, such as the lack of strategic planning, the lack of systematic training of digital skills, the failure to cultivate relevant talents, and the failure to combine performance with digitalization. As a result, the scope of transformation is narrow, the efficiency of transformation is low, and the goal of transformation cannot be achieved. This requires the digitization and modernization of the basic elements of human resources, the digitization of talent ability, and the data visualization of the performance management system. Only in this way can digital technology be used to continuously empower the enterprise's human resource management, which is conducive to the enterprise's sustainable competitiveness and thus improve the enterprise's economic benefits.