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.

119 lines
3.1 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="info">
  3. <view class="card">
  4. <view class="li">
  5. <view class="val">真实姓名</view>
  6. <view class="lab">{{info.name}}</view>
  7. </view>
  8. <view class="li">
  9. <view class="val">性别</view>
  10. <view class="lab">{{info.sex==1?'男':'女'}}</view>
  11. </view>
  12. <view class="li">
  13. <view class="val">驾名名称</view>
  14. <view class="lab">{{info.schoolName}}</view>
  15. </view>
  16. <view class="li">
  17. <view class="val">学车类型</view>
  18. <view class="lab">{{info.trainType}}</view>
  19. </view>
  20. <view class="li">
  21. <view class="val">学车班型</view>
  22. <view class="lab">{{info.className}}</view>
  23. </view>
  24. <view class="li">
  25. <view class="val">学车教练</view>
  26. <view class="lab">{{info.coachName}}</view>
  27. </view>
  28. <view class="li">
  29. <view class="val">业务类型</view>
  30. <view class="lab">{{info.businessType==0?'初领':info.businessType==1?'增加':'其它'}}</view>
  31. </view>
  32. <view class="li">
  33. <view class="val">是否异地转入</view>
  34. <view class="lab">{{ info.transfer==1?'是': '否'}}</view>
  35. </view>
  36. </view>
  37. <view class="h1">报名支付</view>
  38. <view class="card">
  39. <!-- <view class="li">
  40. <view class="val">班型</view>
  41. <view class="lab">xxx</view>
  42. </view> -->
  43. <!-- <view class="li">
  44. <view class="val">报名渠道</view>
  45. <view class="lab">xxx</view>
  46. </view> -->
  47. <view class="li">
  48. <view class="val">费用总计</view>
  49. <view class="lab">{{$u.utils.priceTo(info.totalAmount)}}</view>
  50. </view>
  51. <view class="li">
  52. <view class="val">创建时间</view>
  53. <view class="lab">{{ $u.timeFormat(info.createTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
  54. </view>
  55. <view class="li">
  56. <view class="val">支付时间</view>
  57. <view class="lab">{{info.payTime}}</view>
  58. </view>
  59. <view class="li">
  60. <view class="val">支付方式</view>
  61. <view class="lab">{{ payTypeTxt[info.payType]}}</view>
  62. </view>
  63. <view class="li">
  64. <view class="val">支付订单号</view>
  65. <view class="lab">{{info.orderNo}}</view>
  66. </view>
  67. <view class="li">
  68. <view class="val">报名流水号</view>
  69. <view class="lab">{{info.tradeNo}}</view>
  70. </view>
  71. <!-- <view class="li">
  72. <view class="val">学员统一编号</view>
  73. <view class="lab">{{info.stunum}}</view>
  74. </view> -->
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. import { studentDetail } from '@/config/api.js'
  80. export default {
  81. props: ['id'],
  82. data() {
  83. return {
  84. info: {},
  85. payTypeTxt: ['', '支付宝', '微信', '银联', 'applypay'],//1:支付宝,2:微信,3:银联,4:applypay,5:数字人民币
  86. }
  87. },
  88. mounted() {
  89. this.studentDetailFn()
  90. },
  91. methods: {
  92. async studentDetailFn() {
  93. const {data: res} = await studentDetail({studentId: this.id, })
  94. this.info = res
  95. }
  96. }
  97. }
  98. </script>
  99. <style lang="scss" scoped>
  100. .info {
  101. padding: 20rpx 0;
  102. }
  103. .li {
  104. display: flex;
  105. border-bottom: 2rpx solid #F8F8F8;
  106. // line-height: 96rpx;
  107. font-size: 30rpx;
  108. padding: 28rpx;
  109. .val {
  110. color: #999;
  111. width: 220rpx;
  112. }
  113. }
  114. .h1 {
  115. line-height: 88rpx;
  116. }
  117. </style>