123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <wxs src="../../../utils/filters.wxs" module="filters"></wxs>
- <view class="pageStyle">
- <view class="activitySearch">
- <picker bindchange="bindPickerChange" range-key="title" value="{{index}}" range="{{activitylist}}">
- <view class="picker">
- <text class="colorB3C6DA">{{activitylist.length?activitylist[index].title:'暂无活动'}}</text>
- <image class="blackrangle" src="../../../img/blackrangle.png"></image>
- </view>
- </picker>
- </view>
- <view class="activityViewData">
- <view class="flex-sub flex-column align-center justify-center font28">
- <view class="fontw700 font38">{{registered}}</view>
- <view class="color999">已报名</view>
- </view>
- <view class="flex-sub flex-column align-center justify-center font28">
- <view class="fontw700 font38">{{confirmed}}</view>
- <view class="color999">已确认</view>
- </view>
- <view class="flex-sub flex-column align-center justify-center font28">
- <view class="fontw700 font38">{{unconfirmed}}</view>
- <view class="color999">未确认</view>
- </view>
- </view>
- <view class="searchBox">
- <view class="flex-sub font28 color333 relative">
- <view class="flex align-center" bindtap="handleShowType">
- <text>{{typeArr[typeIndex].name}}</text>
- <image class="blackrangle ml5" mode="widthFix" src="../../../img/blackrangle.png"></image>
- </view>
- <view wx:if="{{showType}}" class="selectlist">
- <view wx:for="{{typeArr}}" data-index="{{index}}" data-id="{{item.id}}" bindtap="bindTypeChange" wx:key="index">{{item.name}}</view>
- </view>
- </view>
- <view bindtap="handleShowDepart" class="flex-sub flex align-center justify-center font28 color333">
- <text>{{(!orgName)?'部门筛选':orgName}}</text>
- <image class="filtericon ml5" src="../../../img/filtericon.png"></image>
- </view>
- <view class="flex-sub flex justify-end align-center font28 color333" bindtap="showCalendar">
- <text class="dateWidth">{{date?date:'确认时间'}}</text>
- <image class="addtime ml5" src="../../../img/addtime.png"></image>
- </view>
- </view>
- <view wx:for="{{list}}" wx:key="index" class="clientItemBox relative">
- <view class="flex align-center color384855 font28">
- <image class="sexStyle" src="{{item.headimgurl||'../../../img/crmman.png'}}"></image>
- <text class="ml10 nicknameWidth">昵称:{{item.nickname}}</text>
- <text wx:if="{{item.qrcode_status == 1}}" class="ml20">确认时间:{{filters.time(item.qrcode_time)}}</text>
- </view>
- <view class="flex align-center colorB3C6DA font28 mt20">
- <text>所属业务员:{{item.name}}</text>
- <text class="ml20">所属部门:{{item.org_name}}</text>
- </view>
- <view class="statebtn bgCDB8F6" wx:if="{{item.cate==0&&item.qrcode_status==1}}">店</view>
- <view class="statebtn bgFFD483" wx:if="{{item.cate==1&&item.qrcode_status==1}}">活</view>
- </view>
- <nonedata len="{{list.length}}" datashow="{{list.length==0&&datashow}}"></nonedata>
- <view bindtap="scanningCodeTap" class="scanningCodeBtn">扫码确认</view>
- <calendar show="{{show}}" type="range" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:close="onClose" color="#249BEF" allow-same-day bind:confirm="onConfirm"></calendar>
- <view wx:if="{{showType}}" class="mask" bindtap="closeMask"></view>
- <view wx:if="{{showDepart}}" class="maskStyle">
- <view class="departBox">
- <view class="dHeader">
- <image wx:if="{{levelIds.length > 1}}" bindtap="lastLevel" src="../../../img/last.png" mode="widthFix"></image>
- 选择部门</view>
- <view class="dContent">
- <view class="dSearch">
- <input type="text" value="{{keyword}}" bindinput="inputKeyWord"/>
- <view class="font28" bindtap="handleSearch">搜索</view>
- </view>
- <radio-group bindchange="radioChange">
- <view class="weui-cell weui-check__label" wx:for="{{levelDepart}}" wx:key="{{item.id}}">
- <view class="weui-cell__hd">
- <radio value="{{item.id}}~{{item.name}}" checked="{{(item.id == radioObj.id)}}"/>
- </view>
- <view bindtap="handleLevel" data-id="{{item.id}}" class="weui-cell__bd font28">{{item.name}} ({{item.children ? item.children.length : 0}})</view>
- </view>
- </radio-group>
- </view>
- <view class="dFooter">
- <view class="dCancelBtn" bindtap="closeMask">取消</view>
- <view class="dConfirmBtn" bindtap="confirmDepart">确定</view>
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{activityshow}}" class="personbox">
- <view class="personnumbox">
- <view class="numinput font28">
- <input class="pull-left inputext" type="text" value="到店人数" disabled/>
- <input class="pull-left input1" bindinput="setnumtap" value="{{activitynum}}" placeholder-class="color: #9db6cf;" placeholder="请输入到店人数" type="number"/>
- </view>
- <button bindtap="surestoretap" class="surebtn">确定到店</button>
- </view>
- </view>
|