modify management school statistic list

dev_bj
p31729568 5 years ago
parent eaa56819b4
commit 23e2c3669b

@ -2,8 +2,7 @@
<thead> <thead>
<tr> <tr>
<th width="6%">序号</th> <th width="6%">序号</th>
<th width="6%">ID</th> <th width="18%" class="edu-txt-left">单位名称</th>
<th width="12%" class="edu-txt-left">单位名称</th>
<th width="10%"><%= sort_tag('教师总人数', name: 'teacher_count', path: school_report_managements_path) %></th> <th width="10%"><%= sort_tag('教师总人数', name: 'teacher_count', path: school_report_managements_path) %></th>
<th width="10%"><%= sort_tag('学生总人数', name: 'student_count', path: school_report_managements_path) %></th> <th width="10%"><%= sort_tag('学生总人数', name: 'student_count', path: school_report_managements_path) %></th>
@ -23,8 +22,7 @@
<% @schools.each_with_index do |school, index| %> <% @schools.each_with_index do |school, index| %>
<tr> <tr>
<td><%= (@obj_pages.page - 1) * @obj_pages.per_page + index + 1 %></td> <td><%= (@obj_pages.page - 1) * @obj_pages.per_page + index + 1 %></td>
<td><%= school[:id] %></td> <td class="edu-txt-left"><%= link_to school[:name], statistics_college_path(id: school[:id]), target: '_blank', data: { tip_down: '点击查看学校统计概况'} %></td>
<td class="edu-txt-left"><%= school[:name] %></td>
<td><%= school[:teacher_count].to_i %></td> <td><%= school[:teacher_count].to_i %></td>
<td><%= school[:student_count].to_i %></td> <td><%= school[:student_count].to_i %></td>
<td><%= school[:course_count].to_i %></td> <td><%= school[:course_count].to_i %></td>

Loading…
Cancel
Save