<% if departments.present? %> <% departments.each do |department| %> <%= render 'admins/departments/shared/department_item', department: department %> <% end %> <% else %> <%= render 'admins/shared/no_data_for_table' %> <% end %>
部门名称 单位名称 用户数 已职业认证 部门管理员 统计链接 云主机数 <%= sort_tag('创建时间', name: 'created_at', path: admins_departments_path) %> 操作
<%= render partial: 'admins/shared/paginate', locals: { objects: departments } %>