|
|
@ -4,7 +4,7 @@ |
|
|
|
<!-- 学习状态 --> |
|
|
|
<view class="learnStatus"> |
|
|
|
<!-- v-if="vuex_userInfo.trainProcess" --> |
|
|
|
<view class="card mt20" > |
|
|
|
<view class="card mt20" v-if="vuex_userInfo.trainProcess"> |
|
|
|
<view class="flex-b"> |
|
|
|
<view class="lab">实操预约</view> |
|
|
|
<view class="link-arrow" |
|
|
@ -16,6 +16,19 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="h1"><text class="active">学习状态</text></view> |
|
|
|
<!-- 评价 --> |
|
|
|
<view class="card mb20" v-if="info.studentExamVO&&info.studentExamVO.canComment" style="margin: 20rpx 0;"> |
|
|
|
<view class="flex-b"> |
|
|
|
<view class="lab">学员评价</view> |
|
|
|
<view class="link-arrow" |
|
|
|
@click.stop="$goPage('/pages/carEntry/evaluate/evaluate?subject=2&coachType=1')"> |
|
|
|
<view class="txt">去评价</view> |
|
|
|
<u-icon name="arrow-right" color="#3776FF" :size="16"></u-icon> |
|
|
|
</view> |
|
|
|
<!-- <view class="btn" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate?subject=2&coachType=1')">去学习</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 考试结果 --> |
|
|
|
<view class="exam" v-if="showExam"> |
|
|
|
<view class="card" v-if="info.studentExamVO.pass"> |
|
|
@ -25,12 +38,12 @@ |
|
|
|
{{ $u.timeFormat(info.studentExamVO.examTime, 'yyyy-mm-dd hh:MM:ss') }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="flex-b bg"> |
|
|
|
<!-- <view class="flex-b bg"> |
|
|
|
<view class="row"> |
|
|
|
<view class="text">考试成绩:{{ info.studentExamVO.examResult }}分</view> |
|
|
|
<view class="btn" @click="$goPage('/pages/carEntry/evaluate/evaluate?subject=2&coachType=1')" v-if="!info.studentExamVO.canComment">去评价</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="card" v-else> |
|
|
@ -163,9 +176,11 @@ |
|
|
|
if (studentExamVO.pass) { |
|
|
|
// 如果通过了考试 |
|
|
|
this.changeStep('showExam') |
|
|
|
// 学时达标 |
|
|
|
} else if (res.studentClassHourVO.classHourReachStatus) { |
|
|
|
// 如果学时达标, |
|
|
|
let ExamVOTime = studentExamVO.examTime |
|
|
|
// 预约考试时间 |
|
|
|
let ExamReservationVOTime = examReservationVO.examTime |
|
|
|
// 如果没有预约考试时间也没有考试时间 去预约考试 |
|
|
|
if (!ExamVOTime && !ExamReservationVOTime) this.changeStep('showAppointmentExam') |
|
|
|