1 |
- <app-layout vue-id="6f58fa84-1" class="data-v-562c3170" bind:__l="__l" vue-slots="{{['default']}}"><view class="admin data-v-562c3170"><view class="navigator dir-left-nowrap data-v-562c3170"><view data-event-opts="{{[['tap',[['setActive',[0]]]]]}}" class="box-grow-1 data-v-562c3170" bindtap="__e"><view class="dir-top-nowrap cross-center data-v-562c3170"><text class="{{['text','data-v-562c3170',(active===0)?'active-text':'']}}">全部用户</text></view></view><view data-event-opts="{{[['tap',[['setActive',[1]]]]]}}" class="box-grow-1 data-v-562c3170" bindtap="__e"><view class="dir-top-nowrap cross-center data-v-562c3170"><text class="{{['text','data-v-562c3170',(active===1)?'active-text':'']}}">分销商</text></view></view><view data-event-opts="{{[['tap',[['setActive',[2]]]]]}}" class="box-grow-1 data-v-562c3170" bindtap="__e"><view class="dir-top-nowrap cross-center data-v-562c3170"><text class="{{['text','data-v-562c3170',(active===2)?'active-text':'']}}">核销员</text></view></view></view><view class="search data-v-562c3170"><block wx:if="{{search}}"><view data-event-opts="{{[['tap',[['setSearch',['$event']]]]]}}" class="prompt dir-left-nowrap main-center cross-center data-v-562c3170" bindtap="__e"><image src="../../../static/image/icon/icon-search.png" class="data-v-562c3170"></image><text class="data-v-562c3170">{{active==2?'请输入昵称/门店搜索':active==0?'请输入ID/昵称/手机号/备注/联系方式名搜索':'请输入ID/昵称/手机号/姓名搜索'}}</text></view></block><block wx:else><view style="position:relative;" class="data-v-562c3170"><input placeholder="{{active===2?'请输入昵称/门店搜索':active===0?'请输入ID/昵称/手机号/备注/联系方式名搜索':'请输入ID/昵称/手机号/姓名搜索'}}" type="text" focus="{{true}}" data-event-opts="{{[['focus',[['e0',['$event']]]],['blur',[['inputBlur',['$event']]]],['confirm',[['keywordSearch',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindfocus="__e" bindblur="__e" bindconfirm="__e" bindinput="__e" class="data-v-562c3170"/><block wx:if="{{getFocus&&keyword.length>0}}"><image class="search-clear data-v-562c3170" src="../image/clear.png" data-event-opts="{{[['tap',[['clearSearch',['$event']]]]]}}" catchtap="__e"></image></block></view></block></view><block wx:if="{{active===2}}"><view class="sort dir-left-nowrap data-v-562c3170"><view class="sort-item box-grow-1 data-v-562c3170"><view data-event-opts="{{[['tap',[['setSort',[0]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><view class="data-v-562c3170">订单数</view><image src="{{''+(sort===1?'../image/toDown.png':sort===2?'../image/up.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view><view class="sort-item box-grow-1 data-v-562c3170"><view data-event-opts="{{[['tap',[['setSort',[1]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><view class="data-v-562c3170">金额</view><image src="{{''+(sort===3?'../image/toDown.png':sort===4?'../image/up.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view><view class="sort-item box-grow-1 data-v-562c3170"><view data-event-opts="{{[['tap',[['setSort',[2]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><view class="data-v-562c3170">卡券数</view><image src="{{''+(sort===5?'../image/toDown.png':sort===6?'../image/up.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view></view></block><block wx:if="{{active===1}}"><view class="sort-one dir-left-nowrap data-v-562c3170"><view class="sort-item data-v-562c3170"><view data-event-opts="{{[['tap',[['distributorSort',[0]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><text class="data-v-562c3170">累计金额</text><image src="{{''+(sort===1?'../image/up.png':sort===2?'../image/toDown.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view><view class="sort-item data-v-562c3170"><view data-event-opts="{{[['tap',[['distributorSort',[1]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><text class="data-v-562c3170">可提现金额</text><image src="{{''+(sort===3?'../image/up.png':sort===4?'../image/toDown.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view></view></block><block wx:if="{{active===0}}"><view class="sort-one dir-left-nowrap data-v-562c3170"><view class="sort-item data-v-562c3170"><view data-event-opts="{{[['tap',[['allSort',[0]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><text class="data-v-562c3170">交易额</text><image src="{{''+(sort===1?'../image/up.png':sort===2?'../image/toDown.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view><view class="sort-item data-v-562c3170"><view data-event-opts="{{[['tap',[['allSort',[1]]]]]}}" bindtap="__e" class="data-v-562c3170"><view class="view dir-left-nowrap main-center cross-center data-v-562c3170"><text class="data-v-562c3170">订单数</text><image src="{{''+(sort===3?'../image/up.png':sort===4?'../image/toDown.png':'../image/sort.png')}}" class="data-v-562c3170"></image></view></view></view></view></block><view class="content safe-area-inset-bottom data-v-562c3170"><block wx:if="{{list.length===0}}"><view class="no-people data-v-562c3170"><image src="https://shop.9026.com/web/statics/img/app/app_admin/no-user.png" class="data-v-562c3170"></image><view class="data-v-562c3170">没有任何用户哦</view></view></block><block wx:if="{{active===0}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="all-item data-v-562c3170"><view class="avatar-name dir-left-nowrap data-v-562c3170"><image class="avatar data-v-562c3170" src="{{item.avatar}}"></image><view class="name data-v-562c3170"><view class="dir-left-nowrap cross-bottom data-v-562c3170"><view class="nickname t-omit data-v-562c3170">{{item.nickname}}</view><view class="member member-name t-omit data-v-562c3170">{{item.member_name}}</view></view><block wx:if="{{item.remark_name}}"><view class="member data-v-562c3170">{{"备注名:"+item.remark_name}}</view></block></view></view><view class="number dir-left-wrap data-v-562c3170"><view class="item margin dir-left-nowrap data-v-562c3170"><text class="label data-v-562c3170">交易额</text><text class="amount data-v-562c3170">{{"¥"+item.order_sum}}</text></view><view class="item margin dir-left-nowrap data-v-562c3170"><text class="label data-v-562c3170">积分</text><text class="amount data-v-562c3170">{{item.integral}}</text></view><view class="item dir-left-nowrap data-v-562c3170"><text class="label data-v-562c3170">订单数</text><text class="amount data-v-562c3170">{{item.order_count}}</text></view><view class="item dir-left-nowrap data-v-562c3170"><text class="label data-v-562c3170">余额</text><text class="amount data-v-562c3170">{{"¥"+item.balance}}</text></view></view><block wx:if="{{item.remark}}"><view class="remark data-v-562c3170"><view class="t-omit data-v-562c3170" style="width:80%;">{{"备注: "+item.remark}}</view><block wx:if="{{item.remarkLength>28}}"><view data-event-opts="{{[['tap',[['toLook',['$0'],[[['list','',index]]]]]]]}}" class="look-remark data-v-562c3170" bindtap="__e">查看全部</view></block></view></block><view class="button dir-left-nowrap main-right data-v-562c3170"><view class="deduction data-v-562c3170"><view data-event-opts="{{[['tap',[['toChangeInfo',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-562c3170">修改信息</view></view><view class="deduction data-v-562c3170"><view data-event-opts="{{[['tap',[['setRechargeDeduction',['$0',0],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-562c3170">扣除</view></view><view class="recharge data-v-562c3170"><view data-event-opts="{{[['tap',[['setRechargeDeduction',['$0',1],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-562c3170">充值</view></view></view></view></block></block><block wx:else><block wx:if="{{active===1}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="distributor-item dir-left-nowrap data-v-562c3170"><image class="avatar data-v-562c3170" src="{{item.avatar}}"></image><view class="content-text dir-top-nowrap data-v-562c3170"><view class="name data-v-562c3170">{{item.nickname}}</view><view class="num dir-top-nowrap data-v-562c3170"><view class="amount data-v-562c3170"><text class="prompt data-v-562c3170">累计金额</text><text class="price data-v-562c3170">{{"¥"+item.total_money}}</text></view><view class="data-v-562c3170"><text class="prompt data-v-562c3170">可提现金额</text><text class="price data-v-562c3170">{{"¥"+item.money}}</text></view></view></view></view></block></block><block wx:else><block wx:if="{{active===2}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="auditor-item data-v-562c3170"><view class="avatar-name dir-left-nowrap data-v-562c3170"><image class="avatar data-v-562c3170" src="{{item.user.userInfo.avatar}}"></image><view class="name-content dir-top-nowrap data-v-562c3170"><view class="name data-v-562c3170">{{''+item.user.nickname+''}}</view><view class="shop dir-left-nowrap cross-center data-v-562c3170"><image src="../image/shop.png" class="data-v-562c3170"></image><view class="t-omit data-v-562c3170">{{item.store[0].name}}</view></view></view></view><view class="num-content dir-left-nowrap data-v-562c3170"><view class="box-grow-1 dir-top-nowrap data-v-562c3170"><view class="prompt cross-top data-v-562c3170"><text class="data-v-562c3170">订单数</text></view><view class="num data-v-562c3170">{{item.order_count}}</view></view><view class="box-grow-1 data-v-562c3170"><view class="prompt cross-top data-v-562c3170"><text class="data-v-562c3170">金额</text></view><view class="num data-v-562c3170">{{"¥"+item.total_price}}</view></view><view class="box-grow-1 data-v-562c3170"><view class="prompt cross-top data-v-562c3170"><text class="data-v-562c3170">卡券数</text></view><view class="num data-v-562c3170">{{item.card_count}}</view></view></view><view class="button dir-left-nowrap main-right cross-center data-v-562c3170"><view class="release data-v-562c3170"><view data-event-opts="{{[['tap',[['dismissal',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-562c3170">解除核销员</view></view><view class="modify data-v-562c3170"><view data-event-opts="{{[['tap',[['modifyStore',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e" class="data-v-562c3170">修改门店</view></view></view></view></block></block></block></block></view><block wx:if="{{rechargeBool}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="recharge-key-face data-v-562c3170" catchtouchmove="__e"><view class="key-face-item data-v-562c3170"><view class="nav dir-left-nowrap data-v-562c3170"><view data-event-opts="{{[['tap',[['activeRecharge',[0]]]]]}}" class="box-grow-1 nav-item data-v-562c3170" bindtap="__e"><text class="{{['integral','data-v-562c3170',(rechargeStatus===0)?'recharge-active':'']}}">{{(rechargeDeduction===0?'扣':rechargeDeduction===1?'充':'')+"积分"}}</text></view><view data-event-opts="{{[['tap',[['activeRecharge',[1]]]]]}}" class="box-grow-1 nav-item data-v-562c3170" bindtap="__e"><text class="{{['balance','data-v-562c3170',(rechargeStatus===1)?'recharge-active':'']}}">{{(rechargeDeduction===0?'扣':rechargeDeduction===1?'充':'')+"余额"}}</text></view></view><view class="input data-v-562c3170"><block wx:if="{{rechargeStatus===0}}"><input type="number" placeholder="{{'请填写'+(rechargeDeduction===0?'扣除':rechargeDeduction===1?'充值':'')+placeholder}}" data-event-opts="{{[['input',[['__set_model',['','num','$event',[]]]]]]}}" value="{{num}}" bindinput="__e" class="data-v-562c3170"/></block><block wx:else><input type="digit" placeholder="{{'请填写'+(rechargeDeduction===0?'扣除':rechargeDeduction===1?'充值':'')+placeholder}}" data-event-opts="{{[['input',[['__set_model',['','num','$event',[]]],['checkRecharge',['$event']]]]]}}" value="{{num}}" bindinput="__e" class="data-v-562c3170"/></block><input class="remark-input data-v-562c3170" placeholder="请输入备注信息" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"/></view><view class="button dir-left-nowrap data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['cancelRecharge',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">取消</text></view></view><view class="app-line data-v-562c3170"></view><view class="confirm data-v-562c3170"><view data-event-opts="{{[['tap',[['confirmRecharge',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">确认</text></view></view></view></view></view></block><block wx:if="{{remarkTextarea}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="recharge-key-face data-v-562c3170" catchtouchmove="__e"><view class="key-face-item data-v-562c3170"><view class="header data-v-562c3170">{{look?'备注':'修改备注'}}</view><view class="input data-v-562c3170"><textarea class="textarea data-v-562c3170" disabled="{{look}}" placeholder="请填写备注" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view><block wx:if="{{look}}"><view class="button dir-left-nowrap data-v-562c3170"><view class="confirm data-v-562c3170" style="width:100%;"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">我知道了</text></view></view></view></block><block wx:else><view class="button dir-left-nowrap data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">取消</text></view></view><view class="app-line data-v-562c3170"></view><view class="confirm data-v-562c3170"><view data-event-opts="{{[['tap',[['toRemark',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">确认</text></view></view></view></block></view></view></block><block wx:if="{{modifyStoreBool}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['e3',['$event']]]]]}}" class="modify-store data-v-562c3170" catchtouchmove="__e" catchtap="__e"><view class="modify-store-item data-v-562c3170"><view class="picker-header dir-left-nowrap main-between data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170">取消</view></view><view class="determine data-v-562c3170"><view data-event-opts="{{[['tap',[['determineStore',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170">确定</view></view></view><picker-view class="picker data-v-562c3170" value="{{[storeIndex]}}" mask-class="picker-item" indicator-class="picker-item" data-event-opts="{{[['change',[['pickerChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="data-v-562c3170"><block wx:for="{{storeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item','cross-center','main-center','t-omit','data-v-562c3170',(storeIndex===index)?'sure-color':'',(storeIndex===index+1||storeIndex===index-1)?'cardinal-color':'',(storeIndex===index+2||storeIndex===index-2)?'even-color':'']}}" style="{{'line-height:'+(lineHeight)+';'}}">{{item.name}}</view></block></picker-view-column></picker-view></view></view></block><block wx:if="{{releaseBool}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="release-prompt data-v-562c3170" catchtouchmove="__e"><view class="prompt-item data-v-562c3170"><view class="header data-v-562c3170">提示</view><view class="content data-v-562c3170">是否确认解除核销员</view><view class="button dir-left-nowrap cross-center data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['cancelUndelete',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170">取消</view></view><view class="line data-v-562c3170"></view><view class="sure data-v-562c3170"><view data-event-opts="{{[['tap',[['sureDeletion',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170">确认</view></view></view></view></view></block></view><block wx:if="{{dialog}}"><view class="dialog data-v-562c3170"><block wx:if="{{dialogChoose}}"><view class="dialog-choose data-v-562c3170"><view data-event-opts="{{[['tap',[['toChangeRemark',[1]]]]]}}" class="dialog-choose-item data-v-562c3170" bindtap="__e">修改备注名</view><view data-event-opts="{{[['tap',[['toChangeRemark',[2]]]]]}}" class="dialog-choose-item data-v-562c3170" bindtap="__e">修改备注</view><view data-event-opts="{{[['tap',[['toChangeMember',['$event']]]]]}}" class="dialog-choose-item data-v-562c3170" bindtap="__e">修改会员等级</view><view data-event-opts="{{[['tap',[['toChangeInfo',['$event']]]]]}}" class="dialog-choose-item dialog-cancel data-v-562c3170" bindtap="__e">取消</view></view></block><block wx:if="{{changeRemark}}"><view class="key-face-item data-v-562c3170"><view class="nav dir-left-nowrap data-v-562c3170"><view class="box-grow-1 nav-item data-v-562c3170"><text class="data-v-562c3170">修改备注名</text></view></view><view class="input data-v-562c3170"><input maxlength="8" placeholder="请输入用户备注名(限8个字符)" data-event-opts="{{[['input',[['__set_model',['','remark_name','$event',[]]]]]]}}" value="{{remark_name}}" bindinput="__e" class="data-v-562c3170"/></view><view class="button dir-left-nowrap data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['toChangeInfo',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">取消</text></view></view><view class="app-line data-v-562c3170"></view><view class="confirm data-v-562c3170"><view data-event-opts="{{[['tap',[['toRemarkName',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">确认</text></view></view></view></view></block><block wx:if="{{error}}"><view class="dialog-item data-v-562c3170"><view class="dialog-title data-v-562c3170">提示</view><view class="error-info data-v-562c3170">您暂未设置会员等级</view><view class="error-info data-v-562c3170">请前往商城后台设置</view><view class="main-center btn-area data-v-562c3170"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="submit-btn be-submit data-v-562c3170" bindtap="__e">确认</view></view></view></block><block wx:if="{{changeMember}}"><view class="key-face-item data-v-562c3170"><view class="nav dir-left-nowrap data-v-562c3170"><view class="box-grow-1 nav-item data-v-562c3170"><text class="data-v-562c3170">修改会员等级</text></view></view><view class="member-list data-v-562c3170"><block wx:for="{{member}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['chooseMember',['$0'],[[['member','id',item.id,'level']]]]]]]}}" class="member-item cross-center main-between data-v-562c3170" bindtap="__e"><view class="add-info data-v-562c3170"><view class="t-omit add-name data-v-562c3170">{{item.name}}</view></view><view class="data-v-562c3170"><block wx:if="{{item.level==memberLevel}}"><image src="./../image/active.png" class="data-v-562c3170"></image></block><block wx:else><image src="/static/image/icon/form-er.png" class="data-v-562c3170"></image></block></view></view></block></view><view class="button dir-left-nowrap data-v-562c3170"><view class="cancel data-v-562c3170"><view data-event-opts="{{[['tap',[['toChangeInfo',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">取消</text></view></view><view class="app-line data-v-562c3170"></view><view class="confirm data-v-562c3170"><view data-event-opts="{{[['tap',[['toLevel',['$event']]]]]}}" bindtap="__e" class="data-v-562c3170"><text class="data-v-562c3170">确认</text></view></view></view></view></block></view></block></app-layout>
|