考勤应用-人力资源系统

项目地址 Bee

创新互联公司长期为上1000+客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为北京企业提供专业的做网站、成都网站制作,北京网站改版等技术服务。拥有10余年丰富建站经验和众多成功案例,为您定制开发。

介绍

Bee 是人力资源系统中的考勤应用,主要功能用于员工申请假单。Bee具有较高的性能、扩展性等,其中包括前后端分离、插拔式的规则验证(验证器)、数据过滤(装饰器)、消息队列等,后端在Laravel 的MVC模式上,又添加了Services、Repositories层,明确每个类的职责,使用Passport 的密码模式获取接口数据。

技术栈

  • 服务器:Linux(Centos 7)、Nginx
  • 前端:Element、Vue、Vue-Router、Vuex、Webpack、V-calendar
  • 资源:Elephant
  • 后端:Laravel
  • 缓存:redis
    其他的就是一些基本工具了,比如node、npm(cnpm)、composer、git等
演示
1. 登录

考勤应用 - 人力资源系统

2. 申请

考勤应用 - 人力资源系统

3. 编辑

考勤应用 - 人力资源系统

4. 审批

考勤应用 - 人力资源系统

5. 搜索

考勤应用 - 人力资源系统

安装

1. 下载
git clone git@github.com:SexyPhoenix/Bee.git 
2. Laravel
composer install
chmod -R 777 storage
php artisan key:generate
3. 上传文件夹
mkdir -p uploads/bee
chmod -R 777 uploads
4. 配置.env
cp .env.example .env
APP_URL=http://localhost
ASSET_URL=http://localhost

DB_CONNECTION=MySQL
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
5. 数据库
php artisan migrate
6. Passport
php artisan passport:keys
php artisan passport:client --password --name='bee'  //name 自定义
7. 开启消息队列
php artisan queue:work bee --queue=apply --sleep=3 --tries=3 & > /dev/null
8. Nginx
server {
    listen 80;
    server_name dev.bee.goods; // 自定义
    index index.html index.htm index.php;

    location / {
        rewrite ^/(.*)$ /index.php/$1 last;
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ /uploads/ {
       root "/var/www/Bee"; // 自定义
    }

    location ~ \.(html|gif|jpg|jpeg|css|js|eot|svg|ttf|woff|woff2|png)$ {
      root "/var/www/Bee/public"; // 自定义
    }

    location ~ (.+\.php)(.*)$ {

        root /var/www/Bee/public; // 自定义
        fastcgi_split_path_info ^(.+\.php)(.+)$;
        fastcgi_pass unix:/var/run/php-fpm/php7-fpm.sock;  // 自定义
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;

        fastcgi_intercept_errors off;
        fastcgi_buffer_size 16k;
        fastcgi_buffers 4 16k;
        fastcgi_connect_timeout 300;
        fastcgi_send_timeout 300;
        fastcgi_read_timeout 300;
     }
}
9. 前端
cnpm install //cnpm淘宝的

export const API_DOMAIN = 'http://xxx/beeapi'  //resources\js\config\bee.js 文件中修改域名
npm run dev
10. 导入基本数据(database\sql\bee.sql)

最后,注意配置域名到host。

打开 http://xxx/bee#/
账号:zhangxiaofan@qq.com 密码:123456

文章题目:考勤应用-人力资源系统
网页网址:https://www.cdcxhl.com/article12/jgpddc.html

成都网站建设公司_创新互联,为您提供网站建设网站设计云服务器微信公众号网站营销品牌网站制作

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

微信小程序开发