Giter Club home page Giter Club logo

hrms's Introduction

hrms

基于go、gorm、gin、mysql及layui构建的人力资源管理系统。提供员工管理、考试管理、通知管理、薪资考勤管理、招聘管理、权限管理及分公司分库数据隔离等功能。欢迎Star或提Issue。

开源声明

本项目用于Go爱好者学习和参考,不能直接用于生产环境,转载使用请说明出处。欢迎加入golang开发交流微信群,如二维码过期可添加微信arong2048,备注github。
image

维护日志

  • 2021-02-15 需求分析设计、数据库设计及项目搭建(go、gin、gorm、layui)
  • 2021-03-21 RBAC及模板引擎实现分权限化模块管理(supersys、admin、normal)
  • 2021-03-24 分公司分库数据隔离模块(数据库实例动态筛选)
  • 2021-03-25 部门管理、职级管理及员工管理模块
  • 2021-04-12 新闻管理及发布通知模块
  • 2021-03-25 薪酬管理、薪资发放、薪资套账模块
  • 2021-03-26 考勤管理、考勤上报模块
  • 2021-04-01 招聘管理、候选人管理模块
  • 2021-12-19 补充sql文件,完善说明
  • 2022-11-16 更新项目配置
  • 2022-12-03 新增员工批量导入模块

项目分层

  • README.md// 项目说明
  • build.sh // 编译脚本
  • config // 配置文件
  • go.mod // go依赖列表文件
  • go.sum // go依赖校验文件
  • handler // 路由层
  • hrms_app // 编译后的打包文件
  • main.go // 启动文件
  • model // 实体层
  • resource // 配置层
  • service // 业务层
  • sql // 所用到的sql文件
  • excel // 上传测试文件
  • static // 静态资源
  • views // 前端文件

使用方式

  • git clone https://github.com/pbrong/hrms.git
  • cd hrms && go mod tidy
  • 按照sql文件的两个配置,分别建hrms1和hrms2分公司数据库
  • 更新conf配置文件配置
  • sh build.sh 执行脚本编译可执行文件执行 或 直接启动main.go运行

功能结构

系统架构

数据库设计

共14张数据库表,ER关系如下:

分公司分库设计

权限设计

界面展示

  • 分公司员工登陆
  • 超级管理员、企业管理员及普通员工
  • 权限管理
  • 薪酬管理
  • 考勤上报
  • 招聘管理
  • 候选人管理
  • 考试管理
  • 考试答题

hrms's People

Contributors

pbrong avatar

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.