{% extends 'layout/base.html' %} {% block title %}统计报表 - CHM考勤管理系统{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

统计报表

导出数据

{{ overall_stats.total_students }}

总学生数

{{ "%.1f"|format(overall_stats.total_work_hours) }}

总出勤时长(小时)

{{ overall_stats.total_absent_days }}

总缺勤天数

{{ overall_stats.total_late_count }}

总迟到次数

重置
{% for grade_label, students in grade_groups.items() %}

{{ grade_label }} ({{ students|length }}人)

{% for student in students %}
{{ student.name }}
{{ student.student_number }}
{% if student.total_work_hours >= 200 %} 优秀 {% elif student.total_work_hours >= 100 %} 良好 {% elif student.total_work_hours >= 50 %} 一般 {% else %} 待改进 {% endif %}
{{ "%.1f"|format(student.total_work_hours) }}
总工时
{{ student.total_absent_days }}
缺勤天数
{{ student.total_late_count }}
迟到次数
{{ student.avg_weekly_hours }}
周均工时
{{ student.college or '未设置' }} | {{ student.supervisor or '未设置' }}
{% endfor %}
{% endfor %} {% if not grade_groups %}
没有找到符合条件的学生
{% endif %}
月度考勤趋势
学院分布
{% endblock %} {% block extra_js %} {% endblock %}