crm_second_opening_mini/pagesA/crm/search/searchList.wxml

1 line
8.7 KiB
Plaintext

<view class="data-v-4cc6bbc1"><view class="search data-v-4cc6bbc1"><u-search vue-id="167192ce-1" show-action="{{false}}" placeholder="请输入搜索关键词" value="{{keyword}}" data-event-opts="{{[['^change',[['onSearch']]],['^input',[['__set_model',['','keyword','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-4cc6bbc1" bind:__l="__l"></u-search></view><block wx:if="{{type==1||type==0}}"><view class="data-v-4cc6bbc1"><view class="tablabel data-v-4cc6bbc1"><image src="{{BASE_IMG_URL+'/kehu1.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="item_content data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">客户</view><view class="number data-v-4cc6bbc1">{{"共"+$root.g0+"个客户"}}</view></view></view><block wx:for="{{customer}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="clineInfo data-v-4cc6bbc1"><view class="info_head data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">{{item.name}}</view><view class="data-v-4cc6bbc1">{{item.follow?item.follow:'--'}}</view></view><view class="info_main data-v-4cc6bbc1"><view class="main_left data-v-4cc6bbc1"><view class="left_followUp data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">下次跟进时间:</view><view class="data-v-4cc6bbc1">{{item.next_time}}</view></view><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">客户星级:</view><view class="data-v-4cc6bbc1"><u-rate bind:input="__e" vue-id="{{'167192ce-2-'+index}}" count="{{5}}" disabled="{{true}}" active-color="#FFD049" inactive-color="#b2b2b2" size="{{30}}" gutter="{{10}}" value="{{item.level}}" data-event-opts="{{[['^input',[['__set_model',['$0','level','$event',[]],[[['customer','',index]]]]]]]}}" class="data-v-4cc6bbc1" bind:__l="__l"></u-rate></view></view></view><view class="main_right data-v-4cc6bbc1"><image src="{{item.owner_staff.img?item.owner_staff.img:BASE_IMG_URL+'headImg.png'}}" mode class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">{{item.owner_staff.name}}</view></view></view><view class="info_footer data-v-4cc6bbc1"><view data-event-opts="{{[['tap',[['followClick',['$0',1],[[['customer','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'tj.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">跟进</view></view><view data-event-opts="{{[['tap',[['linkmanClick',['$0'],[[['customer','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'rq.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">联系人</view></view><view data-event-opts="{{[['tap',[['toCall',['$0'],[[['customer','',index,'contacts']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'dh.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">电话</view></view><view data-event-opts="{{[['tap',[['toKehuMore',['$0'],[[['customer','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><view class="data-v-4cc6bbc1">更多</view><view class="iconfont icon-iconmore-copy data-v-4cc6bbc1"></view></view></view></view></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view><block wx:if="{{$root.g1==0}}"><u-empty vue-id="167192ce-3" text="暂无更多" class="data-v-4cc6bbc1" bind:__l="__l"></u-empty></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view></view></block><block wx:if="{{type==2||type==0}}"><view class="data-v-4cc6bbc1"><view class="tablabel data-v-4cc6bbc1"><image src="{{BASE_IMG_URL+'xiansuo1.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="item_content data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">线索</view><view class="number data-v-4cc6bbc1">{{"共"+$root.g2+"条线索"}}</view></view></view><block wx:for="{{leads}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="clineInfo data-v-4cc6bbc1"><view class="info_head data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">{{item.name}}</view><view class="data-v-4cc6bbc1">{{item.follow?item.follow:'--'}}</view></view><view class="info_main data-v-4cc6bbc1"><view class="main_left data-v-4cc6bbc1"><view class="left_followUp data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">下次跟进时间:</view><view class="data-v-4cc6bbc1">{{item.next_time?item.next_time:''}}</view></view><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">客户星级:</view><view class="data-v-4cc6bbc1"><u-rate bind:input="__e" vue-id="{{'167192ce-4-'+index}}" count="{{5}}" disabled="{{true}}" active-color="#FFD049" inactive-color="#b2b2b2" size="{{30}}" gutter="{{10}}" value="{{item.level}}" data-event-opts="{{[['^input',[['__set_model',['$0','level','$event',[]],[[['leads','',index]]]]]]]}}" class="data-v-4cc6bbc1" bind:__l="__l"></u-rate></view></view></view><view class="main_right data-v-4cc6bbc1"><image src="{{item.owner_staff.img?item.owner_staff.img:BASE_IMG_URL+'headImg.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">{{item.owner_staff.name}}</view></view></view><view class="info_footer data-v-4cc6bbc1"><view data-event-opts="{{[['tap',[['followClick',['$0',4],[[['leads','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'tj.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">跟进</view></view><view data-event-opts="{{[['tap',[['toCall',['$0'],[[['leads','',index]]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'dh.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">电话</view></view><view data-event-opts="{{[['tap',[['moreClick',['$0'],[[['leads','',index]]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><view class="data-v-4cc6bbc1">更多</view><view class="iconfont icon-iconmore-copy data-v-4cc6bbc1"></view></view></view></view></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view><block wx:if="{{$root.g3==0}}"><u-empty vue-id="167192ce-5" text="暂无更多" class="data-v-4cc6bbc1" bind:__l="__l"></u-empty></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view></view></block><block wx:if="{{type==3||type==0}}"><view class="data-v-4cc6bbc1"><view class="tablabel data-v-4cc6bbc1"><image src="{{BASE_IMG_URL+'dh.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="item_content data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">联系人</view><view class="number data-v-4cc6bbc1">{{"共"+$root.g4+"个联系人"}}</view></view></view><block wx:for="{{contacts}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="clineInfo data-v-4cc6bbc1"><view class="info_head_con data-v-4cc6bbc1"><view class="head_name data-v-4cc6bbc1">{{''+item.name+''}}</view><block wx:if="{{item.is_major==1}}"><view class="head_import data-v-4cc6bbc1">首联系人</view></block></view><view class="info_main_con data-v-4cc6bbc1"><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">职务:</view><view class="data-v-4cc6bbc1">{{item.post?item.post:'--'}}</view></view><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">角色:</view><view class="data-v-4cc6bbc1">{{item.role?item.role:'--'}}</view></view><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">手机:</view><view class="data-v-4cc6bbc1">{{item.mobile?item.mobile:'--'}}</view></view><view class="left_star data-v-4cc6bbc1"><view class="data-v-4cc6bbc1">生日:</view><view class="data-v-4cc6bbc1">{{item.birthday?item.birthday:'--'}}</view></view></view><view class="info_footer data-v-4cc6bbc1"><view data-event-opts="{{[['tap',[['followClick',['$0',2],[[['contacts','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'tj.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">跟进</view></view><view data-event-opts="{{[['tap',[['ToCall',['$0'],[[['contacts','',index]]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><image src="{{BASE_IMG_URL+'dh.png'}}" mode="scaleToFill" class="data-v-4cc6bbc1"></image><view class="data-v-4cc6bbc1">电话</view></view><view data-event-opts="{{[['tap',[['toMore',['$0'],[[['contacts','',index,'id']]]]]]]}}" class="footer_content data-v-4cc6bbc1" bindtap="__e"><view class="data-v-4cc6bbc1">更多</view><view class="iconfont icon-iconmore-copy data-v-4cc6bbc1"></view></view></view></view></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view><block wx:if="{{$root.g5==0}}"><u-empty vue-id="167192ce-6" text="暂无更多" class="data-v-4cc6bbc1" bind:__l="__l"></u-empty></block><view style="height:100rpx;" class="data-v-4cc6bbc1"></view></view></block></view>