598 lines
32 KiB
Plaintext
598 lines
32 KiB
Plaintext
<!--
|
||
<wxs module="tool">
|
||
var formatTime = function(time) {
|
||
// 总秒数
|
||
var totalSecond = Math.floor(time);
|
||
//天
|
||
var day = Math.floor(totalSecond / 3600 / 24);
|
||
// 小时
|
||
var hour = Math.floor(totalSecond / 3600);
|
||
// 分钟
|
||
var minute = Math.floor(totalSecond / 60) % 60;
|
||
// 秒
|
||
var second = totalSecond % 60;
|
||
return day + '天' + hour + '小时' + minute + '分' + second + '秒';
|
||
}
|
||
exports.formatTime = formatTime;
|
||
</wxs>
|
||
-->
|
||
<view class="container">
|
||
|
||
<view>
|
||
<view style="padding-top:110rpx"></view>
|
||
<view class="fixed top-0 left-0 right-0 bg-fff z-index-1">
|
||
<view class="fn-flex mt5 pl20 pr20 font-32 color-666 text-center" wx:if="{{0&&tab.length<5}}">
|
||
<block wx:for='{{tab}}' wx:key='list'>
|
||
<view class="fn-flex-item pl20 pr20 tabmenu2 {{key == item.key?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
|
||
<view class="relative">{{item.name}}</view>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
<scroll-view class="mt5 font-32 color-666 text-center space-nowrap" scroll-x="true" wx:else>
|
||
<block wx:for='{{tab}}' wx:key='list'>
|
||
<view class="pl20 pr20 tabmenu2 {{key == item.key?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
|
||
<view class="relative">{{item.name}}</view>
|
||
</view>
|
||
</block>
|
||
</scroll-view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="pl40 pb15 fn-clear">
|
||
<view class="fn-fl">
|
||
<text class="text-middle">共<text class="color-f9394d">{{total}}</text>条</text>
|
||
<block wx:if="{{ key!= cluesTabKey}}">
|
||
<text class="ml20 text-middle font-22"> 排序:</text>
|
||
<picker class="inline-block text-middle bg-f6 color-666 pt5 pb5 pl15 pr10 ulib-r750 font-22" bindchange="changeSortList" value="{{sortListIndex}}" range="{{sortList}}">
|
||
<text>{{sortList[sortListIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</block>
|
||
</view>
|
||
<view class="fn-fr {{key<2?'pr180':'pr40'}} relative" wx:if="{{ key!= cluesTabKey}}">
|
||
<text bindtap="showfilter" class="inner5 iconfont icon-gaojisousuo ml10"></text>
|
||
<view bindtap="pushLink" data-url="/pages/customer/addCard/index?status={{key}}" class="absolute right-0 box-middle pt10 pb10 pl10 pr30 space-nowrap bg-333 font-22 color-fff ulib-rl750" wx:if="{{key<2}}"><i class="iconfont mr5 icon-jia"></i>客户建卡</view>
|
||
</view>
|
||
</view>
|
||
<view class="pl20 pr20 fn-flex fn-flex-wrap">
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{cus_id}}">{{cus_id}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{name}}">{{name}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{mobile}}">{{mobile}}</view>
|
||
<block wx:for="{{city}}" wx:key='index'>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{item.id==city_id}}">{{item.name}}</view>
|
||
</block>
|
||
<block wx:for="{{county}}" wx:key='index'>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{item.id==county_id}}">{{item.name}}</view>
|
||
</block>
|
||
<block wx:if="{{s_time&&e_time}}">
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22">{{s_time}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22">{{e_time}}</view>
|
||
</block>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{timeSlotIndex>-1}}">{{timeSlot[timeSlotIndex].title}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{levelIndex>-1}}">{{filter.level[levelIndex]}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{of1Index>-1}}">{{of1Arr[of1Index]}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{of2Index>-1}}">{{of2Arr[of2Index]}}</view>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{staffIndex>-1}}">{{staffArray[staffIndex]}}</view>
|
||
<block wx:for="{{staffobj}}" wx:key='index'>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{item.checked}}">{{item.uname}}</view>
|
||
</block>
|
||
<block wx:for='{{taglList}}' wx:for-item='list' wx:for-index='i' wx:key='i'>
|
||
<block wx:if="{{list.have}}" wx:for='{{list.list}}' wx:for-item='option' wx:for-index='j' wx:key='j'>
|
||
<view class="inline-block text-middle bg-f6 color-666 mb15 ml5 mr5 pt5 pb5 pl20 pr20 ulib-r10 font-22" wx:if="{{option.checked}}">{{option.name}}</view>
|
||
</block>
|
||
</block>
|
||
</view>
|
||
|
||
<view class="mt10 pl30 pr30">
|
||
<block wx:if="{{key===cluesTabKey}}">
|
||
<block wx:for='{{list}}' wx:key='index'>
|
||
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bind:tap="goClues" data-row="{{ item }}">
|
||
<view class="relative pr180">
|
||
<view class="font-32">
|
||
<text class="text-middle">{{item.name}}</text>
|
||
<text class="text-middle font-26 color-666">({{item.mobile}})</text>
|
||
</view>
|
||
<!--
|
||
<view class="absolute right-0 top-0" wx:if="{{item.un_lock==0}}">
|
||
<view class="font-26 mt10" style="color:#f63c51">{{'距转派还剩'+item.left_time}}</view>
|
||
</view>
|
||
-->
|
||
</view>
|
||
<view class="relative">
|
||
<view class="mt25 fn-clear font-28 pr180">
|
||
<view class="fn-fl color-333 mr15">入池时间</view>
|
||
<view class="fn-fl color-666">{{ item.other_data['建档时间'] }}</view>
|
||
</view>
|
||
<view class="mt25 fn-clear font-28 pr180">
|
||
<view class="fn-fl color-333 mr15">意向车型</view>
|
||
<view class="fn-fl color-666">{{item.other_data['关注车型']}}</view>
|
||
</view>
|
||
<!--
|
||
<view class="absolute right-0 box-middle" wx:if="{{!item.un_lock}}" bind:tap="showUnlock" data-id="{{item.id}}">
|
||
<button class="btn color-fff font-26 ulib-r750" style="background-color:#f63c51"><text class="iconfont icon-xiaoji mr5"></text>解锁查看</button>
|
||
</view>
|
||
-->
|
||
<view class="mt25 fn-clear">
|
||
<view class="fn-fl wp50 pl25 pl25 pr25" wx:if="{{!item.un_lock}}" bind:tap="showNotlock" data-id="{{item.id}}">
|
||
<button class="btn color-fff font-26 ulib-r750 btn-36afa2"><text class="iconfont icon-xiaoji mr5"></text>不解锁</button>
|
||
</view>
|
||
<view class="fn-fl wp50 pl25 pr25" wx:if="{{!item.un_lock}}" bind:tap="showUnlock" data-id="{{item.id}}">
|
||
<button class="btn color-fff font-26 ulib-r750" style="background-color:#f63c51"><text class="iconfont icon-xiaoji mr5"></text>解锁查看</button>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="relative mt20 overflowhidden">
|
||
<view class="orderDtail-log mt40 relative" wx:if="{{item.logList.length>0}}">
|
||
<block wx:for="{{item.logList}}" wx:for-item="log" wx:for-index="index" wx:key="index">
|
||
<view class="orderDtail-log-item pl40 relative">
|
||
<view class="orderDtail-log-content">
|
||
<!-- 时间 -->
|
||
<view class="font-22">
|
||
<text class="color-999">{{log.c_time}}</text>
|
||
</view>
|
||
<!-- 内容 -->
|
||
<view class="font-28 text-break" style="min-height:50rpx;">{{log.content}}</view>
|
||
</view>
|
||
<i class="absolute box-middle mt15 bg-fff line-height-11 font-22 color-999 iconfont icon-jiantou-up z-index-1" wx:if="{{index+1 != item.logList.length}}"></i>
|
||
<text class="absolute orderDtail-log-line2 z-index-0" wx:if="{{index != item.logList.length-1}}"></text>
|
||
<text class="absolute orderDtail-log-dot z-index-1"></text>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</block>
|
||
<block wx:else>
|
||
<block wx:for='{{list}}' wx:key='index'>
|
||
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bindtap="pushLink" data-url="/pages/customer/detail/index?id={{item.id}}">
|
||
<view class="absolute top-0 left-0 ml40 bg-36afa2 font-22 color-fff" wx:if="{{item.defeat||item.orders_pay}}">
|
||
<text class="pl10 pr10" wx:if="{{item.defeat}}">{{item.defeat}}</text>
|
||
<text class="pl10 pr10 {{item.defeat&&item.orders_pay?'bls-1-eb':''}}" wx:if="{{item.orders_pay}}">{{item.orders_pay}}</text>
|
||
</view>
|
||
<view class="relative pr180">
|
||
<view class="font-32">
|
||
<text class="text-middle">{{item.name}}</text>
|
||
<text class="text-middle font-26 color-666">({{item.mobile}})</text>
|
||
<text class="text-middle iconfont icon-weixin1 ml10 color-00c800" wx:if="{{item.is_weChat}}"></text>
|
||
<text class="text-middle iconfont icon-xingxing ml10 {{item.is_top==1?'color-f9394d':'color-ccc'}}" catchtap="optTop" data-index="{{index}}"></text>
|
||
</view>
|
||
<view class="text-nowrap">
|
||
<text class="mr15 font-22 color-666">编号 {{item.cid}}</text>
|
||
<block wx:for="{{item.tags}}" wx:for-index='i' wx:for-item='tag' wx:key='i'>
|
||
<text class="inline-block mr10 pl10 pr10 bg-666 font-18 color-fff ulib-r750" wx:if="{{i<4}}">{{tag}}</text>
|
||
</block>
|
||
<block wx:if="{{item.tags.length>4}}">
|
||
...
|
||
</block>
|
||
</view>
|
||
<view class="absolute right-0 box-middle">
|
||
<!--view class="inline-block relative img-55x55 bg-333 font-28 color-fff mr30 ulib-r750" catchtap="showMessage" data-id="{{item.id}}">
|
||
<i class="absolute box-center-middle iconfont icon-duanxinguanli"></i>
|
||
</view-->
|
||
<view class="inline-block relative img-55x55 bg-333 font-28 color-fff ulib-r750" catchtap="call" data-id="{{item.id}}">
|
||
<i class="absolute box-center-middle iconfont icon-dianhua"></i>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<block wx:for="{{item.other_data}}" wx:for-index='key' wx:for-item='value' wx:key='i'>
|
||
<view class="mt25 fn-clear font-28">
|
||
<view class="fn-fl color-333">{{key}}</view>
|
||
<block wx:if="{{key=='车管家'}}">
|
||
<view class="fn-fr wp60 text-nowrap text-right">
|
||
<text class="text-middle color-666" wx:if="{{value}}">{{value}}</text>
|
||
<text class="text-middle color-f9394d" wx:else>待分配</text>
|
||
<text class="inline-block ml10 bg-36afa2 pt5 pb5 pl15 pr15 text-middle font-22 color-fff ulib-r10" catchtap="optEmployees" data-cid="{{item.id}}" data-level="{{item.level}}" wx:if="{{item.allot == 1}}">{{value?'重新分配':'分配'}}</text>
|
||
</view>
|
||
</block>
|
||
<view wx:else class="fn-fr wp60 text-nowrap text-right color-666">{{value}}</view>
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</block>
|
||
</block>
|
||
|
||
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
|
||
</view>
|
||
|
||
</view>
|
||
<!-- <lcb-footer></lcb-footer> -->
|
||
<lcb-backChannel></lcb-backChannel>
|
||
<lcb-shopTabBarNav currentIndex='1'></lcb-shopTabBarNav>
|
||
|
||
<lcb-msg isShow="{{isShowMessage}}">
|
||
<view slot="content">
|
||
<view class="inner40">
|
||
<textarea class="wp100 inner20 bds-1-eb font-28 ulib-r10" placeholder-class="color-ccc" maxlength='100' placeholder="请输入短信内容" bindinput='inputTx' data-key="content" name='content' value='{{content}}' />
|
||
</view>
|
||
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
|
||
<button bindtap="hideMessage" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">取消</button>
|
||
<button disabled="{{submitFlag}}" bindtap="postAppSmsCustomer" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">确定</button>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
|
||
<view class="search-sort {{!isShowfilter?'fn-hide':''}} {{!isShowfilter?'sortout':'sortin'}} bg-fff fixed top-0 bottom-0 z-index-2 ulib-rl20 overflowhidden">
|
||
<scroll-view class="wp100" scroll-y="true" style="height:90%">
|
||
<view class="pt10 pb10 pl30 pr30">
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
||
<view class="absolute left-0 box-middle">客户编号</view>
|
||
<view>
|
||
<input class="wp100 height-90 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入客户编号" model:value="{{cus_id}}" />
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
||
<view class="absolute left-0 box-middle">客户姓名</view>
|
||
<view>
|
||
<input class="wp100 height-90 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入客户姓名" bindinput='inputTx' data-key="name" name='name' value='{{name}}' />
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
||
<view class="absolute left-0 box-middle">手机号码</view>
|
||
<view>
|
||
<input class="wp100 height-90 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入客户手机号" bindinput='inputTx' data-key="mobile" name='mobile' value='{{mobile}}' />
|
||
</view>
|
||
</view>
|
||
<!--
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
||
<view class="absolute left-0 box-middle">所在城市</view>
|
||
<view class="pt30 pb30 text-right font-28 color-666">
|
||
<picker bindchange="changeCity" value="{{cityIndex}}" range="{{cityArr}}">
|
||
<text class="color-ccc" wx:if="{{cityIndex == -1}}">请选择</text>
|
||
<text wx:else>{{cityArr[cityIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28" wx:if="{{city_id}}">
|
||
<view class="absolute left-0 box-middle">所在地区</view>
|
||
<view class="pt30 pb30 text-right font-28 color-666">
|
||
<picker bindchange="changeCounty" value="{{countyIndex}}" range="{{countyArr}}">
|
||
<text class="color-ccc" wx:if="{{countyIndex == -1}}">请选择</text>
|
||
<text wx:else>{{countyArr[countyIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
-->
|
||
<view class="relative bbs-1-eb pl190 last-b-none">
|
||
<view class="absolute left-0 box-middle font-28 color-333">建卡开始时间</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker mode="date" value="{{s_time}}" bindchange="startDate">
|
||
<text class="color-ccc" wx:if="{{s_time == ''}}">请选择</text>
|
||
<text wx:else>{{s_time}}</text>
|
||
<i class="iconfont ml10 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb pl190 last-b-none">
|
||
<view class="absolute left-0 box-middle font-28 color-333">建卡结束时间</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker mode="date" value="{{e_time}}" bindchange="endDate">
|
||
<text class="color-ccc" wx:if="{{e_time == ''}}">请选择</text>
|
||
<text wx:else>{{e_time}}</text>
|
||
<i class="iconfont ml10 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb pt25 pb25 last-b-none">
|
||
<view class="font-22">跟进时间</view>
|
||
<view class="fn-clear">
|
||
<block wx:for="{{timeSlot}}" wx:key='index'>
|
||
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{timeSlotIndex == index?'bg-333 color-fff':'bg-f8'}}" bindtap="radioPicker" data-type="timeSlot" data-index="{{index}}">
|
||
{{item.title}}
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<!-- <view class="relative bbs-1-eb pt25 pb25 last-b-none">
|
||
<view class="font-22">是否试驾</view>
|
||
<view class="fn-clear">
|
||
<block wx:for="{{testDrive}}" wx:key='index'>
|
||
<view class="inline-block radio-btn mt20 mr20 pt15 pb15 pl25 pr25 ulib-r10 font-28 {{testDriveIndex == index?'bg-333 color-fff':'bg-f8'}}" bindtap="radioPicker" data-type="testDrive" data-index="{{index}}">
|
||
{{item.title}}
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</view> -->
|
||
<view class="relative bbs-1-eb pl190 last-b-none">
|
||
<view class="absolute left-0 box-middle font-28 color-333">意向等级</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeLevel" value="{{levelIndex}}" range="{{filter.level}}">
|
||
<text class="color-ccc" wx:if="{{levelIndex == -1}}">请选择</text>
|
||
<text wx:else>{{filter.level[levelIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<!-- <view class="relative bbs-1-eb pl190 last-b-none">
|
||
<view class="absolute left-0 box-middle font-28 color-333">车辆品牌</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeBrand" value="{{brandIndex}}" range="{{brandArray}}">
|
||
<text class="color-ccc" wx:if="{{brandIndex == -1}}">请选择</text>
|
||
<text wx:else>{{brandArray[brandIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{brandIndex != -1}}">
|
||
<view class="absolute left-0 box-middle font-28 color-333">车系车型</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeModel" value="{{modelIndex}}" range="{{modelArray}}">
|
||
<text class="color-ccc" wx:if="{{modelIndex == -1}}">请选择</text>
|
||
<text wx:else> {{modelArray[modelIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view> -->
|
||
<block wx:if="{{sources.length>0}}">
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
||
<view class="absolute left-0 box-middle">客户来源</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeOf1" value="{{of1Index}}" range="{{of1Arr}}">
|
||
<text class="color-ccc" wx:if="{{of1Index == -1}}">请选择</text>
|
||
<text wx:else>{{of1Arr[of1Index]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb last-b-none pl140 font-28" wx:if="{{of2Arr.length>0}}">
|
||
<view class="absolute left-0 box-middle">{{sources[of1Index].name}}</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeOf2" value="{{of2Index}}" range="{{of2Arr}}">
|
||
<text class="color-ccc" wx:if="{{of2Index == -1}}">请选择</text>
|
||
<text wx:else>{{of2Arr[of2Index]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<!-- <view class="relative bbs-1-eb pl190 last-b-none">
|
||
<view class="absolute left-0 box-middle font-28 color-333">到店次数</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
|
||
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
|
||
<text wx:else>{{c_time}}</text>
|
||
<i class="iconfont ml10 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view> -->
|
||
<!-- <view class="relative bbs-1-eb last-b-none pl140 font-28" wx:if="{{staffArray.length>0&&userInfo.group_id>1}}">
|
||
<view class="absolute left-0 box-middle">销售顾问</view>
|
||
<view class="pt25 pb25 text-right font-28 color-666">
|
||
<picker bindchange="changeStaff" value="{{staffIndex}}" range="{{staffArray}}">
|
||
<text class="color-ccc" wx:if="{{staffIndex == -1}}">请选择</text>
|
||
<text wx:else>{{staffArray[staffIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view> -->
|
||
<view class="relative bbs-1-eb pt25 pb25 last-b-none">
|
||
<view class="font-22">车管家</view>
|
||
<view class="fn-clear">
|
||
<block wx:for="{{staffobj}}" wx:key='index'>
|
||
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{item.checked?'bg-333 color-fff':'bg-f8'}}" bindtap="checkPicker" data-index="{{index}}">
|
||
{{item.uname}}
|
||
</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<!-- 隐藏客户画像搜索
|
||
<block wx:for='{{taglList}}' wx:for-item='list' wx:for-index='i' wx:key='i'>
|
||
<view class="relative mt40">
|
||
<view class="font-28">
|
||
<text class="text-middle">{{list.name}}</text>
|
||
<text class="text-middle font-24" wx:if="{{list.type=='radio'}}">(单选)</text>
|
||
<text class="text-middle font-24" wx:if="{{list.type=='checkbox'}}">(多选)</text>
|
||
</view>
|
||
<view class="fn-clear" wx:if="{{list.type=='radio'}}">
|
||
<block wx:for='{{list.list}}' wx:for-item='option' wx:for-index='j' wx:key='j'>
|
||
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{option.checked?'bg-333 color-fff':'bg-f8 color-666'}}" bindtap="tagRadioPicker" data-i="{{i}}" data-j="{{j}}">{{option.name}}</view>
|
||
</block>
|
||
</view>
|
||
<view class="fn-clear" wx:if="{{list.type=='checkbox'}}">
|
||
<block wx:for='{{list.list}}' wx:for-item='option' wx:for-index='j' wx:key='j'>
|
||
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{option.checked?'bg-333 color-fff':'bg-f8 color-666'}}" bindtap="tagCheckPicker" data-i="{{i}}" data-j="{{j}}">{{option.name}}</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
-->
|
||
<view class="relative bbs-1-eb pl190">
|
||
<view class="absolute left-0 box-middle font-28 color-333">车辆品牌</view>
|
||
<view class="pt15 pb15 text-right font-28 color-666">
|
||
<view class="pt15 pb15 text-right font-28 color-666" bindtap="bindShowBrand">
|
||
<text wx:if="{{brand_name}}}">{{brand_name||'请选择'}}</text>
|
||
<text class="color-ccc" wx:else>请选择</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="relative bbs-1-eb pl190" wx:if="{{brandIndex != -1}}">
|
||
<view class="absolute left-0 box-middle font-28 color-333">车系车型</view>
|
||
<view class="pt30 pb30 text-right font-28 color-666">
|
||
<picker bindchange="changeModel" value="{{modelIndex}}" range="{{modelArray}}">
|
||
<text class="color-ccc" wx:if="{{modelIndex == -1}}">请选择</text>
|
||
<text wx:else>{{modelArray[modelIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo"></i>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="pt50 pb100"></view>
|
||
</scroll-view>
|
||
<view class="absolute left-0 bottom-0 right-0 fn-flex pt20 pb200 pl60 pr60 bg-fff-op90 text-center">
|
||
<view class="fn-flex-item mr20 pt15 pb15 bds-2-36afa2 font-32 color-36afa2 ulib-r750" bindtap="resetFilter">重置</view>
|
||
<view class="fn-flex-item ml20 pt15 pb15 bg-36afa2 font-32 color-fff ulib-r750" bindtap="submitFilter">确定</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="search-bg fixed left-0 right-0 top-0 bottom-0" bindtap="optfilter" hidden="{{!isShowfilter}}" style="background-color:rgba(0,0,0,.5);"></view>
|
||
|
||
<view class="fixedopt">
|
||
<view class="optpin bg-333 relative ulib-r750">
|
||
<view class="absolute top-0 bottom-0 left-0 right-0 z-index-0" bindtap="showMobileMsg">
|
||
<i class="absolute box-center-middle iconfont icon-shouji font-44 color-fff"></i>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<lcb-changeMobile isShow="{{isShowMobile}}"></lcb-changeMobile>
|
||
|
||
<lcb-msg isShow="{{isShowEmployees}}" isCustomTabBar="{{true}}">
|
||
<view slot="content">
|
||
<view class="inner30">
|
||
<!--
|
||
<view class="mt10 font-28 text-center fn-flex" wx:if="{{distributetabs.length > 0}}">
|
||
<block wx:for="{{distributetabs}}" wx:key="index">
|
||
<view class="fn-flex-item relative ml10 mr10 pt20 pb20 ulib-r10 {{distTabId == item.id?'bg-36afa2 color-fff':'bg-f6'}}" bindtap="changeDistTab" data-id="{{item.id}}">{{item.name}}</view>
|
||
</block>
|
||
</view>
|
||
-->
|
||
<block wx:if="{{distTabId == 1}}">
|
||
<view class="mt20 ml10 mr10 bds-2-eb inner20 font-28 color-666 fn-clear ulib-r10">
|
||
<view class="fn-fl">车管家</view>
|
||
<picker class="fn-fr wp60 text-right" bindchange="changeEmployee" value="{{employeeIndex}}" range="{{staffArray}}">
|
||
<text class="color-ccc" wx:if="{{employeeIndex == -1}}">请选择</text>
|
||
<text wx:else>{{staffArray[employeeIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo color-ccc"></i>
|
||
</picker>
|
||
</view>
|
||
<view class="mt20 ml10 mr10 bds-2-eb inner20 font-28 color-666 fn-clear ulib-r10">
|
||
<view class="fn-fl">计划回访时间</view>
|
||
<view bindtap="optShowTimePicker" class="fn-fr wp60 text-right">
|
||
<text class="color-ccc" wx:if="{{nextIndex == -1}}">请选择</text>
|
||
<text wx:else>{{dateList[nextIndex].year}}-{{dateList[nextIndex].month}}-{{dateList[nextIndex].day}}</text>
|
||
<i class="iconfont ml5 icon-gengduo color-ccc"></i>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<view class="mt20 ml10 mr10 bds-2-eb inner20 font-28 color-666 fn-clear ulib-r10" wx:else>
|
||
<view class="fn-fl">门店名称</view>
|
||
<picker class="fn-fr wp70 text-right" bindchange="changeDistBiz" value="{{distBizIndex}}" range="{{bizArray}}">
|
||
<view class="text-nowrap">
|
||
<text class="color-ccc" wx:if="{{distBizIndex == -1}}">请选择</text>
|
||
<text wx:else>{{bizArray[distBizIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo color-ccc"></i>
|
||
</view>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="fn-flex ml10 mr10 pl60 pr60 pb50 text-center font-32 color-666">
|
||
<button bindtap="optEmployees" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">取消</button>
|
||
<button disabled="{{submitFlag}}" bindtap="putAppCustomersAdmins" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">确定</button>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
|
||
<lcb-msg isShow="{{isShowTimePicker}}" isCustomTabBar="{{true}}">
|
||
<view slot="content">
|
||
<view class="">
|
||
<view class="relative pt30 pb30 text-center font-30">
|
||
<view class="color-666">计划回访时间</view>
|
||
<i bindtap="optShowTimePicker" class="absolute right-0 box-middle mr30 iconfont icon-guanbi1"></i>
|
||
</view>
|
||
<view class="fn-flex pt30 pb30 bbs-1-eb text-center font-24">
|
||
<block wx:for="{{weekList}}" wx:key="index">
|
||
<view class="fn-flex-item">{{item}}</view>
|
||
</block>
|
||
</view>
|
||
<view class="pb180 relative">
|
||
<view class="absolute top-0 box-center mt130 font-180 color-f8">{{cMonth}}</view>
|
||
<view class="relative fn-flex fn-flex-wrap pt30 pb30 text-center font-24 z-index-2">
|
||
<block wx:for="{{dateList}}" wx:key="index">
|
||
<view bindtap="{{item.isopt?'optday':''}}" data-index="{{index}}" class="datecell ulib-r10 {{nextIndex == index?'active':''}} {{item.isopt?'color-1a':'color-ccc'}}">{{item.day}}</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
<!--
|
||
<page-container show="{{isShowTimePicker}}" round="{{true}}" overlay="true" duration="300" z-index="10000" position="bottom" close-on-slide-down="{{false}}" bindenter="onEnter" custom-style="false" overlay-style="false">
|
||
<view class="">
|
||
<view class="relative pt30 pb30 text-center font-30">
|
||
<view class="color-666">计划回访时间</view>
|
||
<i bindtap="optShowTimePicker" class="absolute right-0 box-middle mr30 iconfont icon-guanbi1"></i>
|
||
</view>
|
||
<view class="fn-flex pt30 pb30 bbs-1-eb text-center font-24">
|
||
<block wx:for="{{weekList}}" wx:key="index">
|
||
<view class="fn-flex-item">{{item}}</view>
|
||
</block>
|
||
</view>
|
||
<view class="pb180 relative">
|
||
<view class="absolute top-0 box-center mt130 font-180 color-f8">{{cMonth}}</view>
|
||
<view class="relative fn-flex fn-flex-wrap pt30 pb30 text-center font-24 z-index-2">
|
||
<block wx:for="{{dateList}}" wx:key="index">
|
||
<view bindtap="{{item.isopt?'optday':''}}" data-index="{{index}}" class="datecell ulib-r10 {{nextIndex == index?'active':''}} {{item.isopt?'color-1a':'color-ccc'}}">{{item.day}}</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</page-container>
|
||
-->
|
||
<!-- 拨打电话 -->
|
||
<lcb-msg isShow="{{isShowCall}}" isCustomTabBar="{{true}}">
|
||
<view slot="content">
|
||
<view class="pt50 pb40">
|
||
<view class="font-36 text-center">号码绑定成功</view>
|
||
<view class="mt10 font-28 text-center color-666">现在呼叫 {{phoneNumber}} ?</view>
|
||
</view>
|
||
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
|
||
<button bindtap="hideCall" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">
|
||
取消
|
||
</button>
|
||
<button bindtap="makePhoneCall" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">
|
||
确定
|
||
</button>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
|
||
<!-- 确认解锁线索 -->
|
||
<lcb-msg isShow="{{isShowLock}}" isCustomTabBar="{{true}}">
|
||
<view slot="content">
|
||
<view class="pt50 pb40">
|
||
<view class="font-36 text-center">确认解锁线索</view>
|
||
<view class="mt10 font-28 text-center color-666">解锁后,视为接受<text style="color:#184ebb;">《合作条款》</text></view>
|
||
</view>
|
||
<view class="text-center font-24 color-aaa pb30">
|
||
<text class="iconfont icon-checkbox-selected-fill"></text><text>不再提醒</text>
|
||
</view>
|
||
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
|
||
<button bindtap="hideLock" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">
|
||
取消
|
||
</button>
|
||
<button bindtap="bindLock" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">
|
||
确定
|
||
</button>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
<!-- 确认不解锁线索 -->
|
||
<lcb-msg isShow="{{isShowNotLock}}" isCustomTabBar="{{true}}">
|
||
<view slot="content">
|
||
<view class="pt50">
|
||
<view class="font-36 text-center">确认不解锁线索</view>
|
||
</view>
|
||
<view class="mt20 bds-2-eb ml40 mr40 inner20 font-28 color-666 fn-clear ulib-r10">
|
||
<view class="fn-fl">选择理由</view>
|
||
<picker class="fn-fr wp60 text-right" bindchange="changeReason" value="{{reasonIndex}}" range="{{reasonList}}">
|
||
<text class="color-ccc" wx:if="{{reasonIndex == -1}}">请选择</text>
|
||
<text wx:else>{{reasonList[reasonIndex]}}</text>
|
||
<i class="iconfont ml5 icon-gengduo color-ccc"></i>
|
||
</picker>
|
||
</view>
|
||
<view class="fn-flex mt20 pl60 pr60 pb50 text-center font-32 color-666">
|
||
<button bindtap="hideNotlock" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">
|
||
取消
|
||
</button>
|
||
<button bindtap="bindLock" data-unlock="true" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">
|
||
确定
|
||
</button>
|
||
</view>
|
||
</view>
|
||
</lcb-msg>
|
||
|
||
<brandSelect show="{{brand_page_show}}" bindleave="getBrandData"></brandSelect> |