detail.wxml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <view class="setclient-list-item" url="#">
  2. <view class="con">
  3. <view class="mian">
  4. <view class="label line-1">{{detail.enterprisename}}</view>
  5. <view class="tag-box" wx:if="{{appAuth.isdatatag}}">
  6. <Yl-tags id="Tags" wx:if="{{appAuth.isdatatag}}" add ownertable='sa_customers' bind:onGetList='onGetList' ownerid='{{sa_customersid}}' />
  7. </view>
  8. </view>
  9. </view>
  10. </view>
  11. <view style="margin-top: -16rpx;">
  12. <Yl_Detail list="{{briefs}}">
  13. <Yl-group id='Group' wx:if="{{appAuth.isdatateam}}" add="{{isLeader}}" slot='bottom' ownertable='sa_customers' ownerid='{{sa_customersid}}' />
  14. </Yl_Detail>
  15. </view>
  16. <view style="height: 20rpx;" />
  17. <!-- 功能 -->
  18. <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
  19. <Trace resource='医院管理' slot='跟进动态' id='Trace' ownertable='sa_customers' ownerid='{{sa_customersid}}' disabled="{{detail.status != '已终止'}}" ownerid1='{{detail.sys_enterpriseid}}' />
  20. <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
  21. <Department slot='科室' id='Department' disabled="{{isLeader}}" />
  22. <Doctors slot='医生' id='Doctors' disabled="{{isLeader}}" />
  23. <Surgery slot='预估手术量' id='Surgery' disabled="{{isLeader}}" />
  24. <Product slot='推荐产品' id='Product' disabled="{{isLeader}}" />
  25. <Address slot='地址管理' id='Address' disabled="{{(per.query(appAuth.options,'address')||isAdmin||isLeader)&& detail.status != '已终止'}}" />
  26. <Dealer slot='关联经销商' id='Dealer' />
  27. <Contract slot='合同' id='Contract' />
  28. <Files slot="附件" id="Files" ownertable='sa_customers' ownerid='{{sa_customersid}}' disabled="{{detail.status != '已终止'}}" />
  29. <Record slot="操作" id="Record" ownertable='sa_customers' ownerid='{{sa_customersid}}' />
  30. </Yl_FunTabs>
  31. <view style="height: 90rpx;" />
  32. <!-- 底部 -->
  33. <Yl_Tabbar wx:if="{{tabbarList.length}}" list='{{tabbarList}}' bind:callback="tabbarOnClick" />
  34. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />
  35. <van-dialog confirmButtonText="确定" cancelButtonText="取消" use-slot title="作废情况说明" show="{{ deletereasonShow }}" show-cancel-button confirm-button-color='#3874F6' bind:confirm='deleteItem' bind:cancel='onCancel'>
  36. <textarea placeholder="情况说明" value="{{deletereason}}" data-name="deletereason" bindinput="areaInput" class="textarea" />
  37. </van-dialog>
  38. <!-- 查重 -->
  39. <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
  40. <view class="title">
  41. {{language['查重']||'查重'}}
  42. <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
  43. </view>
  44. <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}" bindtap="toRepDetail">
  45. <view class="enterprise_title" style="color: {{item.chars['enterprisename'] ? 'red' : '#666666'}}">{{item.enterprisename||" --"}}</view>
  46. <view class="tag-box">
  47. <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  48. <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  49. </view>
  50. <view class="exp" style="color: {{item.chars['billno'] ? 'red' : '#666666'}}">医院编号:{{item.billno||" --"}}</view>
  51. <view class="exp" style="color: {{item.chars['province'] ||item.chars['city'] ||item.chars['county'] ? 'red' : '#666666'}}">省市县:{{(item.province + item.city +item.county) || ' --' }}</view>
  52. <view class="exp" style="color: {{item.chars['grade'] ? 'red' : '#666666'}}">医院等级:{{item.grade||" --"}}</view>
  53. <view class="exp" style="color: {{item.chars['totalop'] ? 'red' : '#666666'}}">预估手术总量:{{item.totalop||" --"}}</view>
  54. <view class="replenish">
  55. <text style="color: #666;">省市县:</text>
  56. <text>{{item.province + item.city +item.county || ' --'}}</text>
  57. </view>
  58. <view class="exp">开发状态:<text style="color: {{sColors[item.status]}}" F>{{item.status||" --"}}</text></view>
  59. <view class="exp">成交状态:<text style="color: {{sColors[item.tradingstatus]}}">{{item.tradingstatus||" --"}}</text></view>
  60. <view class="exp" style="color: {{item.chars['name'] ? 'red' : '#666666'}}">负责人:{{item.leader[0].name||" --"}}</view>
  61. <view class="exp" style="color: {{item.chars['areaname'] ? 'red' : '#666666'}}">营销区域:{{item.leader[0].areaname||" --"}}</view>
  62. <block wx:if="{{item.systemapp=='回收站'}}">
  63. <icon style="padding-left:10rpx;" type="warn" size="11" color='red' />
  64. <text style="color: red;margin-left: 2rpx;">{{language['当前重复客户归属回收站,请联系管理处理!']||'当前重复客户归属回收站,请联系管理处理!'}}</text>
  65. </block>
  66. </navigator>
  67. </van-popup>