index.wxml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <wxs src="../../utils/format.wxs" module="format" />
  2. <view>
  3. <image src="/static/images/csr.png"
  4. style="width: 80px;height: 80px;position: fixed;z-index: 9;top: 360rpx;right: 15rpx;"></image>
  5. <contact-button class="csr" type="default-dark"
  6. style="opacity: 0;position: fixed;z-index: 99999;right: 15rpx; width: 100rpx;height: 100rpx;top:400rpx"
  7. session-from="weapp" size="27">
  8. </contact-button>
  9. </view>
  10. <view class="container" style="filter:blur({{myqr_blur}}rpx)">
  11. <view class="orders-switch">
  12. <view class="item {{ showType == 0 ? 'active' : ''}}" bindtap="switchTab" data-index='0'>
  13. <view class="txt">全部问题</view>
  14. </view>
  15. <view class="item {{ showType == 1 ? 'active' : ''}}" bindtap="switchTab" data-index='1'>
  16. <view class="txt">处理中</view>
  17. </view>
  18. <view class="item {{ showType == 2 ? 'active' : ''}}" bindtap="switchTab" data-index='2'>
  19. <view class="txt">已完结</view>
  20. </view>
  21. <view class="item {{ showType == 3 ? 'active' : ''}}" bindtap="switchTab" data-index='3'>
  22. <view class="txt">已取消</view>
  23. </view>
  24. </view>
  25. <view class="no-order" wx:if="{{list.length <= 0}}">
  26. <view class="c">
  27. <text>还没有报备问题呢</text>
  28. </view>
  29. </view>
  30. <view class="orders">
  31. <view class='order' wx:for="{{list}}" wx:for-item="item" wx:key="item">
  32. <view class="h">
  33. <view class="l">提交时间:{{item.createTime}}</view>
  34. <view class="r">{{item.status}}</view>
  35. </view>
  36. <view class="goods" catchtap="goDetail" data-sn="{{item.ticketSn}}">
  37. <view class="info">
  38. <text class="name">{{item.title}}</text>
  39. <text class="number">工单编号:{{item.ticketSn}}</text>
  40. <text class="number" decode="{{true}}">客户名称:{{item.cusName}} &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
  41. 手机:{{item.cusMobile}}</text>
  42. <text class="number"></text>
  43. </view>
  44. </view>
  45. <view class="order-item-operate">
  46. <!-- <view class="order-item-result"></view> -->
  47. <view class="order-operate-wrapper">
  48. <view wx:if="{{item.status=='处理中-升级'}}" style="border:0rpx;color:#09afff">已催办</view>
  49. <view catchtap="goUrge" style="color:red"
  50. wx:if="{{item.statusId!=2&&item.statusId!=3&&item.status!='处理中-升级'}}" data-sn="{{item.ticketSn}}">催办</view>
  51. <view catchtap="goCancel" wx:if="{{item.statusId==1}}" data-sn="{{item.ticketSn}}">取消</view>
  52. <!-- item.statusId==2&& -->
  53. <view catchtap="goComment" wx:if="{{item.statusId==2&&item.isCommented==false}}" data-id="{{item.ticketId}}"
  54. data-sn="{{item.ticketSn}}">去评价</view>
  55. <view catchtap="goDetail" data-sn="{{item.ticketSn}}">详情</view>
  56. </view>
  57. </view>
  58. </view>
  59. <!--
  60. <view class='book' wx:for="{{list}}" wx:for-item="item" wx:key="item">
  61. <view style="border-bottom:0.5rpx dashed #999">
  62. <view class="status">{{item.status}}</view>
  63. <view class="bookname">提交时间:{{item.createTime}}</view>
  64. <view class="address">报备问题:{{item.title}}</view>
  65. <view class="serviceTime">工单编号:{{item.ticketSn}}</view>
  66. <view class="goodsname">客户名称:{{item.cusName}} <span style='margin-left:30rpx'>手机:{{item.cusMobile}}</span></view>
  67. </view>
  68. <view class="tool" wx:if="{{item.statusId!=2}}">
  69. <button class="btn1" data-mobile="{{item.userPhone}}" bindtap="makeCall">联系客服</button>
  70. <button class="btn1" bindtap="editPre" data-bookno="{{item.id}}">催办</button>
  71. </view>
  72. </view>-->
  73. </view>
  74. </view>
  75. <view class="footer" style="filter:blur({{myqr_blur}}rpx)">
  76. <button class="btn" bindtap="goProblemList">新增问题报备</button>
  77. <button class="btn" bindtap="goQuickList">快捷报备</button>
  78. </view>
  79. <view class="myqr" wx:if="{{myqr_show}}">
  80. <view style="text-align:center">
  81. <image class="cancel" src="/static/images/cancel.png" bindtouchstart="qrtouchstart"></image>
  82. <span style="font-size: 16px;color: #333;margin-top: 30rpx;font-weight:600">评价报备处理</span>
  83. </view>
  84. <view style="text-align:center;margin:0rpx auto">
  85. <view class="star">
  86. <view style="line-height: 70rpx;font-size: 32rpx;color: #333;">总体:</view>
  87. <image wx:for="{{comments.stars}}" wx:key="id" src="{{item.checked?item.imgSelected:item.img}}"
  88. data-level="{{item.level}}" bindtap="clickStar"></image>
  89. <view style="line-height: 70rpx;margin-left:10rpx;color: #333;">
  90. {{comments.selectedDes}}
  91. </view>
  92. </view>
  93. <view style="margin:10rpx 0;padding: 5rpx 0;height: 322rpx;">
  94. <textarea class="comment-txt" bindinput="bindCommentRemark" value="{{comments.comment}}"
  95. placeholder='请输入处理速度、结果等'></textarea>
  96. </view>
  97. </view>
  98. <view style="text-align: center;display: flex;justify-content: center;margin:20rpx">
  99. <view class="btn" bindtap="goSaveCommnet">提交</view>
  100. </view>
  101. </view>