crm_second_opening_mini/components/content/selectTemp/selectTemp.wxml

1 line
5.8 KiB
Plaintext

<view class="select_warp"><view class="manage_tab"><view class="tab_array"><image src="{{BASE_IMG_URL+'ss.png'}}" mode="scaleToFill"></image><input class="{{['li_box',name?'fontactive':'']}}" type="text" placeholder-style="color:#999;" placeholder="客户名称" data-event-opts="{{[['confirm',[['doSearch',['$event']]]],['input',[['__set_model',['','name','$event',[]]],['doSearch',['$event']]]]]}}" value="{{name}}" bindconfirm="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['screenClick',['$event']]]]]}}" class="{{['tab_screen',(screen)?'sort_active':'']}}" bindtap="__e"><image src="{{BASE_IMG_URL+'shaixuan.png'}}" mode="scaleToFill"></image></view></view><view style="height:80rpx;"></view><block wx:if="{{showsort||screen}}"><view data-event-opts="{{[['tap',[['closeSelectwarp',['$event']]]],['touchmove',[['moveStop',['$event']]]]]}}" class="warpbox" catchtap="__e" catchtouchmove="__e"><scroll-view class="scrollbox" style="height:800rpx;background:#fff;" scroll-y="{{true}}"><block wx:if="{{showsort}}"><view class="sort_content"><view class="sort_feedback"><view class="feedback_header">排序属性</view><view class="feedback_main mar-180"><block wx:for="{{sortData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSortTab',['$0'],[[['sortData','',index]]]]]]]}}" class="{{['main_con',sortid==item.id?'tabactive':'']}}" catchtap="__e">{{''+item.name+''}}</view></block></view></view></view></block><block wx:if="{{screen}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="screen_content" catchtap="__e"><view class="fir_li"><view class="li_label">客户星级</view><u-rate vue-id="53f277d0-1" count="{{5}}" active-color="#FFD049" inactive-color="#b2b2b2" gutter="20" value="{{level}}" data-event-opts="{{[['^change',[['changeLevel']]],['^input',[['__set_model',['','level','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-rate></view><view class="fir_li"><view class="li_label">客户来源</view><picker value="{{sourceIndex}}" range="{{sourceList}}" data-event-opts="{{[['change',[['changeSource',['$event']]]]]}}" bindchange="__e"><view class="li_box"><view class="form_right"><view class="{{[source?'fontactive':'']}}">{{source?source:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></view></picker></view><view class="fir_li"><view class="li_label">跟进状态</view><picker value="{{followIndex}}" range="{{followList}}" data-event-opts="{{[['change',[['changeFollow',['$event']]]]]}}" bindchange="__e"><view class="li_box"><view class="form_right"><view class="{{[follow?'fontactive':'']}}">{{follow?follow:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></view></picker></view><view class="fir_li"><view class="li_label">成交状态</view><picker value="{{statusIndex}}" range="{{statusArr}}" data-event-opts="{{[['change',[['changeStatus',['$event']]]]]}}" bindchange="__e"><view class="li_box"><view class="form_right"><view class="{{[statusArr[statusIndex]?'fontactive':'']}}">{{statusArr[statusIndex]?statusArr[statusIndex]:'点击选择'}}</view><view class="iconfont icon-arrows_right"></view></view></view></picker></view><block wx:if="{{!isSeas}}"><view class="fir_li"><view class="li_label">归属人</view><view data-event-opts="{{[['tap',[['toSelectStaff',['$event']]]]]}}" class="li_box" bindtap="__e"><view class="form_right"><view class="{{[staffObj?'fontactive':'']}}">{{''+(staffObj?staffObj.name:'点击选择')}}</view><view class="iconfont icon-arrows_right"></view></view></view></view></block><view class="fir_li"><view class="li_label">新增客户时间</view><view class="li_box" style="display:flex;justify-content:space-around;"><picker style="width:50%;border-right:1rpx solid #CCCCCC;" mode="date" end="{{new_end_time}}" data-event-opts="{{[['change',[['changeNewStartTime',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{[new_start_time?'fontactive':'']}}" style="flex:1;text-align:center;">{{''+(new_start_time?new_start_time:'开始时间')}}</view><view class="iconfont icon-arrows_right"></view></view></picker><picker style="width:50%;" mode="date" start="{{new_start_time}}" data-event-opts="{{[['change',[['changeNewEndTime',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{[new_end_time?'fontactive':'']}}" style="flex:1;text-align:center;">{{''+(new_end_time?new_end_time:'结束时间')}}</view><view class="iconfont icon-arrows_right"></view></view></picker></view></view><view class="fir_li"><view class="li_label">下次联系时间</view><view class="li_box" style="display:flex;justify-content:space-around;"><picker style="width:50%;border-right:1rpx solid #CCCCCC;" mode="date" end="{{end_time}}" data-event-opts="{{[['change',[['changeStartTime',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{[start_time?'fontactive':'']}}" style="flex:1;text-align:center;">{{''+(start_time?start_time:'开始时间')}}</view><view class="iconfont icon-arrows_right"></view></view></picker><picker style="width:50%;" mode="date" start="{{start_time}}" data-event-opts="{{[['change',[['changeEndTime',['$event']]]]]}}" bindchange="__e"><view class="form_right"><view class="{{[end_time?'fontactive':'']}}" style="flex:1;text-align:center;">{{''+(end_time?end_time:'结束时间')}}</view><view class="iconfont icon-arrows_right"></view></view></picker></view></view></view></block></scroll-view><view class="button_bottom"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" catchtap="__e">重置</view><view data-event-opts="{{[['tap',[['sureQuery',['$event']]]]]}}" catchtap="__e">确定</view></view></view></block><select-staff class="vue-ref" bind:sureStaff="__e" vue-id="53f277d0-2" data-ref="staffChild" data-event-opts="{{[['^sureStaff',[['sureStaff']]]]}}" bind:__l="__l"></select-staff></view>