An efficient government office automation system, which contributes significantly to social supervision, administrative efficiency, administrative quality, and service capacity, has been an important criterion for assessing the development of a country. With the rapid development of the global economy, more and more such systems are designed and implemented. However, few of them could take into unified account ever changing requirements of government affairs. In this paper, we develop an integrated and automated management system for government affairs. In the beginning, we analyze why we need the new system by introducing the overall background of the electronic governments and the office automation system. Then, according to system requirements, we divide the system into four functional modules, i.e., the login module, the approval flow module, the document management module, and the system management module. After that, we present many details about the architecture, the modules, and the database for the system design. Finally, illustrating both processes and interfaces of required modules, we implement the system based on the well known three-tier B/S architecture.