109 lines
5.0 KiB
Plaintext
109 lines
5.0 KiB
Plaintext
<!--pages/students-grade-analyse/students-grade-analyse.wxml-->
|
|
<view class="page" data-weui-theme="{{theme}}">
|
|
<view class="page__hd" wx:if="{{!showSemester}}">
|
|
<view class="page__title">学生成绩分析</view>
|
|
<view class="page__desc">我管理的学生的学业成绩情况</view>
|
|
</view>
|
|
<view class="page__hd" wx:else>
|
|
<view class="page__title">{{studentsGradeSemesterInfo.semester}}</view>
|
|
<view class="page__desc">学生在这个学期的学业成绩情况</view>
|
|
</view>
|
|
<view wx:if="{{!showSemester}}">
|
|
<view class="page__bd">
|
|
<view class="weui-form-preview">
|
|
<view class="weui-form-preview__hd">
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">学生总人数</label>
|
|
<em class="weui-form-preview__value">{{studentsGradeInfo.studentsNumber}}</em>
|
|
</view>
|
|
</view>
|
|
<view class="weui-form-preview__bd">
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">平均学分积</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeInfo.weightedAverage}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">平均绩点</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeInfo.gpa}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">挂科记录数</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeInfo.failedRecord}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">学期数</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeInfo.semesterListSize}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="weui-form-preview__ft">
|
|
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="page__bd">
|
|
<view class="weui-cells__title">功能</view>
|
|
<view class="weui-cells demo_badge_cells">
|
|
<view class="weui-cell weui-cell_active weui-cell_access" bindtap="onClickStudentConerning">
|
|
<view class="weui-cell__bd">
|
|
<text class="demo_badge_title">需要关注的学生</text>
|
|
</view>
|
|
<view class="weui-cell__ft"></view>
|
|
</view>
|
|
<view class="weui-cell weui-cell_active weui-cell_access">
|
|
<view class="weui-cell__bd" bindtap="onClickGradeTrend">
|
|
<text class="demo_badge_title">学生成绩波动趋势</text>
|
|
</view>
|
|
<view class="weui-cell__ft"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="page__bd">
|
|
<view class="weui-cells__title">学期概况</view>
|
|
<view class="weui-cells demo_badge_cells">
|
|
<view class="weui-cell weui-cell_active weui-cell_access" wx:for="{{studentsGradeInfo.semesterList}}" wx:key="index" bindtap="onClickShowSemester" data-index="{{index}}">
|
|
<view class="weui-cell__bd">
|
|
<text class="demo_badge_title">{{item}}</text>
|
|
</view>
|
|
<view class="weui-cell__ft"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:else>
|
|
<view class="page__bd">
|
|
<view class="weui-form-preview">
|
|
<view class="weui-form-preview__hd">
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">学生总人数</label>
|
|
<em class="weui-form-preview__value">{{studentsGradeSemesterInfo.studentsNumber}}</em>
|
|
</view>
|
|
</view>
|
|
<view class="weui-form-preview__bd">
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">平均学分积</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeSemesterInfo.weightedAverage}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">平均绩点</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeSemesterInfo.gpa}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">挂科记录数</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeSemesterInfo.failedRecord}}</text>
|
|
</view>
|
|
<view class="weui-form-preview__item">
|
|
<label class="weui-form-preview__label">学期数</label>
|
|
<text class="weui-form-preview__value">{{studentsGradeSemesterInfo.semesterListSize}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="weui-form-preview__ft">
|
|
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<a class="weui-btn weui-btn_primary" bindtap="onClickBack">返回</a>
|
|
</view>
|
|
<i-spin size="large" fix wx:if="{{ loading }}"></i-spin>
|
|
</view>
|
|
|