Git Product home page Git Product logo

hrs-client's Introduction

HRS 人事系统

该项目是为某环保企业定制的人事系统,采用前后端分析的方式开发,前端技术主要使用react,后端使用Spring Boot,UI主题采用antd-pro

喜欢这个项目的朋友们记得点一下 star 哦!

主界面

运行截图

用户管理 菜单管理 定时任务设置
角色管理 角色分配 修改角色
字典管理 员工管理 薪资发放计算

功能实现

请看项目中 doc 中的人事系统脑图 人事系统功能脑图

区域信息

系统中有使用到区域信息(省-区-市-街道),数据来源于以下 Administrative-divisions-of-China 项目

准备环境

  1. 前端:
  • node 环境
  • npm
  • yarn (npm i -g yarn) 或 tyarn (npm i -g tyarn)
  • Nginx (部署需要)
  1. 后台:
  • Java 1.8
  • Gradle 6.8+ (加载依赖,仅开发需要)
  • mysql 7+
  • redis

运行前提

  • mysql 建库,创建hrsdb数据库,执行sql/hrs.sql脚本。(必须)
  • redis(必须)
  • 运行 api 子工程下的测试用例,testRegion方法,加载区域信息,因为数据量比较大,读取区域信息的 json 数据插入到数据库中。(非必要)
  • 默认账号:admin,密码为:123456
  • 该项目使用的是 Gradle,如果使用 idea 的用户请将编译方式修改为 Gradle,否则使用 idea 内置的编译方式可能会造成 xml 文件不会编译到目标路径

运行方式

  1. 前端:
cd hrs-client
yarn install
yarn run start
  1. 后台:
cd hrs/api
gradle bootRun

打包部署

  1. 前端:
cd hrs-client
yarn install
run build
  1. 后台:
cd hrs/api
# -x test 为跳过测试
gradle bootjar -x test

docker 运行

(待完善)

hrs-client's People

Contributors

shanzhaozhen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hrs-client's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.