学生管理系统

{{ name }} 退出登录

{{ selected_grade }}{{ selected_exam }}成绩

{{ scores|length }}
参考人数
{{ avg_data['总分'] }}
总分平均分
{% for col in columns %} {% set is_basic = col in ['自定义考号', '考号', '姓名', '班级', '总分', '总分校次', '总分班次'] or '校次' in col or '班次' in col %} {% if not is_basic and col in avg_data %}
{{ avg_data[col] }}
{{ col }}平均分
{% endif %} {% endfor %}
{% for col in columns %} {% set is_rank = '校次' in col or '班次' in col %} {% set is_total_rank = is_rank and '总分' in col %} {% set is_basic_col = col in ['班级', '考号', '自定义考号', '姓名', '总分'] or col.startswith('总分') %} {% set is_main_subj = not is_rank and not is_basic_col %} {% set col_class = '' %} {% if col == '班级' %}{% set col_class = 'col-class' %} {% elif col == '考号' or col == '自定义考号' %}{% set col_class = 'col-exam-id' %} {% elif col == '姓名' %}{% set col_class = 'col-name' %} {% endif %} {% set hide_rank = is_rank and not is_total_rank %} {% endfor %} {% for score in scores %} {% for col in columns %} {% set is_rank = '校次' in col or '班次' in col %} {% set is_total_rank = is_rank and '总分' in col %} {% set hide_rank = is_rank and not is_total_rank %} {% set col_class = '' %} {% if col == '班级' %}{% set col_class = 'col-class' %} {% elif col == '考号' or col == '自定义考号' %}{% set col_class = 'col-exam-id' %} {% elif col == '姓名' %}{% set col_class = 'col-name' %} {% endif %} {% endfor %} {% endfor %}
{{ col }} {% if col not in ['班级', '考号', '自定义考号', '姓名', '总分', '总分校次', '总分班次'] and '校次' not in col and '班次' not in col %} » {% endif %}
{{ score[col] }}