洛阳学员端
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.

60 lines
2.0 KiB

10 months ago
  1. <template>
  2. <!-- 模拟器 -->
  3. <view class="consultItem">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="tag">模拟器</view>
  7. <view class="schoolName">{{info.name}}</view>
  8. </view>
  9. <view class="status">
  10. <view class="text" v-if="info.recordStatus==9">已取消</view>
  11. <view class="text" v-else>{{statusTxt[info.recordStatus]}}</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="icon">
  21. <image src="@/static/images/car/ic_banxing.png" mode=""></image>
  22. </view>
  23. <view class="lab">模拟器编号</view>
  24. </view>
  25. <view class="name">{{info.deviceNum}}</view>
  26. </view>
  27. <view class="row">
  28. <view class="leftLab">
  29. <view class="icon">
  30. <image src="@/static/images/car/ic_shijian.png" mode=""></image>
  31. </view>
  32. <view class="lab">预约时间</view>
  33. </view>
  34. <view class="name">{{info.classTime}}</view>
  35. </view>
  36. </view>
  37. <view class="border_bottom">
  38. <view class="dateBox">
  39. <view class="date">提交预约时间{{$u.timeFormat(info.createTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  40. <view class="date" v-if="info.cancelTime&&info.recordStatus==9">取消时间{{ $u.timeFormat(info.cancelTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  41. <view class="date" v-if="info.recordStatus==2">完成时间{{$u.timeFormat(info.signOutTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  42. <view class="date" v-if="info.recordStatus==2">核销人员目前没有字段</view>
  43. </view>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. export default {
  49. props: ['info'],
  50. data() {
  51. return {
  52. statusTxt: ['未签到','已签到','已签退','旷课','已取消',''],//0:未签到,1:已签到,2:已签退,3:旷课,9:已取消
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. @import '../comp/comp.scss';
  59. </style>