|
|
|
<view class="module">
|
|
|
|
<view class="info-display" wx:if="{{course_identity<5}}">
|
|
|
|
<view class="info nomal">
|
|
|
|
<text class="key">平均到课率</text>
|
|
|
|
<text class="value">{{avg_normal_percent}}%</text>
|
|
|
|
</view>
|
|
|
|
<view class="info leave">
|
|
|
|
<text class="key">平均请假率</text>
|
|
|
|
<text class="value">{{avg_leave_percent}}%</text>
|
|
|
|
</view>
|
|
|
|
<view class="info absence">
|
|
|
|
<text class="key">平均旷课率</text>
|
|
|
|
<text class="value">{{avg_absence_percent}}%</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="info-display" wx:else>
|
|
|
|
<view class="info nomal">
|
|
|
|
<text class="key">正常签到</text>
|
|
|
|
<text class="value">{{normal_count}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="info leave">
|
|
|
|
<text class="key">请假</text>
|
|
|
|
<text class="value">{{leave_count}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="info absence">
|
|
|
|
<text class="key">旷课</text>
|
|
|
|
<text class="value">{{absence_count}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="cate-header">
|
|
|
|
<text>正在签到:</text>
|
|
|
|
</view>
|
|
|
|
<scroll-view class="scroll-body" scroll-y="1" bindrefresh="refresh">
|
|
|
|
<view class="attendance-wrap" wx:for="{{current_attendance}}">
|
|
|
|
<attendance-item data="{{item}}" course_identity="{{course_identity}}" course_id="{{course_id}}"/>
|
|
|
|
</view>
|
|
|
|
<view class="empty" wx:if="{{current_attendance.length==0}}">
|
|
|
|
暂无签到
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
<navigator url="/course/pages/">
|
|
|
|
|
|
|
|
</navigator>
|
|
|
|
</view>
|