├── .editorconfig
├── .env.example
├── .gitattributes
├── .gitignore
├── README.md
├── app
├── Console
│ └── Kernel.php
├── Exceptions
│ └── Handler.php
├── Http
│ ├── Controllers
│ │ ├── Admin
│ │ │ ├── ApplyController.php
│ │ │ ├── ApprovalController.php
│ │ │ ├── DesignController.php
│ │ │ ├── IndexController.php
│ │ │ ├── ProcessController.php
│ │ │ └── WorkflowController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── RegisterController.php
│ │ │ └── ResetPasswordController.php
│ │ └── Controller.php
│ ├── Kernel.php
│ ├── Middleware
│ │ ├── CheckAuth.php
│ │ ├── CheckForMaintenanceMode.php
│ │ ├── EncryptCookies.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ └── VerifyCsrfToken.php
│ └── Models
│ │ ├── Approval.php
│ │ ├── ApprovalDetail.php
│ │ ├── Base.php
│ │ ├── Index.php
│ │ ├── Menu.php
│ │ └── Workflow.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
└── User.php
├── artisan
├── bootstrap
├── app.php
└── cache
│ └── .gitignore
├── composer.json
├── composer.lock
├── config
├── app.php
├── auth.php
├── broadcasting.php
├── cache.php
├── database.php
├── filesystems.php
├── hashing.php
├── logging.php
├── mail.php
├── queue.php
├── services.php
├── session.php
└── view.php
├── database
├── .gitignore
├── factories
│ └── UserFactory.php
├── migrations
│ ├── 2018_08_15_065055_create_menus_table.php
│ ├── 2018_08_15_102402_create_workflows_table.php
│ ├── 2018_08_20_020034_create_approvals_table.php
│ └── 2018_08_20_090222_create_approval_details_table.php
└── seeds
│ ├── ApprovalsTableSeeder.php
│ ├── DatabaseSeeder.php
│ ├── MenusTableSeeder.php
│ └── WorkflowsTableSeeder.php
├── package.json
├── phpunit.xml
├── public
├── .htaccess
├── css
│ └── app.css
├── favicon.ico
├── index.php
├── js
│ ├── app.js
│ ├── jquery.min.js
│ └── socket.io.js
├── robots.txt
└── static
│ ├── .gitignore
│ ├── admin
│ └── layuiadmin
│ │ ├── config.js
│ │ ├── json
│ │ ├── console
│ │ │ ├── prograss.js
│ │ │ ├── top-card.js
│ │ │ └── top-search.js
│ │ ├── content
│ │ │ ├── comment.js
│ │ │ ├── list.js
│ │ │ └── tags.js
│ │ ├── forum
│ │ │ ├── list.js
│ │ │ └── replys.js
│ │ ├── message
│ │ │ ├── all.js
│ │ │ ├── detail.js
│ │ │ ├── direct.js
│ │ │ └── notice.js
│ │ ├── useradmin
│ │ │ ├── mangadmin.js
│ │ │ ├── role.js
│ │ │ └── webuser.js
│ │ └── workorder
│ │ │ └── demo.js
│ │ ├── layui
│ │ ├── css
│ │ │ ├── layui.css
│ │ │ ├── layui.mobile.css
│ │ │ └── modules
│ │ │ │ ├── code.css
│ │ │ │ ├── laydate
│ │ │ │ └── default
│ │ │ │ │ └── laydate.css
│ │ │ │ └── layer
│ │ │ │ └── default
│ │ │ │ ├── icon-ext.png
│ │ │ │ ├── icon.png
│ │ │ │ ├── layer.css
│ │ │ │ ├── loading-0.gif
│ │ │ │ ├── loading-1.gif
│ │ │ │ └── loading-2.gif
│ │ ├── font
│ │ │ ├── iconfont.eot
│ │ │ ├── iconfont.svg
│ │ │ ├── iconfont.ttf
│ │ │ └── iconfont.woff
│ │ ├── images
│ │ │ └── face
│ │ │ │ ├── 0.gif
│ │ │ │ ├── 1.gif
│ │ │ │ ├── 10.gif
│ │ │ │ ├── 11.gif
│ │ │ │ ├── 12.gif
│ │ │ │ ├── 13.gif
│ │ │ │ ├── 14.gif
│ │ │ │ ├── 15.gif
│ │ │ │ ├── 16.gif
│ │ │ │ ├── 17.gif
│ │ │ │ ├── 18.gif
│ │ │ │ ├── 19.gif
│ │ │ │ ├── 2.gif
│ │ │ │ ├── 20.gif
│ │ │ │ ├── 21.gif
│ │ │ │ ├── 22.gif
│ │ │ │ ├── 23.gif
│ │ │ │ ├── 24.gif
│ │ │ │ ├── 25.gif
│ │ │ │ ├── 26.gif
│ │ │ │ ├── 27.gif
│ │ │ │ ├── 28.gif
│ │ │ │ ├── 29.gif
│ │ │ │ ├── 3.gif
│ │ │ │ ├── 30.gif
│ │ │ │ ├── 31.gif
│ │ │ │ ├── 32.gif
│ │ │ │ ├── 33.gif
│ │ │ │ ├── 34.gif
│ │ │ │ ├── 35.gif
│ │ │ │ ├── 36.gif
│ │ │ │ ├── 37.gif
│ │ │ │ ├── 38.gif
│ │ │ │ ├── 39.gif
│ │ │ │ ├── 4.gif
│ │ │ │ ├── 40.gif
│ │ │ │ ├── 41.gif
│ │ │ │ ├── 42.gif
│ │ │ │ ├── 43.gif
│ │ │ │ ├── 44.gif
│ │ │ │ ├── 45.gif
│ │ │ │ ├── 46.gif
│ │ │ │ ├── 47.gif
│ │ │ │ ├── 48.gif
│ │ │ │ ├── 49.gif
│ │ │ │ ├── 5.gif
│ │ │ │ ├── 50.gif
│ │ │ │ ├── 51.gif
│ │ │ │ ├── 52.gif
│ │ │ │ ├── 53.gif
│ │ │ │ ├── 54.gif
│ │ │ │ ├── 55.gif
│ │ │ │ ├── 56.gif
│ │ │ │ ├── 57.gif
│ │ │ │ ├── 58.gif
│ │ │ │ ├── 59.gif
│ │ │ │ ├── 6.gif
│ │ │ │ ├── 60.gif
│ │ │ │ ├── 61.gif
│ │ │ │ ├── 62.gif
│ │ │ │ ├── 63.gif
│ │ │ │ ├── 64.gif
│ │ │ │ ├── 65.gif
│ │ │ │ ├── 66.gif
│ │ │ │ ├── 67.gif
│ │ │ │ ├── 68.gif
│ │ │ │ ├── 69.gif
│ │ │ │ ├── 7.gif
│ │ │ │ ├── 70.gif
│ │ │ │ ├── 71.gif
│ │ │ │ ├── 8.gif
│ │ │ │ └── 9.gif
│ │ ├── lay
│ │ │ └── modules
│ │ │ │ ├── carousel.js
│ │ │ │ ├── code.js
│ │ │ │ ├── element.js
│ │ │ │ ├── flow.js
│ │ │ │ ├── form.js
│ │ │ │ ├── jquery.js
│ │ │ │ ├── laydate.js
│ │ │ │ ├── layedit.js
│ │ │ │ ├── layer.js
│ │ │ │ ├── laypage.js
│ │ │ │ ├── laytpl.js
│ │ │ │ ├── mobile.js
│ │ │ │ ├── rate.js
│ │ │ │ ├── table.js
│ │ │ │ ├── tree.js
│ │ │ │ ├── upload.js
│ │ │ │ └── util.js
│ │ ├── layui.all.js
│ │ └── layui.js
│ │ ├── lib
│ │ ├── admin.js
│ │ ├── extend
│ │ │ ├── echarts.js
│ │ │ └── echartsTheme.js
│ │ ├── index.js
│ │ └── view.js
│ │ ├── modules
│ │ ├── common.js
│ │ ├── console.js
│ │ ├── contlist.js
│ │ ├── forum.js
│ │ ├── message.js
│ │ ├── sample.js
│ │ ├── senior.js
│ │ ├── set.js
│ │ ├── useradmin.js
│ │ └── workorder.js
│ │ ├── style
│ │ ├── admin.css
│ │ ├── login.css
│ │ ├── res
│ │ │ ├── layui-logo.jpg
│ │ │ ├── logo.png
│ │ │ └── template
│ │ │ │ ├── character.jpg
│ │ │ │ ├── huge.jpg
│ │ │ │ └── portrait.png
│ │ └── template.css
│ │ └── tpl
│ │ └── system
│ │ ├── about.html
│ │ └── theme.html
│ ├── home
│ └── layui
│ │ ├── css
│ │ ├── layui.css
│ │ ├── layui.mobile.css
│ │ └── modules
│ │ │ ├── code.css
│ │ │ ├── laydate
│ │ │ └── default
│ │ │ │ └── laydate.css
│ │ │ └── layer
│ │ │ └── default
│ │ │ ├── icon-ext.png
│ │ │ ├── icon.png
│ │ │ ├── layer.css
│ │ │ ├── loading-0.gif
│ │ │ ├── loading-1.gif
│ │ │ └── loading-2.gif
│ │ ├── font
│ │ ├── iconfont.eot
│ │ ├── iconfont.svg
│ │ ├── iconfont.ttf
│ │ └── iconfont.woff
│ │ ├── images
│ │ └── face
│ │ │ ├── 0.gif
│ │ │ ├── 1.gif
│ │ │ ├── 10.gif
│ │ │ ├── 11.gif
│ │ │ ├── 12.gif
│ │ │ ├── 13.gif
│ │ │ ├── 14.gif
│ │ │ ├── 15.gif
│ │ │ ├── 16.gif
│ │ │ ├── 17.gif
│ │ │ ├── 18.gif
│ │ │ ├── 19.gif
│ │ │ ├── 2.gif
│ │ │ ├── 20.gif
│ │ │ ├── 21.gif
│ │ │ ├── 22.gif
│ │ │ ├── 23.gif
│ │ │ ├── 24.gif
│ │ │ ├── 25.gif
│ │ │ ├── 26.gif
│ │ │ ├── 27.gif
│ │ │ ├── 28.gif
│ │ │ ├── 29.gif
│ │ │ ├── 3.gif
│ │ │ ├── 30.gif
│ │ │ ├── 31.gif
│ │ │ ├── 32.gif
│ │ │ ├── 33.gif
│ │ │ ├── 34.gif
│ │ │ ├── 35.gif
│ │ │ ├── 36.gif
│ │ │ ├── 37.gif
│ │ │ ├── 38.gif
│ │ │ ├── 39.gif
│ │ │ ├── 4.gif
│ │ │ ├── 40.gif
│ │ │ ├── 41.gif
│ │ │ ├── 42.gif
│ │ │ ├── 43.gif
│ │ │ ├── 44.gif
│ │ │ ├── 45.gif
│ │ │ ├── 46.gif
│ │ │ ├── 47.gif
│ │ │ ├── 48.gif
│ │ │ ├── 49.gif
│ │ │ ├── 5.gif
│ │ │ ├── 50.gif
│ │ │ ├── 51.gif
│ │ │ ├── 52.gif
│ │ │ ├── 53.gif
│ │ │ ├── 54.gif
│ │ │ ├── 55.gif
│ │ │ ├── 56.gif
│ │ │ ├── 57.gif
│ │ │ ├── 58.gif
│ │ │ ├── 59.gif
│ │ │ ├── 6.gif
│ │ │ ├── 60.gif
│ │ │ ├── 61.gif
│ │ │ ├── 62.gif
│ │ │ ├── 63.gif
│ │ │ ├── 64.gif
│ │ │ ├── 65.gif
│ │ │ ├── 66.gif
│ │ │ ├── 67.gif
│ │ │ ├── 68.gif
│ │ │ ├── 69.gif
│ │ │ ├── 7.gif
│ │ │ ├── 70.gif
│ │ │ ├── 71.gif
│ │ │ ├── 8.gif
│ │ │ └── 9.gif
│ │ ├── lay
│ │ └── modules
│ │ │ ├── carousel.js
│ │ │ ├── code.js
│ │ │ ├── element.js
│ │ │ ├── flow.js
│ │ │ ├── form.js
│ │ │ ├── jquery.js
│ │ │ ├── laydate.js
│ │ │ ├── layedit.js
│ │ │ ├── layer.js
│ │ │ ├── laypage.js
│ │ │ ├── laytpl.js
│ │ │ ├── mobile.js
│ │ │ ├── rate.js
│ │ │ ├── table.js
│ │ │ ├── tree.js
│ │ │ ├── upload.js
│ │ │ └── util.js
│ │ ├── layui.all.js
│ │ └── layui.js
│ └── plugins
│ ├── font-awesome
│ ├── css
│ │ ├── font-awesome.css
│ │ └── font-awesome.min.css
│ └── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.svg
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ └── fontawesome-webfont.woff2
│ └── formbuilder
│ ├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ └── fontawesome-webfont.woff
│ ├── formbuilder-min.css
│ ├── formbuilder-min.js
│ ├── formbuilder.css
│ ├── formbuilder.js
│ ├── vendor.css
│ └── vendor.js
├── resources
├── assets
│ ├── js
│ │ ├── app.js
│ │ ├── bootstrap.js
│ │ └── components
│ │ │ └── ExampleComponent.vue
│ └── sass
│ │ ├── _variables.scss
│ │ └── app.scss
├── lang
│ └── en
│ │ ├── auth.php
│ │ ├── pagination.php
│ │ ├── passwords.php
│ │ └── validation.php
└── views
│ ├── Apply
│ └── index.blade.php
│ ├── Approval
│ ├── create.blade.php
│ ├── edit.blade.php
│ ├── index.blade.php
│ ├── lists.blade.php
│ └── show.blade.php
│ ├── Design
│ ├── index.blade.php
│ └── show.blade.php
│ ├── base.blade.php
│ ├── layout.blade.php
│ ├── process
│ └── index.blade.php
│ └── workflow
│ ├── create.blade.php
│ ├── edit.blade.php
│ └── index.blade.php
├── routes
├── admin.php
├── api.php
├── channels.php
├── console.php
└── web.php
├── server.php
├── storage
├── app
│ ├── .gitignore
│ └── public
│ │ └── .gitignore
├── framework
│ ├── .gitignore
│ ├── cache
│ │ └── .gitignore
│ ├── sessions
│ │ └── .gitignore
│ ├── testing
│ │ └── .gitignore
│ └── views
│ │ └── .gitignore
└── logs
│ └── .gitignore
├── tests
├── CreatesApplication.php
├── Feature
│ └── ExampleTest.php
├── TestCase.php
└── Unit
│ └── ExampleTest.php
└── webpack.mix.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 4
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
14 | [*.yml]
15 | indent_style = space
16 | indent_size = 2
17 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | APP_NAME=Laravel
2 | APP_ENV=local
3 | APP_KEY=
4 | APP_DEBUG=true
5 | APP_URL=http://localhost
6 |
7 | LOG_CHANNEL=stack
8 |
9 | DB_CONNECTION=mysql
10 | DB_HOST=127.0.0.1
11 | DB_PORT=3306
12 | DB_DATABASE=homestead
13 | DB_USERNAME=homestead
14 | DB_PASSWORD=secret
15 |
16 | BROADCAST_DRIVER=log
17 | CACHE_DRIVER=file
18 | SESSION_DRIVER=file
19 | SESSION_LIFETIME=120
20 | QUEUE_DRIVER=sync
21 |
22 | REDIS_HOST=127.0.0.1
23 | REDIS_PASSWORD=null
24 | REDIS_PORT=6379
25 |
26 | MAIL_DRIVER=smtp
27 | MAIL_HOST=smtp.mailtrap.io
28 | MAIL_PORT=2525
29 | MAIL_USERNAME=null
30 | MAIL_PASSWORD=null
31 | MAIL_ENCRYPTION=null
32 |
33 | PUSHER_APP_ID=
34 | PUSHER_APP_KEY=
35 | PUSHER_APP_SECRET=
36 | PUSHER_APP_CLUSTER=mt1
37 |
38 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
39 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
40 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /public/hot
3 | /public/storage
4 | /storage/*.key
5 | /vendor
6 | /.idea
7 | /.vscode
8 | /.vagrant
9 | Homestead.json
10 | Homestead.yaml
11 | npm-debug.log
12 | yarn-error.log
13 | .env
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # laravel-workflow
2 | 一个基于laravel框架的审批工作流
3 |
4 | `复制.env.example为.env`
5 |
6 | `配置.env里的数据库连接信息`
7 |
8 | `composer update`
9 |
10 | `php artisan migrate`
11 |
12 | `php artisan db:seed`
13 |
14 | `php artisan key:generate`
15 |
16 | # ok enjoy it
17 |
--------------------------------------------------------------------------------
/app/Console/Kernel.php:
--------------------------------------------------------------------------------
1 | command('inspire')
28 | // ->hourly();
29 | }
30 |
31 | /**
32 | * Register the commands for the application.
33 | *
34 | * @return void
35 | */
36 | protected function commands()
37 | {
38 | $this->load(__DIR__.'/Commands');
39 |
40 | require base_path('routes/console.php');
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | input('uid'));
28 | return response()->json(['code'=>200,'msg'=>'登录成功']);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/ProcessController.php:
--------------------------------------------------------------------------------
1 | input('id'));
19 | //获取当前流程审批节点
20 | $processData = Workflow::find($id);
21 | $processData = json_decode($processData['flow_process'],true);
22 | return view("process.index",['processData'=>$processData,'id'=>$id,'allUser'=>self::$userArr]);
23 | }
24 |
25 | /**
26 | * Store a newly created resource in storage.
27 | *
28 | * @param \Illuminate\Http\Request $request
29 | * @return \Illuminate\Http\Response
30 | */
31 | public function store(Request $request)
32 | {
33 | $id = intval($request->input('id'));
34 | if($request->isMethod('post')){
35 | $postData = $request->input("post_data");
36 | if(count($postData) <= 1){
37 | return redirect()->action('Admin\ProcessController@index', ['id'=>$id])->with('error','数据错误');
38 | }
39 |
40 | //入库
41 | $nowTime = time();
42 | foreach ($postData as $k => $v){
43 | if($v){
44 | $tempProcess = explode('-',$v);
45 | $processName = $tempProcess[0];
46 | $processUser = $tempProcess[1];
47 | $processUserName = $tempProcess[2];
48 | $processArr[] = [
49 | 'process_user' => $processUser,
50 | 'process_name' => $processName,
51 | 'process_user_name' => $processUserName,
52 | ];
53 |
54 | }
55 | }
56 | $processJson = json_encode($processArr);
57 | $saveData = [
58 | 'flow_process' => $processJson,
59 | ];
60 | $updateRes = Workflow::where("id",$id)->update($saveData);
61 | if($updateRes){
62 | return redirect()->action('Admin\ProcessController@index', ['id'=>$id])->with('success','入库成功');
63 | }else{
64 | return redirect()->action('Admin\ProcessController@index', ['id'=>$id])->with('error','入库失败');
65 | }
66 | }
67 | }
68 |
69 | }
70 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ForgotPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/LoginController.php:
--------------------------------------------------------------------------------
1 | middleware('guest')->except('logout');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/RegisterController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
41 | }
42 |
43 | /**
44 | * Get a validator for an incoming registration request.
45 | *
46 | * @param array $data
47 | * @return \Illuminate\Contracts\Validation\Validator
48 | */
49 | protected function validator(array $data)
50 | {
51 | return Validator::make($data, [
52 | 'name' => 'required|string|max:255',
53 | 'email' => 'required|string|email|max:255|unique:users',
54 | 'password' => 'required|string|min:6|confirmed',
55 | ]);
56 | }
57 |
58 | /**
59 | * Create a new user instance after a valid registration.
60 | *
61 | * @param array $data
62 | * @return \App\User
63 | */
64 | protected function create(array $data)
65 | {
66 | return User::create([
67 | 'name' => $data['name'],
68 | 'email' => $data['email'],
69 | 'password' => Hash::make($data['password']),
70 | ]);
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/ResetPasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | 'admin',
18 | 2 => '分管高管',
19 | 3 => '直线主管',
20 | 4 => '普通员工',
21 | ];
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | [
33 | \App\Http\Middleware\EncryptCookies::class,
34 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
35 | \Illuminate\Session\Middleware\StartSession::class,
36 | // \Illuminate\Session\Middleware\AuthenticateSession::class,
37 | \Illuminate\View\Middleware\ShareErrorsFromSession::class,
38 | \App\Http\Middleware\VerifyCsrfToken::class,
39 | \Illuminate\Routing\Middleware\SubstituteBindings::class,
40 | ],
41 |
42 | 'api' => [
43 | \Illuminate\Session\Middleware\StartSession::class,
44 | 'throttle:60,1',
45 | 'bindings',
46 | ],
47 | ];
48 |
49 | /**
50 | * The application's route middleware.
51 | *
52 | * These middleware may be assigned to groups or used individually.
53 | *
54 | * @var array
55 | */
56 | protected $routeMiddleware = [
57 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
58 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
59 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
60 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
61 | 'can' => \Illuminate\Auth\Middleware\Authorize::class,
62 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
63 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
64 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
65 | 'checkauth' => \App\Http\Middleware\CheckAuth::class,
66 | ];
67 | }
68 |
--------------------------------------------------------------------------------
/app/Http/Middleware/CheckAuth.php:
--------------------------------------------------------------------------------
1 | with('error','请登录!');
22 | }
23 | return $next($request);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/Http/Middleware/CheckForMaintenanceMode.php:
--------------------------------------------------------------------------------
1 | check()) {
21 | return redirect('/home');
22 | }
23 |
24 | return $next($request);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/TrimStrings.php:
--------------------------------------------------------------------------------
1 | first();
43 |
44 | //没有数据或者用户不正确
45 | if(!$caseData || $caseData['user_id'] != session('uid')){
46 | return false;
47 | }
48 |
49 | //判断是否进入下一流程
50 | $caseDetailData = ApprovalDetail::where('approval_id',$approval_id)->orderBy('id','desc')->first();
51 | //发起后待处理和被驳回都具备权限
52 | if(($caseDetailData['process_id'] === 0 && $caseDetailData['approval_detail_status'] == 1) || $caseDetailData['approval_detail_status'] == 2){
53 | return true;
54 | }
55 | return false;
56 | }
57 |
58 | //获取并组合所有的审批数据
59 | public static function getMyApproval($approvalArrRes){
60 | foreach ($approvalArrRes as $k => $v){
61 |
62 | $flowData = Workflow::find($v['flow_id']);
63 | $caseDetailData = ApprovalDetail::where("approval_id",$v['id'])->orderBy("created_at","desc")->first();
64 |
65 | $approvalArrRes[$k]['flow_name'] = $flowData['flow_name'];
66 | $approvalArrRes[$k]['process_user_name'] = $caseDetailData['process_user_name'];
67 | $approvalArrRes[$k]['process_name'] = $caseDetailData['process_name'];
68 | $approvalArrRes[$k]['approval_detail_comment'] = $caseDetailData['case_detail_comment'];
69 | //待处理1 驳回2 拒绝3 完结4
70 | $approvalArrRes[$k]['approval_detail_status'] = Approval::getCaseStatus($caseDetailData['approval_detail_status']);
71 | $approvalArrRes[$k]['flow_status'] = $flowData['flow_status'];
72 | //判断是否具有修改/撤回权限(有没有进入下个流程)
73 | $approvalArrRes[$k]['is_auth'] = ($flowData['flow_status'] == 2) ? false : Approval::isHaveAuth($v['id']);
74 | }
75 | return $approvalArrRes;
76 | }
77 |
78 |
79 | }
80 |
--------------------------------------------------------------------------------
/app/Http/Models/ApprovalDetail.php:
--------------------------------------------------------------------------------
1 | orderBy('created_at','desc')->first();
19 | //没有数据或者用户不正确
20 | if(!$caseDetailData || $caseDetailData['process_userid'] != session('uid')){
21 | return false;
22 | }
23 | return true;
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Models/Base.php:
--------------------------------------------------------------------------------
1 | toArray();
10 | return self::getTree($menus);
11 | }
12 |
13 | //获取tree
14 | protected static function getTree($arr,$pid = 0){
15 | $tree = array();
16 | foreach($arr as $k => $v) {
17 | if($v['parent_id'] == $pid) {
18 | $v['children'] = static::getTree($arr, $v['id']);
19 | $tree[] = $v;
20 | }
21 | }
22 | return $tree;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/Providers/AppServiceProvider.php:
--------------------------------------------------------------------------------
1 | composer('layout',function($view){
20 | $menus = \App\Http\Models\Menu::getMenuTree();
21 | $view->with('menus',$menus);
22 | $view->with('userArr',\App\Http\Controllers\Controller::$userArr);
23 | });
24 | }
25 |
26 | /**
27 | * Register any application services.
28 | *
29 | * @return void
30 | */
31 | public function register()
32 | {
33 | //
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/Providers/AuthServiceProvider.php:
--------------------------------------------------------------------------------
1 | 'App\Policies\ModelPolicy',
17 | ];
18 |
19 | /**
20 | * Register any authentication / authorization services.
21 | *
22 | * @return void
23 | */
24 | public function boot()
25 | {
26 | $this->registerPolicies();
27 |
28 | //
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
17 | 'App\Listeners\EventListener',
18 | ],
19 | ];
20 |
21 | /**
22 | * Register any events for your application.
23 | *
24 | * @return void
25 | */
26 | public function boot()
27 | {
28 | parent::boot();
29 |
30 | //
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapApiRoutes();
39 |
40 | $this->mapWebRoutes();
41 |
42 | $this->mapAdminRoutes();
43 |
44 | //
45 | }
46 |
47 | /**
48 | * Define the "web" routes for the application.
49 | *
50 | * These routes all receive session state, CSRF protection, etc.
51 | *
52 | * @return void
53 | */
54 | protected function mapWebRoutes()
55 | {
56 | Route::middleware('web')
57 | ->namespace($this->namespace)
58 | ->group(base_path('routes/web.php'));
59 | }
60 |
61 | protected function mapAdminRoutes()
62 | {
63 | Route::middleware('web')
64 | ->namespace($this->namespace)
65 | ->group(base_path('routes/admin.php'));
66 | }
67 |
68 | /**
69 | * Define the "api" routes for the application.
70 | *
71 | * These routes are typically stateless.
72 | *
73 | * @return void
74 | */
75 | protected function mapApiRoutes()
76 | {
77 | Route::prefix('api')
78 | ->middleware('api')
79 | ->namespace($this->namespace)
80 | ->group(base_path('routes/api.php'));
81 | }
82 | }
83 |
--------------------------------------------------------------------------------
/app/User.php:
--------------------------------------------------------------------------------
1 | make(Illuminate\Contracts\Console\Kernel::class);
34 |
35 | $status = $kernel->handle(
36 | $input = new Symfony\Component\Console\Input\ArgvInput,
37 | new Symfony\Component\Console\Output\ConsoleOutput
38 | );
39 |
40 | /*
41 | |--------------------------------------------------------------------------
42 | | Shutdown The Application
43 | |--------------------------------------------------------------------------
44 | |
45 | | Once Artisan has finished running, we will fire off the shutdown events
46 | | so that any final work may be done by the application before we shut
47 | | down the process. This is the last thing to happen to the request.
48 | |
49 | */
50 |
51 | $kernel->terminate($input, $status);
52 |
53 | exit($status);
54 |
--------------------------------------------------------------------------------
/bootstrap/app.php:
--------------------------------------------------------------------------------
1 | singleton(
30 | Illuminate\Contracts\Http\Kernel::class,
31 | App\Http\Kernel::class
32 | );
33 |
34 | $app->singleton(
35 | Illuminate\Contracts\Console\Kernel::class,
36 | App\Console\Kernel::class
37 | );
38 |
39 | $app->singleton(
40 | Illuminate\Contracts\Debug\ExceptionHandler::class,
41 | App\Exceptions\Handler::class
42 | );
43 |
44 | /*
45 | |--------------------------------------------------------------------------
46 | | Return The Application
47 | |--------------------------------------------------------------------------
48 | |
49 | | This script returns the application instance. The instance is given to
50 | | the calling script so we can separate the building of the instances
51 | | from the actual running of the application and sending responses.
52 | |
53 | */
54 |
55 | return $app;
56 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "laravel/laravel",
3 | "description": "The Laravel Framework.",
4 | "keywords": ["framework", "laravel"],
5 | "license": "MIT",
6 | "type": "project",
7 | "require": {
8 | "php": "^7.1.3",
9 | "fideloper/proxy": "^4.0",
10 | "laravel/framework": "5.6.*",
11 | "laravel/tinker": "^1.0"
12 | },
13 | "require-dev": {
14 | "filp/whoops": "^2.0",
15 | "fzaninotto/faker": "^1.4",
16 | "mockery/mockery": "^1.0",
17 | "nunomaduro/collision": "^2.0",
18 | "phpunit/phpunit": "^7.0"
19 | },
20 | "autoload": {
21 | "classmap": [
22 | "database/seeds",
23 | "database/factories"
24 | ],
25 | "psr-4": {
26 | "App\\": "app/"
27 | }
28 | },
29 | "autoload-dev": {
30 | "psr-4": {
31 | "Tests\\": "tests/"
32 | }
33 | },
34 | "extra": {
35 | "laravel": {
36 | "dont-discover": [
37 | ]
38 | }
39 | },
40 | "scripts": {
41 | "post-root-package-install": [
42 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
43 | ],
44 | "post-create-project-cmd": [
45 | "@php artisan key:generate"
46 | ],
47 | "post-autoload-dump": [
48 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
49 | "@php artisan package:discover"
50 | ]
51 | },
52 | "config": {
53 | "preferred-install": "dist",
54 | "sort-packages": true,
55 | "optimize-autoloader": true
56 | },
57 | "minimum-stability": "dev",
58 | "prefer-stable": true
59 | }
60 |
--------------------------------------------------------------------------------
/config/broadcasting.php:
--------------------------------------------------------------------------------
1 | env('BROADCAST_DRIVER', 'null'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Broadcast Connections
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may define all of the broadcast connections that will be used
26 | | to broadcast events to other systems or over websockets. Samples of
27 | | each available type of connection are provided inside this array.
28 | |
29 | */
30 |
31 | 'connections' => [
32 |
33 | 'pusher' => [
34 | 'driver' => 'pusher',
35 | 'key' => env('PUSHER_APP_KEY'),
36 | 'secret' => env('PUSHER_APP_SECRET'),
37 | 'app_id' => env('PUSHER_APP_ID'),
38 | 'options' => [
39 | 'cluster' => env('PUSHER_APP_CLUSTER'),
40 | 'encrypted' => true,
41 | ],
42 | ],
43 |
44 | 'redis' => [
45 | 'driver' => 'redis',
46 | 'connection' => 'default',
47 | ],
48 |
49 | 'log' => [
50 | 'driver' => 'log',
51 | ],
52 |
53 | 'null' => [
54 | 'driver' => 'null',
55 | ],
56 |
57 | ],
58 |
59 | ];
60 |
--------------------------------------------------------------------------------
/config/filesystems.php:
--------------------------------------------------------------------------------
1 | env('FILESYSTEM_DRIVER', 'local'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Default Cloud Filesystem Disk
21 | |--------------------------------------------------------------------------
22 | |
23 | | Many applications store files both locally and in the cloud. For this
24 | | reason, you may specify a default "cloud" driver here. This driver
25 | | will be bound as the Cloud disk implementation in the container.
26 | |
27 | */
28 |
29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'),
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Filesystem Disks
34 | |--------------------------------------------------------------------------
35 | |
36 | | Here you may configure as many filesystem "disks" as you wish, and you
37 | | may even configure multiple disks of the same driver. Defaults have
38 | | been setup for each driver as an example of the required options.
39 | |
40 | | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace"
41 | |
42 | */
43 |
44 | 'disks' => [
45 |
46 | 'local' => [
47 | 'driver' => 'local',
48 | 'root' => storage_path('app'),
49 | ],
50 |
51 | 'public' => [
52 | 'driver' => 'local',
53 | 'root' => storage_path('app/public'),
54 | 'url' => env('APP_URL').'/storage',
55 | 'visibility' => 'public',
56 | ],
57 |
58 | 's3' => [
59 | 'driver' => 's3',
60 | 'key' => env('AWS_ACCESS_KEY_ID'),
61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'),
62 | 'region' => env('AWS_DEFAULT_REGION'),
63 | 'bucket' => env('AWS_BUCKET'),
64 | 'url' => env('AWS_URL'),
65 | ],
66 |
67 | ],
68 |
69 | ];
70 |
--------------------------------------------------------------------------------
/config/hashing.php:
--------------------------------------------------------------------------------
1 | 'bcrypt',
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Bcrypt Options
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may specify the configuration options that should be used when
26 | | passwords are hashed using the Bcrypt algorithm. This will allow you
27 | | to control the amount of time it takes to hash the given password.
28 | |
29 | */
30 |
31 | 'bcrypt' => [
32 | 'rounds' => env('BCRYPT_ROUNDS', 10),
33 | ],
34 |
35 | /*
36 | |--------------------------------------------------------------------------
37 | | Argon Options
38 | |--------------------------------------------------------------------------
39 | |
40 | | Here you may specify the configuration options that should be used when
41 | | passwords are hashed using the Argon algorithm. These will allow you
42 | | to control the amount of time it takes to hash the given password.
43 | |
44 | */
45 |
46 | 'argon' => [
47 | 'memory' => 1024,
48 | 'threads' => 2,
49 | 'time' => 2,
50 | ],
51 |
52 | ];
53 |
--------------------------------------------------------------------------------
/config/logging.php:
--------------------------------------------------------------------------------
1 | env('LOG_CHANNEL', 'stack'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Log Channels
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may configure the log channels for your application. Out of
26 | | the box, Laravel uses the Monolog PHP logging library. This gives
27 | | you a variety of powerful log handlers / formatters to utilize.
28 | |
29 | | Available Drivers: "single", "daily", "slack", "syslog",
30 | | "errorlog", "monolog",
31 | | "custom", "stack"
32 | |
33 | */
34 |
35 | 'channels' => [
36 | 'stack' => [
37 | 'driver' => 'stack',
38 | 'channels' => ['single'],
39 | ],
40 |
41 | 'single' => [
42 | 'driver' => 'single',
43 | 'path' => storage_path('logs/laravel.log'),
44 | 'level' => 'debug',
45 | ],
46 |
47 | 'daily' => [
48 | 'driver' => 'daily',
49 | 'path' => storage_path('logs/laravel.log'),
50 | 'level' => 'debug',
51 | 'days' => 7,
52 | ],
53 |
54 | 'slack' => [
55 | 'driver' => 'slack',
56 | 'url' => env('LOG_SLACK_WEBHOOK_URL'),
57 | 'username' => 'Laravel Log',
58 | 'emoji' => ':boom:',
59 | 'level' => 'critical',
60 | ],
61 |
62 | 'stderr' => [
63 | 'driver' => 'monolog',
64 | 'handler' => StreamHandler::class,
65 | 'with' => [
66 | 'stream' => 'php://stderr',
67 | ],
68 | ],
69 |
70 | 'syslog' => [
71 | 'driver' => 'syslog',
72 | 'level' => 'debug',
73 | ],
74 |
75 | 'errorlog' => [
76 | 'driver' => 'errorlog',
77 | 'level' => 'debug',
78 | ],
79 | ],
80 |
81 | ];
82 |
--------------------------------------------------------------------------------
/config/queue.php:
--------------------------------------------------------------------------------
1 | env('QUEUE_DRIVER', 'sync'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Queue Connections
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may configure the connection information for each server that
24 | | is used by your application. A default configuration has been added
25 | | for each back-end shipped with Laravel. You are free to add more.
26 | |
27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28 | |
29 | */
30 |
31 | 'connections' => [
32 |
33 | 'sync' => [
34 | 'driver' => 'sync',
35 | ],
36 |
37 | 'database' => [
38 | 'driver' => 'database',
39 | 'table' => 'jobs',
40 | 'queue' => 'default',
41 | 'retry_after' => 90,
42 | ],
43 |
44 | 'beanstalkd' => [
45 | 'driver' => 'beanstalkd',
46 | 'host' => 'localhost',
47 | 'queue' => 'default',
48 | 'retry_after' => 90,
49 | ],
50 |
51 | 'sqs' => [
52 | 'driver' => 'sqs',
53 | 'key' => env('SQS_KEY', 'your-public-key'),
54 | 'secret' => env('SQS_SECRET', 'your-secret-key'),
55 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
56 | 'queue' => env('SQS_QUEUE', 'your-queue-name'),
57 | 'region' => env('SQS_REGION', 'us-east-1'),
58 | ],
59 |
60 | 'redis' => [
61 | 'driver' => 'redis',
62 | 'connection' => 'default',
63 | 'queue' => 'default',
64 | 'retry_after' => 90,
65 | 'block_for' => null,
66 | ],
67 |
68 | ],
69 |
70 | /*
71 | |--------------------------------------------------------------------------
72 | | Failed Queue Jobs
73 | |--------------------------------------------------------------------------
74 | |
75 | | These options configure the behavior of failed queue job logging so you
76 | | can control which database and table are used to store the jobs that
77 | | have failed. You may change them to any database / table you wish.
78 | |
79 | */
80 |
81 | 'failed' => [
82 | 'database' => env('DB_CONNECTION', 'mysql'),
83 | 'table' => 'failed_jobs',
84 | ],
85 |
86 | ];
87 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => env('MAILGUN_DOMAIN'),
19 | 'secret' => env('MAILGUN_SECRET'),
20 | ],
21 |
22 | 'ses' => [
23 | 'key' => env('SES_KEY'),
24 | 'secret' => env('SES_SECRET'),
25 | 'region' => env('SES_REGION', 'us-east-1'),
26 | ],
27 |
28 | 'sparkpost' => [
29 | 'secret' => env('SPARKPOST_SECRET'),
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => App\User::class,
34 | 'key' => env('STRIPE_KEY'),
35 | 'secret' => env('STRIPE_SECRET'),
36 | ],
37 |
38 | ];
39 |
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | resource_path('views'),
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => realpath(storage_path('framework/views')),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/database/factories/UserFactory.php:
--------------------------------------------------------------------------------
1 | define(App\User::class, function (Faker $faker) {
17 | return [
18 | 'name' => $faker->name,
19 | 'email' => $faker->unique()->safeEmail,
20 | 'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
21 | 'remember_token' => str_random(10),
22 | ];
23 | });
24 |
--------------------------------------------------------------------------------
/database/migrations/2018_08_15_065055_create_menus_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('parent_id');
19 | $table->string('name');
20 | $table->string('route');
21 | $table->string('icon');
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::dropIfExists('menus');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2018_08_15_102402_create_workflows_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('flow_name')->comment('名称');
19 | $table->integer('flow_type')->nullable()->comment('类型');
20 | $table->string('flow_desc')->nullable()->comment('描述');
21 | $table->text('flow_design')->nullable()->comment('表单设计');
22 | $table->text('flow_process')->nullable()->comment('流程设计');
23 | $table->integer('flow_sort')->default(50)->comment('排序');
24 | $table->tinyinteger('flow_status')->default(2)->comment('流程状态 1为启用,2为禁用');
25 | $table->timestamps();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::dropIfExists('workflows');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/database/migrations/2018_08_20_020034_create_approvals_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('flow_id')->comment('工作流id');
19 | $table->integer('user_id')->comment('申请用户id');
20 | $table->string('title')->comment('申请标题');
21 | $table->string('desc')->nullable()->comment('申请备注');
22 | $table->text('design')->nullable()->comment('表单数据');
23 | $table->tinyInteger('status')->default(1)->comment('审批流状态,流程中1,完成2');
24 | $table->index('flow_id');
25 | $table->index('user_id');
26 | $table->timestamps();
27 | });
28 | }
29 |
30 | /**
31 | * Reverse the migrations.
32 | *
33 | * @return void
34 | */
35 | public function down()
36 | {
37 | Schema::dropIfExists('approvals');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/database/migrations/2018_08_20_090222_create_approval_details_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('flow_id')->comment('审批流id');
19 | $table->integer('process_id')->default(0)->comment('节点id');
20 | $table->integer('process_userid')->comment('审核节点用户id');
21 | $table->string('process_name')->comment('节点名');
22 | $table->string('process_user_name')->comment('审批节点用户名');
23 | $table->integer('approval_id')->comment('审批申请id');
24 | $table->string('approval_detail_comment')->nullable()->comment('审批意见');
25 | $table->tinyInteger('approval_detail_status')->default(1)->comment('当前审批状态 待处理1 驳回2 拒绝3 同意4');
26 | $table->index('flow_id');
27 | $table->index('process_id');
28 | $table->index('process_userid');
29 | $table->index('approval_id');
30 | $table->timestamps();
31 | });
32 | }
33 |
34 | /**
35 | * Reverse the migrations.
36 | *
37 | * @return void
38 | */
39 | public function down()
40 | {
41 | Schema::dropIfExists('approval_details');
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/database/seeds/ApprovalsTableSeeder.php:
--------------------------------------------------------------------------------
1 | call(MenusTableSeeder::class);
15 | $this->call(MenusTableSeeder::class);
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/database/seeds/MenusTableSeeder.php:
--------------------------------------------------------------------------------
1 | 0,
16 | 'name' => '审批流管理',
17 | 'route'=>'workflows.index',
18 | 'icon' => 'layui-icon-link',
19 | ],
20 | [
21 | 'parent_id' => 0,
22 | 'name' => '审批管理',
23 | 'route'=>'',
24 | 'icon' => 'layui-icon-app',
25 | ],
26 | [
27 | 'parent_id' => 2,
28 | 'name' => '发起审批',
29 | 'route'=>'approvals.index',
30 | 'icon' => '',
31 | ],
32 | [
33 | 'parent_id' => 2,
34 | 'name' => '我的审批',
35 | 'route'=>'approvals.lists',
36 | 'icon' => '',
37 | ],
38 | [
39 | 'parent_id' => 2,
40 | 'name' => '待我审批',
41 | 'route'=>'applys.index',
42 | 'icon' => '',
43 | ],
44 | ];
45 | foreach ($menus as $k => $v){
46 | DB::table('menus')->insert($v);
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/database/seeds/WorkflowsTableSeeder.php:
--------------------------------------------------------------------------------
1 |
2 |
一直以来,layui 秉承无偿开源的初心,虔诚致力于服务各层次前后端 Web 开发者,在商业横飞的当今时代,这一信念从未动摇。即便身单力薄,仍然重拾决心,埋头造轮,以尽可能地填补产品本身的缺口。在过去的一段的时间,我一直在寻求持久之道,已维持你眼前所见的一切。而 layuiAdmin 是我们尝试解决的手段之一。我相信真正有爱于 layui 生态的你,定然不会错过这一拥抱吧。
子曰:君子不用防,小人防不住。请务必通过官网正规渠道,获得 layuiAdmin!
—— 贤心(layui.com)
" 8 | ,"time": 1510363800000 9 | } 10 | } -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/json/message/direct.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": 60 5 | ,"data": [{ 6 | "id": 123 7 | ,"title": "贤心发来了一段私信" 8 | ,"time": 1510363800000 9 | }, { 10 | "id": 111 11 | ,"title": "贤心发来了一段私信" 12 | ,"time": 1510212370000 13 | }, { 14 | "id": 111 15 | ,"title": "贤心发来了一段私信" 16 | ,"time": 1510212370000 17 | }, { 18 | "id": 111 19 | ,"title": "贤心发来了一段私信" 20 | ,"time": 1510212370000 21 | }, { 22 | "id": 111 23 | ,"title": "贤心发来了一段私信" 24 | ,"time": 1510212370000 25 | }, { 26 | "id": 111 27 | ,"title": "贤心发来了一段私信" 28 | ,"time": 1510212370000 29 | }, { 30 | "id": 111 31 | ,"title": "贤心发来了一段私信" 32 | ,"time": 1510212370000 33 | }, { 34 | "id": 111 35 | ,"title": "贤心发来了一段私信" 36 | ,"time": 1510212370000 37 | }, { 38 | "id": 111 39 | ,"title": "贤心发来了一段私信" 40 | ,"time": 1510212370000 41 | }, { 42 | "id": 111 43 | ,"title": "贤心发来了一段私信" 44 | ,"time": 1507447570000 45 | }] 46 | } -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/json/message/notice.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": 60 5 | ,"data": [{ 6 | "id": 123 7 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 8 | ,"time": 1510363800000 9 | }, { 10 | "id": 111 11 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 12 | ,"time": 1510212370000 13 | }, { 14 | "id": 111 15 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 16 | ,"time": 1510212370000 17 | }, { 18 | "id": 111 19 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 20 | ,"time": 1510212370000 21 | }, { 22 | "id": 111 23 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 24 | ,"time": 1510212370000 25 | }, { 26 | "id": 111 27 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 28 | ,"time": 1510212370000 29 | }, { 30 | "id": 111 31 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 32 | ,"time": 1510212370000 33 | }, { 34 | "id": 111 35 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 36 | ,"time": 1510212370000 37 | }, { 38 | "id": 111 39 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 40 | ,"time": 1510212370000 41 | }, { 42 | "id": 111 43 | ,"title": "你好新朋友,感谢使用 layuiAdmin" 44 | ,"time": 1507447570000 45 | }] 46 | } -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/json/useradmin/mangadmin.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "1001" 7 | ,"loginname": "admin" 8 | ,"telphone": "11111111111" 9 | ,"email": "111@qq.com" 10 | ,"role": "超级管理员" 11 | ,"jointime": "20150217" 12 | ,"check": true 13 | },{ 14 | "id": "1002" 15 | ,"loginname": "common-1" 16 | ,"telphone": "22222222222" 17 | ,"email": "222@qq.com" 18 | ,"role": "管理员" 19 | ,"jointime": "20160217" 20 | ,"check": false 21 | },{ 22 | "id": "1003" 23 | ,"loginname": "common-2" 24 | ,"telphone": "33333333333" 25 | ,"email": "333@qq.com" 26 | ,"role": "管理员" 27 | ,"jointime": "20161012" 28 | ,"check": false 29 | },{ 30 | "id": "1004" 31 | ,"loginname": "common-3" 32 | ,"telphone": "44444444444" 33 | ,"email": "444@qq.com" 34 | ,"role": "管理员" 35 | ,"jointime": "20170518" 36 | ,"check": true 37 | },{ 38 | "id": "1005" 39 | ,"loginname": "common-4" 40 | ,"telphone": "55555555555" 41 | ,"email": "555@qq.com" 42 | ,"role": "管理员" 43 | ,"jointime": "20180101" 44 | ,"check": false 45 | },{ 46 | "id": "1006" 47 | ,"loginname": "common-5" 48 | ,"telphone": "66666666666" 49 | ,"email": "666@qq.com" 50 | ,"role": "管理员" 51 | ,"jointime": "20160217" 52 | ,"check": false 53 | },{ 54 | "id": "1007" 55 | ,"loginname": "common-6" 56 | ,"telphone": "77777777777" 57 | ,"email": "777@qq.com" 58 | ,"role": "管理员" 59 | ,"jointime": "20161012" 60 | ,"check": false 61 | },{ 62 | "id": "1008" 63 | ,"loginname": "common-7" 64 | ,"telphone": "88888888888" 65 | ,"email": "888@qq.com" 66 | ,"role": "管理员" 67 | ,"jointime": "20170518" 68 | ,"check": true 69 | },{ 70 | "id": "1009" 71 | ,"loginname": "common-8" 72 | ,"telphone": "99999999999" 73 | ,"email": "999@qq.com" 74 | ,"role": "管理员" 75 | ,"jointime": "20180101" 76 | ,"check": false 77 | }] 78 | } 79 | -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/json/useradmin/role.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "id": "1" 7 | ,"rolename": "超级管理员" 8 | ,"limits": "管理所有的管理员" 9 | ,"descr": "拥有至高无上的权利" 10 | ,"check": true 11 | },{ 12 | "id": "2" 13 | ,"rolename": "管理员" 14 | ,"limits": "所有列表的管理" 15 | ,"descr": "事情很多,权力很大" 16 | ,"check": true 17 | },{ 18 | "id": "3" 19 | ,"rolename": "文章撰写员" 20 | ,"limits": "负责文章的编写" 21 | ,"descr": "文采第一的人才集合" 22 | ,"check": false 23 | },{ 24 | "id": "4" 25 | ,"rolename": "纠错员" 26 | ,"limits": "负责文章内容的修改" 27 | ,"descr": "暂无" 28 | ,"check": false 29 | },{ 30 | "id": "5" 31 | ,"rolename": "统计人员" 32 | ,"limits": "对数据进行统计" 33 | ,"descr": "暂无" 34 | ,"check": false 35 | },{ 36 | "id": "6" 37 | ,"rolename": "评估员" 38 | ,"limits": "对统计数据进行评估" 39 | ,"descr": "及时捕捉市场发展动态" 40 | ,"check": false 41 | },{ 42 | "id": "7" 43 | ,"rolename": "采购员" 44 | ,"limits": "负责员工的伙食" 45 | ,"descr": "暂无" 46 | ,"check": false 47 | },{ 48 | "id": "8" 49 | ,"rolename": "推销员" 50 | ,"limits": "介绍销售公司产品" 51 | ,"descr": "暂无" 52 | ,"check": false 53 | }] 54 | } -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/json/workorder/demo.js: -------------------------------------------------------------------------------- 1 | { 2 | "code": 0 3 | ,"msg": "" 4 | ,"count": "100" 5 | ,"data": [{ 6 | "orderid": 111 7 | ,"title": "移动支付踏入马来西亚,聚合支付紧随其后" 8 | ,"attr": "公告" 9 | ,"progress": "25%" 10 | ,"submit": "贤心" 11 | ,"accept": "员工-1" 12 | ,"state": "处理中" 13 | },{ 14 | "orderid": 222 15 | ,"title": "凡科拖拽式免费建站神器,享双重优惠!" 16 | ,"attr": "讨论" 17 | ,"progress": "100%" 18 | ,"submit": "猫吃" 19 | ,"accept": "员工-1" 20 | ,"state": "已处理" 21 | },{ 22 | "orderid": 333 23 | ,"title": "看着别人的老板给员工送汽车有感" 24 | ,"attr": "分享" 25 | ,"progress": "0%" 26 | ,"submit": "纸飞机" 27 | ,"accept": "" 28 | ,"state": "未分配" 29 | },{ 30 | "orderid": 444 31 | ,"title": "DISCUZ的云平台应该彻底完了" 32 | ,"attr": "提问" 33 | ,"progress": "0%" 34 | ,"submit": "纸飞机" 35 | ,"accept": "" 36 | ,"state": "未分配" 37 | },{ 38 | "orderid": 555 39 | ,"title": "现在个人网站还有必要长期坚持下去吗?" 40 | ,"attr": "提问" 41 | ,"progress": "50%" 42 | ,"submit": "纸飞机" 43 | ,"accept": "员工-2" 44 | ,"state": "处理中" 45 | },{ 46 | "orderid": 666 47 | ,"title": "向北京公安局投诉了京东商城" 48 | ,"attr": "公告" 49 | ,"progress": "25%" 50 | ,"submit": "纸飞机" 51 | ,"accept": "员工-3" 52 | ,"state": "处理中" 53 | },{ 54 | "orderid": 777 55 | ,"title": "游戏 网页美工,一个月多少工资才正常?" 56 | ,"attr": "提问" 57 | ,"progress": "100%" 58 | ,"submit": "纸飞机" 59 | ,"accept": "员工-1" 60 | ,"state": "已处理" 61 | },{ 62 | "orderid": 888 63 | ,"title": "几年没来了,蓝色理想帖子这么少了啊" 64 | ,"attr": "提问" 65 | ,"progress": "0%" 66 | ,"submit": "纸飞机" 67 | ,"accept": "" 68 | ,"state": "未分配" 69 | },{ 70 | "orderid": 999 71 | ,"title": "我的天,求推荐靠谱的学习网站" 72 | ,"attr": "提问" 73 | ,"progress": "50%" 74 | ,"submit": "纸飞机" 75 | ,"accept": "员工-2" 76 | ,"state": "处理中" 77 | }] 78 | } -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.3.0 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/font/iconfont.eot -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/font/iconfont.woff -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/0.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/1.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/10.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/11.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/12.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/13.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/14.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/15.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/16.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/17.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/18.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/19.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/2.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/20.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/21.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/22.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/23.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/24.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/25.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/26.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/27.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/28.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/29.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/3.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/30.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/31.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/32.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/33.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/34.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/35.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/36.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/37.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/38.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/39.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/4.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/40.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/41.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/42.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/43.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/44.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/45.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/46.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/47.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/48.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/49.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/5.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/50.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/51.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/52.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/53.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/54.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/55.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/56.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/57.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/58.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/59.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/6.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/60.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/61.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/62.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/63.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/64.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/65.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/66.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/67.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/68.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/69.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/7.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/70.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/71.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/8.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArrowJustDoIt/laravel-workflow/ac0b0eb6369bba36730921b622d44fe522a78bf7/public/static/admin/layuiadmin/layui/images/face/9.gif -------------------------------------------------------------------------------- /public/static/admin/layuiadmin/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.3.0 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('19 | layuiAdmin 受国家计算机软件著作权保护(登记号:2018SR410669),未经官网正规渠道授权擅自公开产品源文件、以及直接对产品二次出售的,我们将保留追究法律责任的权利。 20 |21 |
© 2018 layui.com 版权所有
22 |id | 24 |名称 | 25 | 26 |描述 | 27 |操作 | 28 |
---|---|---|---|
{{$vo['id']}} | 34 |{{$vo['flow_name']}} | 35 |{{$vo['flow_desc']}} | 36 |37 | 发起审批 38 | | 39 |