{"id":18735214,"url":"https://github.com/wukongopensource/wukong_hrm","last_synced_at":"2025-05-15T04:00:21.998Z","repository":{"id":200631730,"uuid":"706002522","full_name":"WuKongOpenSource/Wukong_HRM","owner":"WuKongOpenSource","description":"悟空HRM人力资源管理系统-提供入职管理、招聘管理、绩效考核管理等一站式人力管理流程","archived":false,"fork":false,"pushed_at":"2023-11-06T02:06:55.000Z","size":12202,"stargazers_count":3063,"open_issues_count":9,"forks_count":193,"subscribers_count":258,"default_branch":"main","last_synced_at":"2025-05-11T09:11:24.298Z","etag":null,"topics":["e-hrm","hrm"],"latest_commit_sha":null,"homepage":"https://www.72crm.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WuKongOpenSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-17T05:49:52.000Z","updated_at":"2025-05-01T12:25:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"34e2bfd9-dc6b-43bc-8f12-af4b16534460","html_url":"https://github.com/WuKongOpenSource/Wukong_HRM","commit_stats":null,"previous_names":["wukongopensource/wukonghrm","wukongopensource/wukong_hrm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuKongOpenSource%2FWukong_HRM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuKongOpenSource%2FWukong_HRM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuKongOpenSource%2FWukong_HRM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WuKongOpenSource%2FWukong_HRM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WuKongOpenSource","download_url":"https://codeload.github.com/WuKongOpenSource/Wukong_HRM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270640,"owners_count":22042858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e-hrm","hrm"],"created_at":"2024-11-07T15:16:05.887Z","updated_at":"2025-05-15T04:00:21.976Z","avatar_url":"https://github.com/WuKongOpenSource.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wukong_HRM\n\n### 🌐Read This in [English](README_EN.md)\n\n体验地址：[https://www.72crm.com](http://www.72crm.com)\n\n## 悟空人力资源管理介绍\n\n悟空人力资源管理系统正式开源，从人力资源管理的角度出发，用集中的数据将几乎所有与人力资源相关的信息（组织规划、招聘管理、员工管理、考勤管理、社保管理、绩效管理）统一管理起来。\n\n官网地址：[http://www.5kcrm.com](http://www.5kcrm.com/)\n\n扫码添加小悟官方客服微信，邀您加入千人微信交流群：\n\n\u003cimg src=\"https://images.gitee.com/uploads/images/2019/1231/115927_f9c580c8_345098.png\" width=\"120\"\u003e\n\n关注悟空CRM公众号，了解更多悟空资讯\n\n\u003cimg src=\"https://images.gitee.com/uploads/images/2019/1202/135713_d3566c6a_345098.jpeg\" width=\"120\"\u003e\n\n扫码加入微信群，在线客服解答疑问\n\n\u003cimg src=\"https://raw.githubusercontent.com/WuKongOpenSource/WukongHRM/main/img/cc1.png\" width=\"120\"\u003e\n\n:boom:  :boom:  :boom: 注：悟空人力资源管理系统采用全新的前后端分离模式，本仓库代码中已集成前端vue打包后文件，  **可免去打包操作，无需运行前端**\n\n# 悟空项目管理目录结构\n\n```lua\nwk_open_hrm\n├── common        -- 基础模块\n├── DB        -- sql文件\n├── hrm        -- 人力资源管理模块\n├── ux        -- 前端源码\n```\n\n# 核心功能模块\n\n**员工组织管理，最优配置人才资源** \u003cbr/\u003e\n**考勤管理，增加员工行动力** \u003cbr/\u003e\n**薪资管理，助力企业人才战略** \u003cbr/\u003e\n**社保管理，给与员工充足的保障** \u003cbr/\u003e\n**绩效管理，调动全员积极性** \u003cbr/\u003e\n**员工自助，员工所有相关信息一览无余** \u003cbr/\u003e\n\n# 悟空人力资源管理使用的主要技术栈\n\n# 后端：\n\n|名称                 | 版本                     | 说明   |\n|---------------------|---------------------------|----  |\n| spring-cloud-alibaba| 2021.0.5.0                 |  核心框架  |\n| spring-boot         | 2.7.15                    |  spring版本  |\n| mybatis-plus        | 3.5.3.2                    |  ORM框架  |\n\n# 前端：\n\n| 技术 | 说明 | 版本 |\n| --- | --- | --- |\n| [Vue](https://vuejs.org) | 框架 | 2.5.17 |\n| [Vue-router](https://router.vuejs.org) | 路由框架 | 3.0.1 |\n| [Vuex](https://vuex.vuejs.org) | 全局状态管理框架 | 3.0.1 |\n| [Element](https://element.eleme.io) | UI框架 | 2.12.0 |\n| [Axios](https://github.com/axios/axios) | HTTP框架 | 0.18.0 |\n\n# 使用说明\n\n### 一、本项目安装需要在Linux环境下进行，可在虚拟机中安装Linux环境\n\nLinux 环境配置要求如下：\n\n推荐使用系统：centos\n系统内存：≥16G\n系统CPU：≥4核\n磁盘大小：≥100G\n\n### 二、前置环境，需要在Linux环境下安装以下配置\n\n- Jdk1.8\n- Maven3.5^\n- Mysql8^\n- Redis(版本不限)\n- elasticsearch8.5.3\n\n### 安装说明\n\n#### 一、依赖环境安装\n\n###### 1. 安装jdk\n\n```\nyum -y install java-1.8.0-openjdk-devel;\n```\n\n###### 2. 安装redis\n\n```\nyum -y install epel-release;\nyum -y install redis;\nsystemctl start redis\n\n#-- 修改redis密码为123456\nyum -y install vim;\nvim /etc/redis.conf;\n\n#-- 在文件最下面追加一行\nrequirepass 123456\n#-- 或者输入 / 搜索 # requirepass foobared\n#-- 将前面的#删除，将foobared改为123456\n#-- 修改完成之后 :wq 保存并退出,重启redis\n\nsystemctl restart redis\n```\n\n###### 3.安装mysql\n\n```\nwget https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm\nyum -y install mysql80-community-release-el7-3.noarch.rpm\nyum -y install mysql-community-server --nogpgcheck\nsudo systemctl start mysqld.service;\nsudo systemctl enable mysqld.service;\n\n--查看安装的mysql默认密码\ngrep \"password\" /var/log/mysqld.log\n--进入mysql 例：mysql -u root -p\"GXOO%eiI/7o\u003e\"\nmysql - u root -p\"此处为上一步的默认密码\" \n \n--修改mysql密码，如下图所示\nset global validate_password_policy=LOW;\nALTER USER 'root'@'localhost' IDENTIFIED BY 'password';\n\n--退出mysql\nexit\n    \n--修改mysql配置\nvim /etc/my.cnf;\n--输入 i 进入编辑模式，修改sql_mode设置，将下面sql_mode配置复制，到 [mysqld]下使用 shift+insert 粘贴\nsql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION \n--修改完毕，按esc按键，然后 :wq 保存并退出，重启mysql\n\n\nservice mysqld restart;\n```\n\n### 4.安装elasticsearch(es)\n\n```\n--下载es  \n\n# 注意不要放在root目录下\n\nuseradd elasticsearch\nwget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.5.3-linux-x86_64.tar.gz\ntar xvf elasticsearch-8.5.3-linux-x86_64.tar.gz\nchown -R elasticsearch:elasticsearch  elasticsearch-8.5.3 \nchmod -R 777  elasticsearch-8.5.3\n\n--修改es配置文件:elasticsearch.yml\n\n# 安装es如有以下配置信息，需要修改配置信息\n\ningest.geoip.downloader.enabled: false  ## 添加配置\nxpack.security.enabled: true\nxpack.security.enrollment.enabled: true\n\nxpack.security.http.ssl:\n  enabled: false        # 改为false\n  keystore.path: certs/http.p12\n\nEnable encryption and mutual authentication between cluster nodes\nxpack.security.transport.ssl:\n  enabled: false         # 改为false\n  verification_mode: certificate\n  keystore.path: certs/transport.p12\n  truststore.path: certs/transport.p12\n\n-- 安装es分词器\n./elasticsearch-plugin install analysis-icu\n--重置 es 账户密码\n./elasticsearch-reset-password -u elastic\n\n-- 进入bin启动es\nsu elasticsearch\n./elasticsearch\n```\n\n#### 二、项目配置与启动\n\nyum -y install maven\n\n###### 1.导入DB目录下数据库\n\n```\ncreate database wk_hrm_open character set utf8mb4 collate utf8mb4_general_ci;\n use wk_hrm_open;\nsource XXX（项目路径）\n```\n\n###### 2.在项目根目录执行mvn install\n\n###### 3.在项目中修改以下配置信息：\n\n###### 3.在hrm模块下resource目录配置数据库帐号密码信息以及redis帐号信息`\n\n###### 4. 访问[悟空ID](https://id.72crm.com/)获取账号\n\n###### 注册之后点击默认企业,应用列表中选择人力资源管理\n\n![默认企业](img/007.png \"img1.png\")\n\n###### 点击人力资源管理\n\n![人力资源管理](img/008.png \"img2.png\")\n\n##### 将App ID，accessKey，secretKey复制到 hrm-web\\src\\main\\resources\\application.yml，分别对应appId，clientId，clientSecret 如下图所示\n\n![代码配置](img/009.png \"img4.png\")\n将appId复制到hrm-web\\src\\main\\resources\\static\\APPLICATION_ID.txt内，替换里面内容\n\n###### 5. 项目打包部署\n\n```\n--项目打包\nmkdir /opt/package\nmvn clean -Dmaven.test.skip=true package\ncp hrm-web/target/hrm-web.zip /opt/package\ncd /opt/package\nunzip hrm-web.zip -d hrm\ncd hrm-web\nsh 72crm.sh start\n```\n\n###### 6. 前端项目项目运行、打包\n\n```\n- 下载node并安装(LTS)：https://nodejs.org/;\n- 该项目为前后端分离项目，本地访问需搭建后台环境，请参考[后端项目](https://gitee.com/wukongcrm/crm_pro);\n- 访问线上接口无需搭建后台环境，只需将config/index.js文件中的dev下的proxyTable中的target改为线上地址即可;\n- 执行 npm install，下载相关依赖;\n- 执行 npm run dev，运行项目;\n- 执行成功，即可访问http://localhost:8090，查看;\n\n打包：\n- 需将config/prod.env.js文件中的BASE_API，调整为自己需要的\n- 执行 npm run build\n- 打包完成\n```\n\n### 三、其他说明\n\n#### 1.接口文档\u003cbr/\u003e\n\n```\n接口文档地址：http://localhost:44311/doc.html\n```\n\n#### 2.docker镜像\u003cbr/\u003e\n\n```\n敬请期待\n```\n\n### 四、悟空人力资源功能模块预览\n\n![输入图片说明](img/001.png)\n![输入图片说明](img/002.png)\n![输入图片说明](img/003.png)\n![输入图片说明](img/004.png)\n![输入图片说明](img/005.png)\n![输入图片说明](img/006.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwukongopensource%2Fwukong_hrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwukongopensource%2Fwukong_hrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwukongopensource%2Fwukong_hrm/lists"}