|
|
@ -7,7 +7,7 @@ |
|
|
|
<view class="card mt20" v-if="vuex_userInfo.trainProcess"> |
|
|
|
<view class="flex-b" > |
|
|
|
<view class="lab">实操预约</view> |
|
|
|
<view class="link-arrow" @click="$goPage('/pages/carEntry/operaAppointment/operaAppointment?subject=3')"> |
|
|
|
<view class="link-arrow" @click="$u.debounce(goAppointment, 800)"> |
|
|
|
<view class="txt">去预约</view> |
|
|
|
<u-icon name="arrow-right" color="#3776FF" :size="16"></u-icon> |
|
|
|
</view> |
|
|
@ -131,6 +131,14 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 跳转到去预约 |
|
|
|
async goAppointment() { |
|
|
|
if(!this.vuex_userInfo.coachId) { |
|
|
|
await this.$store.dispatch('getUserInfo') |
|
|
|
if(!this.vuex_userInfo.coachId) return this.$u.toast('你还没有绑定教练,请联系驾校处理') |
|
|
|
} |
|
|
|
this.$goPage('/pages/carEntry/operaAppointment/operaAppointment?subject=3') |
|
|
|
}, |
|
|
|
changeStep(type) { |
|
|
|
this.showAppointment = false,//预约状态 |
|
|
|
this.showAppointmentExam = false,//预约考试 |
|
|
@ -174,4 +182,5 @@ |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
@import './comp.scss'; |
|
|
|
|
|
|
|
</style> |