@extends('layouts.app')
@section('title')相关设置@endsection

@section('content')
    <div id="nav2">
        @component('personnel.menu')
        @endcomponent
            <div class="container-fluid nav3">
                <div class="card menu-third" >
                    <ul class="nav nav-pills">
                    @can('工作组')
                        <li class="nav-item">
                            <a class="nav-link text-dark" href="{{url('maintenance/userWorkgroup')}}" :class="{active:isActive('userWorkgroup',2)}">工作组</a>
                        </li> @endcan
                    @can('临时工')
                        <li class="nav-item">
                            <a class="nav-link text-dark" href="{{url('maintenance/userLabor')}}" :class="{active:isActive('userWorkgroup',2)}">临时工</a>
                        </li> @endcan
                    @can('劳务所')
                        <li class="nav-item">
                            <a class="nav-link text-dark" href="{{url('maintenance/laborCompany')}}" :class="{active:isActive('userWorkgroup',2)}">劳务所</a>
                        </li> @endcan
                </ul>
            </div>
        </div>
    </div>
@endsection
