index.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <view class="header">
  2. <view>
  3. <view class="label">线索状态</view>
  4. <view class="con" style="color: {{tagColor}};">{{detailsData.status}}</view>
  5. </view>
  6. <view>
  7. <view class="label">客户名称</view>
  8. <view class="con line-1">{{detailsData.name}}</view>
  9. </view>
  10. <view>
  11. <view class="label">手机号码</view>
  12. <view class="con">{{detailsData.phonenumber}}</view>
  13. </view>
  14. </view>
  15. <van-tabs sticky color='#3874F6' title-active-color='#3874F6' tab-class='tab-class'>
  16. <van-tab title="线索详情">
  17. <Details detailsData='{{detailsData}}' tagColor="{{tagColor}}" />
  18. <view style="height: 140rpx;" />
  19. </van-tab>
  20. <van-tab title="跟进记录">
  21. <view class="filtrate">
  22. <view class="date" bindtap="openSelectDate">{{showWhere}}
  23. <van-icon style="margin-left: 8rpx;" name="arrow-down" />
  24. </view>
  25. <view class="sort" bindtap="changeIsdesc">
  26. <text class="iconfont {{ isdesc==1?'icon-jiangxu':'icon-shengxu' }}" />
  27. </view>
  28. </view>
  29. <Record followList='{{followList}}' />
  30. <My_empty wx:if="{{followList.length==0}}" />
  31. <view style="height: 140rpx;" />
  32. </van-tab>
  33. </van-tabs>
  34. <view class="footer">
  35. <navigator url="#" data-name="跟进计划" catchtap="openPoput">
  36. <view class="iconfont icon-a-yingxiaowuliaofuzhi" />
  37. <view class="text">跟进</view>
  38. </navigator>
  39. <navigator url="#" data-name="线索编辑" catchtap="openPoput">
  40. <view class="iconfont icon-a-yingxiaowuliaofuzhi" />
  41. <view class="text">编辑</view>
  42. </navigator>
  43. <navigator url="#" data-name="线索转移" catchtap="openPoput">
  44. <view class="iconfont icon-a-yingxiaowuliaofuzhi" />
  45. <view class="text">转移</view>
  46. </navigator>
  47. </view>
  48. <Popup sheetTitle='{{sheetTitle}}'>
  49. <view hidden="{{sheetTitle!='线索编辑'}}">
  50. <Insert id="edit" content='{{detailsData}}' type="{{sheetTitle}}" bind:endInsert='endEdit' />
  51. </view>
  52. <view hidden="{{sheetTitle!='线索转移'}}">
  53. <handOver sat_orderclueid='{{sat_orderclueid}}' list='{{teamList}}' bind:endChange='endEdit' />
  54. </view>
  55. </Popup>
  56. <van-action-sheet show="{{ timeRangeShow }}" bind:close='timeRangeClose'>
  57. <view class="detePickerHeader">
  58. <text catchtap="toSeeAll">所有日期</text>
  59. <view class="type" catchtap="selectDateType">
  60. <view class="option {{whereType.value=='start'?'active-op':''}}" data-name="start">
  61. <view data-name="start">开始</view>
  62. <view data-name="start" class="time">{{whereType.list.start||'开始时间'}}</view>
  63. </view>
  64. <view class="option {{whereType.value=='end'?'active-op':''}}" data-name="end">
  65. <view data-name="end">结束</view>
  66. <view data-name="end" class="time">{{whereType.list.end||'结束时间'}}</view>
  67. </view>
  68. </view>
  69. <text catchtap="determineScope">确定</text>
  70. </view>
  71. <My_datePicker bind:getDate='getDate' />
  72. </van-action-sheet>