|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<table class="table table-hover daily-school-statistic-list-table">
|
|
|
|
|
<thead class="thead-light">
|
|
|
|
|
<tr>
|
|
|
|
|
<th width="4%">序号</th>
|
|
|
|
|
<th width="12%" class="text-left">单位名称</th>
|
|
|
|
|
|
|
|
|
|
<th width="10%"><%= sort_tag('教师总数', name: 'teacher_count', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
<th width="10%"><%= sort_tag('学生总数', name: 'student_count', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
<th width="10%"><%= sort_tag('课堂总数', name: 'course_count', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
@ -16,13 +16,14 @@
|
|
|
|
|
</th>
|
|
|
|
|
<th width="11%"><%= sort_tag('实训作业总数', name: 'homework_count', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
<th width="11%"><%= sort_tag('其它作业总数', name: 'other_homework_count', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
<th width="13%"><%= sort_tag('动态时间', name: 'nearly_course_time', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
<th width="9%"><%= sort_tag('动态时间', name: 'nearly_course_time', path: admins_daily_school_statistics_path) %></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<% if statistics.present? %>
|
|
|
|
|
<% statistics.each do |statistic| %>
|
|
|
|
|
<% statistics.each_with_index do |statistic, index| %>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%= list_index_no(@params_page.to_i, index) %></td>
|
|
|
|
|
<td class="text-left">
|
|
|
|
|
<%= link_to statistic[:name], "/colleges/#{statistic[:id]}/statistics",
|
|
|
|
|
target: '_blank', data: { toggle: 'tooltip', title: '点击查看学校统计概况' } %>
|
|
|
|
|