Vue + Spring Boot Project Combat: Personnel Management System——End Sahua

Series Article Directory

Vue + Spring Boot project actual combat: personnel management system - (1) login page and method implementation

Vue + Spring Boot project actual combat: personnel management system - (2) employee information page and method implementation, the article has not yet been completed

Vue + Spring Boot project actual combat: personnel management system - (3) recycle bin page and method implementation

Vue + Spring Boot project actual combat: personnel management system - (4) front-end performance basic optimization

foreword

  With the continuous development of Internet technology and information technology, it has brought considerable changes to people. Information technology is widely used in management work, which promotes the continuous development of management work. Information management has become an indispensable part of modern management. An important indicator, the importance of information technology has been recognized by many companies nowadays, combining information technology with their own needs and applying it to the reform of information management, thus replacing traditional paper data management and solving people's troubles and issues of maintenance and retrieval.
  The personnel management system mainly includes several modules including system management, employee management, attendance management, and employee basic information management. It uses structured analysis and design methods to conduct a complete analysis, design, and implementation of the system. This paper first analyzes the development background of personnel management, expounds the necessity and importance of the existence of the system, and then expounds the feasibility of the system from the analysis of economy, technology and operational feasibility, combining the development status of domestic and foreign personnel management, and combining the mainstream Based on the business process of the personnel management system, the functional requirements of the system are obtained. On the basis of the requirement analysis document, the system function and database are designed in detail. The system mainly adopts the current popular Spring Boot, Vue, Mybatis framework, database The non-relational database Redis and the relational database Mysql are used. Finally, the functional requirements of the system are carried out, and the test results show that the system meets the basic user needs, and the system has certain positive significance in improving the efficiency of personnel management.
  Keywords: SpringBoot, Vue, Mybatis, Mysql, personnel management system

technology stack

Referring to the technical architecture diagram, the main technologies used in the project are as follows:

  • application framework
    insert image description here

  • application framework
    insert image description here

1. Front-end technology stack

1.Vue.js
2.ElementUI
3.axios

2. Back-end technology stack

1.Spring Boot
2.Spring Data Redis

3. Database

1.MySQL
2.Redi

1. Research background and purpose

  Today's society is a society where information is developing rapidly. Therefore, for various industries, the application of computers is really important. Seeking quality, speed, and getting rid of manual operations as much as possible are the goals pursued by modern people. With the continuous increase of enterprise scale and further improvement of capabilities, the original pure manual management and office mode of the enterprise can no longer adapt to the new requirements of the new market environment, which seriously affects the work efficiency.
  In modern society, efficient and accurate office work is very important in any industry and any enterprise. Fast information exchange, smooth delivery of official documents, rapid document query, automatic work flow, etc. can all improve the office efficiency of an enterprise, thereby enhancing its market competitiveness.
insert image description here
                     Figure 1-1 Traditional office model
   The traditional office model is mainly based on paper media. In the tide of the information revolution, it is obviously far from meeting the needs of high-efficiency and fast-paced modern work and life. The rapid development of information technology provides a technical guarantee for the exchange and processing of information and the collaborative operation of enterprises, and it also heralds the advent of the information age.
insert image description here
                     Figure 1-2 Information-based office mode
  In the face of such huge data and complex operation of personnel information data, relying on traditional paper-based office, there will be a series of irresistible problems such as low work efficiency, high error probability, and poor information confidentiality. Therefore, the development of an information-based personnel management system can not only solve the above problems well, but also bring objective benefits to the enterprise.

2. Feasibility Analysis

1. Economic feasibility

  The cost required to develop a personnel management system is not high, and only one computer is needed for development. The InterlliJ IDEA development tool is powerful, which includes the integration of various JAR packages, and uses JAR packages to import Java entity classes and control classes. And the realization of the service layer, background database management can use Navicat this tool, the page is simple, easy to use, can save a lot of time and a lot of manpower in the development process. In the early development process, it does not need to invest too much manpower, and the development process is not long, so it can be said that the personnel management system must be economically feasible.

2. Technical feasibility

  Selection of system development tools: JDK8+Tomcat server
  database: Mysql + Redis + PowerDesigner (design ER diagram)
  development tools: IDEA (back end) + VSCode (front end) + Navicat (database tool)
  In terms of development, choose IntelliJ IDEA as the main tool, because the page design is simple, and Java entity classes and other business logic can be written efficiently during the code design process. Using the current popular framework Spring Boot as the mainstream technology, combined with Mybatis can use mysql conveniently, flexibly, and has a wide range of applications. Using mysql is the best partner for developing the system, which explains the technical feasibility of the system.

3. Operation feasibility

  Operational feasibility refers to whether the interface of the developed system is beautiful, simple and easy to operate, whether there are prompts for operation steps, and whether relevant information can be automatically generated or updated. From the smoothness of operation, we can roughly know the feasibility and popularity of the system. It is currently a high-end popular technology. The interface is simple and beautiful, and the user operation is very simple.

4. Operation feasibility

  The personnel management system uses Java high-level language as the main development language. Java has good portability and concise code style, which not only reduces the difficulty of developers to a large extent, but also facilitates the work of developers. Java is a popular language in the world today. The first three languages ​​have outstanding advantages. Many programmers use this language, and there are many types of compilers, and they can also run code on virtual machines.

3. Database design

1. Physical Design

Database name: pmsdb
(1) User table (sys_user)
insert image description here
(2) Parent menu table (sys_mainmenu)
insert image description here
(3) Submenu table (sys_submenu) (
insert image description here
4) Employee information table (sys_employee)
insert image description here
(5) Department information table (sys_department)
insert image description here
(6) ) audit information table (sys_attendance)
insert image description here

2. Database conceptual design

(1) User management ER diagram
insert image description here

Figure 4-1 User management ER diagram

(2) Employee management ER diagram
insert image description here
Figure 4-2 Employee management ER diagram

(3) Department information management ER diagram
insert image description here
Figure 4-3 Department information management ER diagram

(4) ER Diagram of Attendance Information Management
insert image description here
Figure 4-4 ER Diagram of Attendance Information Management

3. Database logic design

(1) Conceptual model
insert image description here
(2) Physical model
insert image description here

4. Database link and configuration

The databases used are open source Mysql and Redis. The Mysql database is used to store important data, and the Redis database is used to store Token values ​​for user permission operations.

  • The Redis server is deployed on the local address, the address is 127.0.0.1, the port number is 6379, and the password is generally empty by default, so modify it according to your actual situation.
  • The Mysql database is also deployed on the local address localhost, the database name is pmsdb, the user name is root, and the password is 123456. (Everyone's database user name and password are different, you need to modify it yourself)
  • Version information: Mysql—8.0, Redis—6.2.1, Navicat—version12, RedisManager—0.9.3.
  • In the pom file of the project, you need to introduce the dependencies of sql and redis, otherwise errors will occur during the running of the project. In addition, when the project is started, it is also necessary to ensure that the redis database is running, otherwise the redis data storage will fail, and the value of the token generated by the login cannot be stored, resulting in the failure of the login page.

Summarize

This project started from scratch, it can be regarded as practice, the function of the project has basically been realized, and I will update it slowly when I have time!

Guess you like

Origin blog.csdn.net/weixin_45331887/article/details/116647868