You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.2 KiB
25 lines
1.2 KiB
<div class="container mt-3 px-0">
|
|
<div class="custom-nav bg-white">
|
|
<div class="custom-nav-item">
|
|
<%= link_to '客户列表', customers_partner_path(current_partner), class: 'custom-nav-link' %>
|
|
</div>
|
|
<div class="custom-nav-item">
|
|
<%= link_to '权限管理', partner_manager_groups_partner_path(current_partner), class: 'custom-nav-link active' %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="manager-group-list-container">
|
|
<div class="box search-form-container customer-list-form bg-white">
|
|
<div class="flex-1">共<span class="text-danger px-1"><%= @manager_groups.size %></span>个权限组</div>
|
|
<%= javascript_void_link('新增权限组', class: 'btn btn-primary btn-sm add-manager-group-btn',
|
|
data: { toggle: 'modal', target: '.partner-save-manager-group-modal' }) %>
|
|
</div>
|
|
|
|
<div class="manager-group-list-body" data-id="<%= current_partner.id %>">
|
|
<%= render partial: 'partners/shared/manager_group_item', collection: @manager_groups, as: :manager_group %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render partial: 'partners/shared/save_manager_group_modal' %>
|
|
<%= render partial: 'partners/shared/add_partner_manager_modal' %> |