|
|
|
@ -20,9 +20,7 @@
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th width="6%">序号</th>
|
|
|
|
|
<th width="10%">ID</th>
|
|
|
|
|
<th width="24%" class="edu-txt-left">单位名称</th>
|
|
|
|
|
|
|
|
|
|
<th width="12%"><%= sort_tag('新增教师', name: 'teacher_increase_count', path: school_data_grow_managements_path) %></th>
|
|
|
|
|
<th width="12%"><%= sort_tag('新增学生', name: 'student_increase_count', path: school_data_grow_managements_path) %></th>
|
|
|
|
|
<th width="12%"><%= sort_tag('新增课堂', name: 'course_increase_count', path: school_data_grow_managements_path) %></th>
|
|
|
|
@ -36,8 +34,10 @@
|
|
|
|
|
<% @reports.each_with_index do |report, index| %>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%= (@obj_pages.page - 1) * @obj_pages.per_page + index + 1 %></td>
|
|
|
|
|
<td><%= report.school_id %></td>
|
|
|
|
|
<td class="edu-txt-left"><%= report.school_name %></td>
|
|
|
|
|
<td class="edu-txt-left">
|
|
|
|
|
<%= link_to report.school_name, statistics_college_path(id: report.school_id),
|
|
|
|
|
target: '_blank', data: { tip_down: '点击查看学校统计概况'} %>
|
|
|
|
|
</td>
|
|
|
|
|
<td><%= report.teacher_increase_count.to_i %></td>
|
|
|
|
|
<td><%= report.student_increase_count.to_i %></td>
|
|
|
|
|
<td><%= report.course_increase_count.to_i %></td>
|
|
|
|
|