ticketDetail.wxml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <wxs src="../../../utils/formatFuc.wxs" module="format" />
  2. <view class="whole-page">
  3. <view class="ticket-item" >
  4. <view class="ticket-top">
  5. <image src="https://mall.zhaijieshi.cc/file/wx-jms/icon-ticket.png" mode="aspectFit" ></image>
  6. <view>{{ticket.ticketTitle}}</view>
  7. </view>
  8. <view class="ticket-line">
  9. 工单编号:{{ticket.ticketSn}}
  10. </view>
  11. <view class="ticket-line">
  12. 工单类型:{{ticket.ticketType == 0 ? '咨询' : '投诉'}}
  13. </view>
  14. <view class="ticket-line">
  15. 工单状态:
  16. <van-tag type="{{typeTag[ticket.status]}}">{{ statusDesc[ticket.status] }}->{{substatusDesc[ticket.substatus] }}</van-tag>
  17. </view>
  18. <view class="ticket-line">
  19. 产生时间:{{ticket.createTime}}
  20. </view>
  21. <view class="ticket-line">
  22. 工单等级:{{levelMap[ticket.ticketLevel]}}
  23. </view>
  24. </view>
  25. <view class="common-info">
  26. <view class="common-title">{{ticket.ticketType == 0 ? '咨询' : '投诉'}}信息</view>
  27. <view class="common-content">
  28. <view class="common-line">
  29. <view class="line-left">工单来源:</view>
  30. <view>{{format.filterSource(ticket.source)}}</view>
  31. </view>
  32. <view class="common-line">
  33. <view class="line-left">归属技能组:</view>
  34. <view>{{ticket.skillGroupName}}</view>
  35. </view>
  36. <view class="common-line">
  37. <view class="line-left">处理结果:</view>
  38. <view>{{ticket.resultName}}</view>
  39. </view>
  40. <view class="common-line">
  41. <view class="line-left">最后处理人:</view>
  42. <view>{{ticket.updateUserName}}</view>
  43. </view>
  44. <block wx-if="{{ticket.ticketType != 0}}">
  45. <view class="common-line">
  46. <view class="line-left">客诉是否成立:</view>
  47. <view>{{ccResultList[ticket.ccResult]}}</view>
  48. </view>
  49. <view class="common-line">
  50. <view class="line-left">责任方:</view>
  51. <view>{{ccResList[ticket.ccRes]}}</view>
  52. </view>
  53. <view class="common-line">
  54. <view class="line-left">赔偿现金:</view>
  55. <view>{{ticket.fines}}</view>
  56. </view>
  57. <view class="common-line">
  58. <view class="line-left">赔偿优惠券金额:</view>
  59. <view>{{ticket.couponAmount}}</view>
  60. </view>
  61. <view class="common-line">
  62. <view class="line-left">赔偿其他金额:</view>
  63. <view>{{ticket.otherAmount}}</view>
  64. </view>
  65. <view class="common-line">
  66. <view class="line-left">银行卡号:</view>
  67. <view>{{refundMethodDesc[ticket.refundMethod]}}</view>
  68. </view>
  69. <view class="common-line">
  70. <view class="line-left">开户信息:</view>
  71. <view>{{ticket.cardNumber}}</view>
  72. </view>
  73. <view class="common-line">
  74. <view class="line-left">退款方式:</view>
  75. <view>{{ticket.bankInformation}}</view>
  76. </view>
  77. </block>
  78. </view>
  79. </view>
  80. <view class="common-info">
  81. <view class="common-title">客户信息</view>
  82. <view class="common-content">
  83. <view class="common-line">
  84. <view class="line-left">客户名称:</view>
  85. <view>{{ticket.customer.customerName}}</view>
  86. </view>
  87. <view class="common-line">
  88. <view class="line-left">客户电话:</view>
  89. <view>{{ticket.customer.tel}}</view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="common-info">
  94. <view class="common-title">服务工单</view>
  95. <view class="common-content">
  96. <view class="common-line">
  97. <view class="line-left">工单编号:</view>
  98. <view>{{ticket.bookSn}}</view>
  99. </view>
  100. <view class="common-line">
  101. <view class="line-left">服务站:</view>
  102. <view>{{ticket.stationName}}</view>
  103. </view>
  104. <view class="common-line">
  105. <view class="line-left">服务人员:</view>
  106. <view>{{ticket.servicer}}</view>
  107. </view>
  108. <view class="common-line">
  109. <view class="line-left">服务时间:</view>
  110. <view>{{ticket.serviceTime}}</view>
  111. </view>
  112. <view class="common-line">
  113. <view class="line-left">工单服务商:</view>
  114. <view>{{ticket.fraName}}</view>
  115. </view>
  116. <view class="common-line">
  117. <view class="line-left">期望改约时间:</view>
  118. <view>{{ticket.changeTime}}</view>
  119. </view>
  120. </view>
  121. </view>
  122. <view class="common-info">
  123. <view class="common-title"> {{ ticket.ticketType == 0 ? "咨询" : "投诉" }}内容描述</view>
  124. <view class="common-content">
  125. <view class="common-line">
  126. <view class="line-left">内容描述:</view>
  127. <view>{{ticket.ticketDes}}</view>
  128. </view>
  129. <view class="common-line" wx:for="{{consults}}" wx:key="index">
  130. <view class="line-left">
  131. <!-- <van-tag type="primary"> -->
  132. {{item}}
  133. <!-- </van-tag> -->
  134. </view>
  135. </view>
  136. <!-- 图片 -->
  137. <view wx:if="{{ticket.fileUrl != null&&ticket.fileUrl.length>0}}">
  138. <image wx:for="{{ticket.fileUrl}}" wx:key="index" src="{{item}}" mode="aspectFit" style="width:100rpx;height:100rpx;margin:0 20rpx 20rpx 0;" bindtap="preImg" data-url="{{item}}">
  139. </image>
  140. </view>
  141. </view>
  142. </view>
  143. <!-- 工单日志 -->
  144. <view class="common-info">
  145. <view class="common-title"> {{ ticket.ticketType == 0 ? "咨询" : "投诉" }}内容描述</view>
  146. <view class="common-content">
  147. <van-steps
  148. steps="{{ actions }}"
  149. active="{{10}}"
  150. direction="vertical"
  151. />
  152. </view>
  153. </view>
  154. <view class="operate-block">
  155. <view class="remark-btn" bindtap="goRemark">追加备注</view>
  156. <view class="handle-btn" wx:if="{{ticket.substatus == 108 && ticket.ticketType == 1}}" bindtap="handleTicket">处理工单</view>
  157. </view>
  158. </view>