@if($header['right_buttons'])
            @foreach($header['right_buttons'] as $button)
                @if($button['display'])
                
 {{$button['name']}} 
                @endif
            @endforeach
        @endif
        
        @if($header['trash_btn'])
            
            
        @endif
        
    
    @if(isset($access['create']) && $header['create_btn'])
        
 新建
    @endif
    @yield('left_buttons')
    {{:$button_count = 0}}
    @foreach($header['buttons'] as $button)
    @if($button['display'])
        {{:$button_count++}}
    @endif
    @endforeach
    @if($button_count)
    
    
 
    @endif
    
         搜索
    
    
    @if($header['simple_search_form'] == 1)
    
    @else
        
 筛选
    @endif
    
    @if($header['bys'])
    
    @foreach($header['bys']['items'] as $item)
        @if($header['search_form']['query'][$header['bys']['name']] == $item['value'])
        
        @endif
    @endforeach
    
        
        
    
    @endif
    @if($header['left_buttons'])
        @foreach($header['left_buttons'] as $button)
            @if($button['display'])
            
 {{$button['name']}} 
            @endif
        @endforeach
    @endif