116 lines
5.4 KiB
Plaintext
116 lines
5.4 KiB
Plaintext
<view class="container">
|
|
|
|
<view class="mt10 pl30 pr30">
|
|
|
|
<checkbox-group bindchange="checkboxChange">
|
|
<block wx:for='{{list}}' wx:key='index' wx:key="index">
|
|
<label class="block inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden">
|
|
<view class="relative pr180">
|
|
<view class="font-32">
|
|
<text class="text-middle text-bold">{{item.name}}</text>
|
|
<text class="text-middle font-26 color-666">({{item.mobile}})</text>
|
|
</view>
|
|
<checkbox class="absolute right-0 box-middle font-30" value="{{item.id}}" checked="{{item.checked}}"/>
|
|
</view>
|
|
<view class="text-nowrap" wx:if="{{item.reassign}}">
|
|
<text class="inline-block mr10 pl10 pr10 bg-666 font-18 color-fff ulib-r750">{{item.reassign}}</text>
|
|
</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" wx:if="{{value}}">
|
|
<view class="fn-fl color-333">{{key}}</view>
|
|
<view class="fn-fr wp60 text-nowrap text-right color-666">{{value}}</view>
|
|
</view>
|
|
</block>
|
|
</label>
|
|
</block>
|
|
</checkbox-group>
|
|
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
|
|
</view>
|
|
|
|
<view>
|
|
<view class="height-100"></view>
|
|
<view class="fixed left-0 right-0 bottom-0 pt30 pb30 pl100 pr100 bg-fff-op80">
|
|
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{ids.length==0}}" bindtap="optEmployees">分配给销售</button>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<lcb-footer></lcb-footer>
|
|
<lcb-backChannel></lcb-backChannel>
|
|
|
|
<lcb-msg isShow="{{isShowEmployees}}">
|
|
<view slot="content">
|
|
<view class="inner40">
|
|
<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 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="{{employeeArray}}">
|
|
<text class="color-ccc" wx:if="{{employeeIndex == -1}}">请选择</text>
|
|
<text wx:else>{{employeeArray[employeeIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo color-ccc"></i>
|
|
</picker>
|
|
</view>
|
|
<view class="mt20 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 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>
|
|
|
|
<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="pb40 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> |