1 |
- <view class="column" style="height:calc(100% - 20rpx);"><view class="top"><u-search vue-id="8bb8b016-1" placeholder="输入姓名/昵称搜索" bgColor="#F8F8FC" value="{{searchContent}}" data-event-opts="{{[['^custom',[['search']]],['^search',[['search']]],['^input',[['__set_model',['','searchContent','$event',[]]]]]]}}" bind:custom="__e" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search><view class="justify-around fs28"><block wx:for="{{tabs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabact',[index]]]]]}}" class="{{['flex-1','center','ptb20',act==index?'active':'notact']}}" bindtap="__e">{{item}}</view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" hidden="{{!(act==1)}}" class="{{['flex-1','center','ptb20',selectact?'active':'']}}" bindtap="__e">批量</view></view></view><block wx:if="{{$root.g0<1}}"><view class="center mt60" style="color:#666;">暂无用户</view></block><scroll-view class="indexes flex-1 pb60" style="{{'height:'+('calc(100vh - 300rpx)')+';'}}" scroll-y="{{true}}" scroll-into-view="{{'indexes-'+listCurID}}" scroll-with-animation="{{true}}" enable-back-to-top="{{true}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><view class="{{['indexItem-'+item.firstLetter]}}" id="{{'indexes-'+item.firstLetter}}" data-index="{{item.firstLetter}}" data-event-opts="{{[['tap',[['',['$event']]]]]}}" catchtap="__e"><view class="zm">{{item.firstLetter}}</view><view class="user-list"><block wx:for="{{item.list}}" wx:for-item="subitem" wx:for-index="indexs" wx:key="indexs"><view data-event-opts="{{[['tap',[['navTo',['$0'],[[['list','',index],['list','',indexs]]]]]]]}}" class="user-item justify-start" bindtap="__e"><block wx:if="{{selectact}}"><u-checkbox-group bind:change="__e" vue-id="{{'8bb8b016-2-'+index+'-'+indexs}}" data-event-opts="{{[['^change',[['changeitem',['$0'],[[['list','',index],['list','',indexs,'userId']]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('8bb8b016-3-'+index+'-'+indexs)+','+('8bb8b016-2-'+index+'-'+indexs)}}" checked="{{subitem.checked}}" shape="circle" activeColor="#1773ff" name="{{subitem.userId}}" labelColor="#1773ff" bind:__l="__l"></u-checkbox></u-checkbox-group></block><view class="bgf p20 radius16 flex-1"><view class="justify-between align-center"><view class="justify-start align-center"><view class="avatar"><image class="img" src="{{subitem.avatar?baseUrl+subitem.avatar:avatar}}" mode="aspectFill"></image></view><view class="content"><view class="name">{{''+subitem.nickName+''}}</view><view class="dept justify-start align-center"><u-icon vue-id="{{'8bb8b016-4-'+index+'-'+indexs}}" name="phone" bind:__l="__l"></u-icon><view>{{subitem.phoneNumber}}</view></view><view class="dept">{{"注册时间:"+subitem.registerTime}}</view></view></view><block wx:if="{{subitem.status==0}}"><view class="base-color fs24">未禁用</view></block><block wx:else><view class="base-color-red fs24">禁用</view></block></view><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="justify-between align-center mt10" catchtap="__e"><view><text class="base-color-9 ml10 fs24">{{"部门:"+(subitem.deptName?subitem.deptName:'')}}</text><view class="fs24 mt10 justify-start align-center" style="color:#115296;"><text class="base-color-9 ml10">{{"岗位:"+(subitem.postname?subitem.postname:'')}}</text><text class="base-color-9 ml20">{{"角色:"+(subitem.rolesname?subitem.rolesname:'')}}</text></view></view><block wx:if="{{subitem.isAudit==1}}"><view class="fs24 base-color mr10 bor-blue h52 lh50 base-bg-sure plr20 radius40" style="width:fit-content;">已审核</view></block><block wx:else><block wx:if="{{subitem.isAudit==0&&!selectact}}"><view data-event-opts="{{[['tap',[['getidshen',['$0'],[[['list','',index],['list','',indexs,'userId']]]]]]]}}" class="fs24 base-color-red mr10 bor-red h52 lh50 base-bg-false plr20 radius40" style="width:fit-content;z-index:999;" bindtap="__e">待审核</view></block></block></view></view></view></block></view></view></view></block></scroll-view><view class="indexBar" style="{{'height:'+('calc(100vh - 88rpx)')+';'}}"><view data-event-opts="{{[['touchstart',[['tStart',['$event']]]],['touchend',[['tEnd',['$event']]]],['touchmove',[['tMove',['$event']]]]]}}" class="indexBar-box" bindtouchstart="__e" bindtouchend="__e" catchtouchmove="__e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="indexBar-item" id="{{index}}" data-event-opts="{{[['touchstart',[['getCur',['$event']]]],['touchend',[['setCur',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e">{{''+item.firstLetter}}</view></block></view></view><block wx:if="{{selectact}}"><view class="justify-between base-bg-f foot-select"><block wx:if="{{selectact}}"><view class="align-center justify-between"><u-checkbox-group bind:change="__e" vue-id="8bb8b016-5" data-event-opts="{{[['^change',[['selectAll']]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('8bb8b016-6')+','+('8bb8b016-5')}}" checked="{{isSelectAll}}" shape="circle" activeColor="#1773ff" name="{{true}}" label="全选" labelColor="#333" bind:__l="__l"></u-checkbox><text class="fs24 base-color-9 ml12">{{"已选"+$root.g1+"个"}}</text></u-checkbox-group></view></block><view class="justify-center"><button data-event-opts="{{[['tap',[['batchApprove',['$event']]]]]}}" class="base-bg-f radius100 base-color-red h62 ml10 fs28 lh60" style="border:#ef4c50 solid 2rpx;" bindtap="__e">通过审核</button></view></view></block><view hidden="{{!(!hidden)}}" class="indexToast">{{''+listCur+''}}</view><u-popup vue-id="8bb8b016-7" show="{{showcommpany}}" mode="center" round="16" bind:__l="__l" vue-slots="{{['default']}}"><view class="bgf w600 h600 p40 radius16" style="max-height:600rpx;"><view class="center bold fs32">设置销售员信息</view><view class="justify-center align-center mtb30"><view class="mr40 fs32 base-color-6">部门:</view><u-input vue-id="{{('8bb8b016-8')+','+('8bb8b016-7')}}" placeholder="选择部门" border="surround" value="{{valueb}}" data-event-opts="{{[['^focus',[['showbumen']]],['^input',[['__set_model',['','valueb','$event',[]]]]]]}}" bind:focus="__e" bind:input="__e" bind:__l="__l"></u-input></view><view class="justify-center align-center mtb30"><view class="mr40 fs32 base-color-6">岗位:</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="flex-1 u-border p16 radius8" bindtap="__e"><view class="fs28" style="color:#000;">{{valuea}}</view><block wx:if="{{$root.g2==0}}"><view class="fs28" style="color:#c0c4cc;">选择岗位</view></block></view></view><view class="justify-center align-center mtb30"><view class="mr40 fs32 base-color-6">角色:</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="flex-1 u-border p16 radius8" bindtap="__e"><view class="fs28" style="color:#000;">{{valuej}}</view><block wx:if="{{$root.g3==0}}"><view class="fs28" style="color:#c0c4cc;">选择角色</view></block></view></view><view class="justify-around align-center mt50"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="quxiao" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirmbchange',['$event']]]]]}}" class="queren" bindtap="__e">通过审核</view></view><tki-tree class="vue-ref" vue-id="{{('8bb8b016-9')+','+('8bb8b016-7')}}" range="{{columnb}}" confirmColor="#4e8af7" selectParent="{{true}}" data-ref="tkitree" data-event-opts="{{[['^confirm',[['confirmb']]]]}}" bind:confirm="__e" bind:__l="__l"></tki-tree><u-popup vue-id="{{('8bb8b016-10')+','+('8bb8b016-7')}}" show="{{showgang}}" closeOnClickOverlay="{{true}}" data-event-opts="{{[['^close',[['e4']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="center bold fs36 pt40">请选择岗位</view><view class="justify-start align-center warpbox mt40 p20"><block wx:for="{{postlist}}" wx:for-item="item" wx:for-index="index" wx:key="postId"><view class="mlr10 mt10"><u-tag vue-id="{{('8bb8b016-11-'+index)+','+('8bb8b016-10')}}" text="{{item.postName}}" plain="{{!item.checked}}" name="{{index}}" data-event-opts="{{[['^click',[['choosechangeTag']]]]}}" bind:click="__e" bind:__l="__l"></u-tag></view></block></view><view class="justify-around align-center mt50"><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="quxiao" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['postconfirm',['$event']]]]]}}" class="queren" bindtap="__e">确定</view></view></u-popup><u-popup vue-id="{{('8bb8b016-12')+','+('8bb8b016-7')}}" show="{{showjuese}}" closeOnClickOverlay="{{true}}" data-event-opts="{{[['^close',[['e6']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="center bold fs36 pt40">请选择角色</view><view class="justify-start align-center warpbox mt40 p20"><block wx:for="{{rolelist}}" wx:for-item="item" wx:for-index="index" wx:key="roleId"><view class="mlr10 mt10"><u-tag vue-id="{{('8bb8b016-13-'+index)+','+('8bb8b016-12')}}" text="{{item.roleName}}" plain="{{!item.checked}}" name="{{index}}" data-event-opts="{{[['^click',[['choosechangerole']]]]}}" bind:click="__e" bind:__l="__l"></u-tag></view></block></view><view class="justify-around align-center mt50"><view data-event-opts="{{[['tap',[['e7',['$event']]]]]}}" class="quxiao" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['roleconfirm',['$event']]]]]}}" class="queren" bindtap="__e">确定</view></view></u-popup></view></u-popup><u-modal vue-id="8bb8b016-14" show="{{showuser}}" title="提示" content="是否通过销售审核" showCancelButton="{{true}}" data-event-opts="{{[['^confirm',[['subsalesaudits']]],['^cancel',[['e8']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:__l="__l"></u-modal><u-loading-page vue-id="8bb8b016-15" loading="{{viewload}}" iconSize="32" loadingColor="#3c9cff" fontSize="20" loading-text="{{loadingtext}}" bind:__l="__l"></u-loading-page></view>
|