洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB

10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <!-- 模拟器 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="tag" :class="{tag2: item.subject==2, tag3: item.subject==3}">{{item.subject==2?'科目二实操':item.subject==3?'科目三实操':'不限科目'}}</view>
  7. <view class="schoolName oneRowText">{{item.siteName}}</view>
  8. </view>
  9. <view class="status">
  10. <!-- <view class="text" v-if="item.loginStatus==9">已取消</view>
  11. <view class="text" v-else>{{statusTxt[item.loginStatus]}}</view> -->
  12. <view class="icon">
  13. <u-icon name="arrow-right" size="14" color="#686B73" style="margin-left: 12rpx;" ></u-icon>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="target">
  18. <view class="row">
  19. <view class="leftLab">
  20. <view class="lab">预约教练</view>
  21. </view>
  22. <view class="name">{{item.coachName}}</view>
  23. </view>
  24. <view class="row">
  25. <view class="leftLab">
  26. <view class="lab">预约车辆</view>
  27. </view>
  28. <view class="name">{{item.carNumber}}</view>
  29. </view>
  30. <view class="row">
  31. <view class="leftLab">
  32. <view class="lab">预约日期</view>
  33. </view>
  34. <view class="name">{{item.classDate}}</view>
  35. </view>
  36. </view>
  37. <view class="border_bottom" v-if="item.status==2">
  38. <view class="dateBox" v-if="item.signOutTime">
  39. <view class="date">完成时间{{$u.timeFormat(item.signOutTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  40. </view>
  41. <view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. props: ['item'],
  48. data() {
  49. return {
  50. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  51. }
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. @import './comp.scss';
  57. </style>