佳木斯湛栽影视文化发展公司

主頁 > 知識(shí)庫 > 基于Laravel + Vue + Element 實(shí)現(xiàn) 人力資源系統(tǒng)(考勤應(yīng)用 )

基于Laravel + Vue + Element 實(shí)現(xiàn) 人力資源系統(tǒng)(考勤應(yīng)用 )

熱門標(biāo)簽:服務(wù)器配置 網(wǎng)站文章發(fā)布 檢查注冊表項(xiàng) 銀行業(yè)務(wù) 呼叫中心市場需求 美圖手機(jī) 鐵路電話系統(tǒng) 智能手機(jī)

項(xiàng)目地址 Bee

介紹

Bee 是人力資源系統(tǒng)中的考勤應(yīng)用,主要功能用于員工申請假單。Bee具有較高的性能、擴(kuò)展性等,其中包括前后端分離、插拔式的規(guī)則驗(yàn)證(驗(yàn)證器)、數(shù)據(jù)過濾(裝飾器)、消息隊(duì)列等,后端在Laravel 的MVC模式上,又添加了Services、Repositories層,明確每個(gè)類的職責(zé),使用Passport 的密碼模式獲取接口數(shù)據(jù)。

技術(shù)棧

  • 服務(wù)器: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. 數(shù)據(jù)庫

php artisan migrate

6. Passport

php artisan passport:keys
php artisan passport:client --password --name='bee' //name 自定義

7. 開啟消息隊(duì)列

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. 導(dǎo)入基本數(shù)據(jù)(database\sql\bee.sql)

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

打開 http://xxx/bee#/

賬號(hào):zhangxiaofan@qq.com 密碼:123456

總結(jié)

以上所述是小編給大家介紹的基于Laravel + Vue + Element 實(shí)現(xiàn) 人力資源系統(tǒng)(考勤應(yīng)用 ),希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
如果你覺得本文對你有幫助,歡迎轉(zhuǎn)載,煩請注明出處,謝謝!

您可能感興趣的文章:
  • 通達(dá)OA 使用Ajax和工作流插件實(shí)現(xiàn)根據(jù)人力資源系統(tǒng)數(shù)據(jù)增加OA賬號(hào)(圖文詳解)
  • laravel 5.4 + vue + vux + element的環(huán)境搭配過程介紹
  • laravel5.4+vue+element簡單搭建的示例代碼
  • vuejs+element-ui+laravel5.4上傳文件的示例代碼

標(biāo)簽:沈陽 上海 新疆 長治 紅河 樂山 河南 滄州

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《基于Laravel + Vue + Element 實(shí)現(xiàn) 人力資源系統(tǒng)(考勤應(yīng)用 )》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    尼木县| 和林格尔县| 体育| 太仓市| 康平县| 清涧县| 余干县| 泗水县| 江源县| 葵青区| 卫辉市| 沙雅县| 郓城县| 改则县| 健康| 建瓯市| 天长市| 盐池县| 顺平县| 勃利县| 巢湖市| 天祝| 阿克陶县| 铜梁县| 漳浦县| 如皋市| 财经| 小金县| 凉山| 南岸区| 枝江市| 乐山市| 西昌市| 黔南| 宣城市| 清苑县| 西华县| 佛学| 徐汇区| 泸溪县| 北海市|