crm_second_opening_mini/pages/index/groupCompany/groupCompany.wxml

1 line
7.1 KiB
Plaintext

<view class="group_company"><view class="group_head"><view class="client">{{''+(info.name?info.name:'--')+''}}</view><block wx:if="{{info.contacts}}"><view class="nickname">{{''+(info.contacts?info.contacts.name:'--')}}<text>|</text>{{(info.contacts?info.contacts.mobile:'--')+''}}</view></block><block wx:if="{{info.follow}}"><view class="state">{{''+(info.follow?info.follow:'--')}}<text style="padding:0 30rpx;">|</text><u-rate bind:input="__e" vue-id="99180dc6-1" count="{{5}}" disabled="{{true}}" active-color="#FFD049" inactive-color="#b2b2b2" size="{{34}}" gutter="{{10}}" value="{{info.level}}" data-event-opts="{{[['^input',[['__set_model',['$0','level','$event',[]],['info']]]]]}}" bind:__l="__l"></u-rate></view></block><block wx:if="{{info.next_time}}"><view class="time">{{'下次跟进时间:'+(info.next_time?info.next_time:'--')+''}}</view></block><block wx:if="{{info.address}}"><view class="site">{{''+(info.address?info.address:'--')+''}}</view></block><block wx:if="{{info.owner_staff}}"><view class="principal">{{'负责人:'+(info.owner_staff?info.owner_staff.name:'')+''}}</view></block><block wx:if="{{info.create_staff}}"><view class="principal">{{'创建人:'+(info.create_staff?info.create_staff.name:'')+''}}</view></block><view class="roll"><scroll-view class="scrollView" scroll-x="true" lower-threshold="50" enable-flex="{{true}}"><view class="scrolllist"><view data-event-opts="{{[['tap',[['toTeam',['$event']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.teamCount?info.teamCount:0)+''}}</view><view class="scroll_foot">团队</view></view><view data-event-opts="{{[['tap',[['toBusiness',['$event']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.bussinessCount?info.bussinessCount:0)+''}}</view><view class="scroll_foot">商机</view></view><view data-event-opts="{{[['tap',[['contact',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.contactsCount?info.contactsCount:0)+''}}</view><view class="scroll_foot">联系人</view></view><view data-event-opts="{{[['tap',[['subord',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.companyCount?info.companyCount:0)+''}}</view><view class="scroll_foot">子公司</view></view><view data-event-opts="{{[['tap',[['signList',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.signCount?info.signCount:0)+''}}</view><view class="scroll_foot">签到记录</view></view><view data-event-opts="{{[['tap',[['Contract',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.contractCount?info.contractCount:0)+''}}</view><view class="scroll_foot">合同</view></view><view data-event-opts="{{[['tap',[['cost',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.consumeCount?info.consumeCount:0)+''}}</view><view class="scroll_foot">费用</view></view><view data-event-opts="{{[['tap',[['payment',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.receivalbleCount?info.receivalbleCount:0)+''}}</view><view class="scroll_foot">回款记录</view></view><view data-event-opts="{{[['tap',[['accessory',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.fileCount?info.fileCount:0)+''}}</view><view class="scroll_foot">附件</view></view><view data-event-opts="{{[['tap',[['operation',['$0'],['info.id']]]]]}}" class="scrollView_item" bindtap="__e"><view class="scroll_top">{{''+(info.operateCount?info.operateCount:0)+''}}</view><view class="scroll_foot">操作记录</view></view></view></scroll-view></view></view><view class="group_tab"><u-tabs vue-id="99180dc6-2" name="cate_name" list="{{list}}" is-scroll="{{false}}" active-color="#03AA96" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs><block wx:if="{{current==0}}"><view class="processing_title"><block wx:if="{{info&&info.id}}"><customer-dynamic vue-id="99180dc6-3" isSeas="{{$root.m0}}" kehuid="{{info.id}}" type="{{1}}" bind:__l="__l"></customer-dynamic></block></view></block><block wx:if="{{current==1}}"><view class="processing_title"><block wx:if="{{info&&info.id}}"><info-detail vue-id="99180dc6-4" info="{{info}}" bind:__l="__l"></info-detail></block></view></block></view><view style="height:100rpx;"></view><block wx:if="{{type==1&&info.operation=='update'}}"><view class="bottom_nav"><view data-event-opts="{{[['tap',[['followClick',['$event']]]]]}}" class="bottom_item" bindtap="__e"><image class="botimg" src="{{BASE_IMG_URL+'tj.png'}}"></image><view>跟进</view></view><view data-event-opts="{{[['tap',[['moreClick',['$event']]]]]}}" class="bottom_item" bindtap="__e"><image class="botimg" src="{{BASE_IMG_URL+'morebtn.png'}}"></image><view>更多操作</view></view></view></block><u-popup bind:input="__e" vue-id="99180dc6-5" mode="bottom" border-radius="20" height="180px" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="pull_head">更多操作</view><view class="pull_con"><view data-event-opts="{{[['tap',[['transferClueClick',['$0'],['info.id']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">转移客户</view></view><view data-event-opts="{{[['tap',[['removeSeas',['$event']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">移入公海</view></view><block wx:if="{{info&&info.is_collect==0}}"><view data-event-opts="{{[['tap',[['Tofocus',['$event']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">重点关注</view></view></block><block wx:if="{{info&&info.is_collect==1}}"><view data-event-opts="{{[['tap',[['ToRemovefocus',['$event']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">取消关注</view></view></block><view data-event-opts="{{[['tap',[['telClick',['$event']]]]]}}" class="pull_item" style="margin-right:0;" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">拨打电话</view></view><view data-event-opts="{{[['tap',[['mapLocation',['$event']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">地图定位</view></view><view data-event-opts="{{[['tap',[['editClueClick',['$0'],['info.id']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">编辑客户</view></view><view data-event-opts="{{[['tap',[['toSigntrip',['$0'],['info.id']]]]]}}" class="pull_item" bindtap="__e"><view style="padding:5rpx 12rpx;border:1px solid #ededed;">出差签到</view></view></view></u-popup><u-action-sheet vue-id="99180dc6-6" list="{{telActions}}" cancel-btn="{{true}}" value="{{telShow}}" data-event-opts="{{[['^click',[['selectPhone']]],['^input',[['__set_model',['','telShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-action-sheet></view>