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.

64 lines
1.5 KiB

7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title=""></topNavbar>
  4. <view class="pad">
  5. <view class="card">
  6. <appointItem-operate :item="info"/>
  7. <view class="border_bottom">
  8. <view class="date">提交预约时间{{$u.timeFormat(info.createTime, 'yyyy/mm/dd MM:ss')}}</view>
  9. <!-- <view class="date" v-if="info.loginStatus==9">取消预约时间{{$u.timeFormat(info.updateTime, 'yyyy/mm/dd MM:ss')}}</view>
  10. <view class="date" v-if="info.loginStatus==1||loginStatus==2">学员签到时间{{$u.timeFormat(info.loginTime, 'yyyy/mm/dd MM:ss')}}</view>
  11. <view class="date" v-if="info.loginStatus==2">学员签退时间{{$u.timeFormat(info.signOutTime, 'yyyy/mm/dd MM:ss')}}</view> -->
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. import { bookingMasterDetail } from '@/config/api.js'
  19. export default {
  20. data() {
  21. return {
  22. info: {},
  23. id: ''
  24. }
  25. },
  26. onLoad(options) {
  27. this.id = options.id
  28. this.bookingMasterDetailFn()
  29. },
  30. methods: {
  31. async bookingMasterDetailFn() {
  32. const {data: res} = await bookingMasterDetail({id: this.id})
  33. this.info = res
  34. console.log(this.info.loginStatus)
  35. }
  36. }
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. .card {
  41. padding: 0 28rpx;
  42. }
  43. .date {
  44. font-size: 28rpx;
  45. color: #ADADAD;
  46. margin-bottom: 16rpx;
  47. }
  48. .border_bottom {
  49. border-top: 2rpx dashed #E8E9EC;
  50. padding: 24rpx 10rpx 10rpx 0;
  51. .date {
  52. font-size: 28rpx;
  53. color: #ADADAD;
  54. margin-bottom: 16rpx;
  55. }
  56. .btnBg {
  57. width: 212rpx;
  58. margin: 30rpx auto;
  59. }
  60. }
  61. </style>