You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
8.2 KiB
Plaintext
117 lines
8.2 KiB
Plaintext
<view class style="padding:0 10px">
|
|
<!-- <view class="agencyName mt10 f20 fw500" hover-class="none" hover-stop-propagation="false">{{userInfo.agencyName}}</view> -->
|
|
<!-- bindchange="changeAgency" -->
|
|
<!-- <view mode="selector" class='agencyName mt16 f20 fw500' range-key="name" style>
|
|
<view class="fsa" style="justify-content:center" hover-class="none" hover-stop-propagation="false">
|
|
<view class="c3" hover-class="none" hover-stop-propagation="false">{{agency}}</view>
|
|
<view class="iconfont icon-gengduo11 cccc fw400 f14 ml8 right" hover-class="none" hover-stop-propagation="false"></view>
|
|
</view>
|
|
</view>-->
|
|
<!-- <view class="management ysd-base-color mt20 mb4" bindtap='changeEditType'>
|
|
<view class="f14" hover-class="none" hover-stop-propagation="false" wx:if="{{isEdit}}">管理</view>
|
|
<view class="f14" hover-class="none" hover-stop-propagation="false" wx:else>完成</view>
|
|
</view>-->
|
|
<!-- <view class="subset build">
|
|
<view class="name">
|
|
<view class="name f18" style="min-width:148px">
|
|
<view class="fw500" hover-class="none" hover-stop-propagation="false">{{creator.userName || '-'}}
|
|
</view>
|
|
<view class="mark t-icon t-icon-chuangjianren ml8"></view>
|
|
</view>
|
|
<view class="tel c6 f18">{{creator.tel}}</view>
|
|
</view>
|
|
</view>-->
|
|
|
|
<scroll-view class="container mt16" scroll-x="false" scroll-y="true" upper-threshold="50" lower-threshold="50" scroll-top="0" scroll-left="0" scroll-into-view scroll-with-animation="false" enable-back-to-top="false">
|
|
<!-- <view class="titlelist1 dn" hover-class="none" hover-stop-propagation="false">
|
|
<mp-tabs tabs="{{tabs}}" activeTab="{{activeTab}}" swiperClass bindtabclick="onTabClick" bindchange="onChange" activeClass="activelist"></mp-tabs>
|
|
</view>-->
|
|
<!-- bindtap="editMember" -->
|
|
<view class hover-class="none" hover-stop-propagation="false">
|
|
<view class="box" wx:for="{{memberGroupList}}" bindtap="toGroupList" data-info="{{item}}" wx:for-index="index" hover-class="none" hover-stop-propagation="false">
|
|
<view class="subset {{index != 0 ? 'bt1' : ''}}">
|
|
<view class="left">
|
|
<view class="name" hover-class="none" hover-stop-propagation="false" style="min-width:148px">
|
|
<view class="f16 oelps c6" hover-class="none" hover-stop-propagation="false">{{item.teamName || '-'}}</view>
|
|
<!-- <view class="mark ml4 {{item.agencyRole == 1 ? 't-icon t-icon-chuangjianren' : (item.agencyRole == 2 ? 't-icon t-icon-guanliyuan': (item.agencyRole == 3 && item.notBeAllow ? 't-icon t-icon-daiduifangtongyi ' :'t-icon t-icon-chengyuan'))}}"></view> -->
|
|
<!-- <view class="mark {{item.agencyRole == 2 ? 't-icon t-icon-guanliyuan' : ''}}"></view>
|
|
<view class="mark {{item.agencyRole == 3 ? 't-icon t-icon-chengyuan' : ''}}"></view>-->
|
|
</view>
|
|
<view class="tel c6 f18">
|
|
<!-- {{item.tel}} -->
|
|
<i class="iconfont icon-gengduo11 f14 cccc ml4" wx:if="{{userInfo.user.agencyRole !== 3}}"></i>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="" hover-class="none" hover-stop-propagation="false">
|
|
<view class="edit" wx:if="{{isEdit}}" bindtap='editMember' data-info='{{item}}'>编辑</view>
|
|
<view class="delete ysd-base-color" bindtap='showDelModal' data-id='{{item.id}}' wx:if="{{item.agencyRole != 1 && !isEdit}}">删除</view>
|
|
</view>-->
|
|
</view>
|
|
</view>
|
|
<view class="box" wx:for="{{unsetGroupList}}" bindtap="editMember" data-info="{{item}}" wx:for-index="index" hover-class="none" hover-stop-propagation="false">
|
|
<!-- {{index != 0 ? 'bt1' : ''}} -->
|
|
<view class="subset bt1">
|
|
<view class="left">
|
|
<view class="name" hover-class="none" hover-stop-propagation="false" style="min-width:148px">
|
|
<view class="f16 oelps c6" hover-class="none" hover-stop-propagation="false">{{item.aliasName || '-'}}</view>
|
|
<view class="mark ml4 {{item.agencyRole == 1 ? 't-icon t-icon-chuangjianren' : (item.agencyRole == 2 ? 't-icon t-icon-guanliyuan': (item.agencyRole == 3 && item.notBeAllow ? 't-icon t-icon-daiduifangtongyi ' :'t-icon t-icon-chengyuan'))}}"></view>
|
|
</view>
|
|
<view class="tel c6 f18">
|
|
<!-- {{item.tel}} -->
|
|
<i class="iconfont icon-gengduo11 f14 cccc ml4" wx:if="{{userInfo.user.agencyRole !== 3}}"></i>
|
|
</view>
|
|
</view>
|
|
<view class hover-class="none" hover-stop-propagation="false">
|
|
<!-- <view class="edit" wx:if="{{isEdit}}" bindtap='editMember' data-info='{{item}}'>编辑</view>
|
|
<view class="delete ysd-base-color" bindtap='showDelModal' data-id='{{item.id}}' wx:if="{{item.agencyRole != 1 && !isEdit}}">删除</view>-->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<view class="addMember mt16" wx:if="{{userInfo.user.agencyRole !== 3}}">
|
|
<!-- <view class="c6" hover-class="none" hover-stop-propagation="false" bindtap="showDrawer">
|
|
<view class="iconfont icon-gengduo2 mr6" style="display:inline-block" />更多
|
|
</view>-->
|
|
<view class="add fsa">
|
|
<!-- <view class="iconfont icon-tianjia mr6" style="display:inline-block" /> -->
|
|
<!-- <button type></button> -->
|
|
<button class="dtBtnD mr12 mt0 mb0" bindtap="addMember" style="width: 120px !important;margin-right: 16px;">添加成员</button>
|
|
<button class="dtBtnD mt0 mb0" bindtap="showgroupDialog" style="width: 120px !important">添加部门</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view aria-role="dialog" aria-modal="true" catchtouchmove="modalMove" class="fadeIn" wx:if="{{groupDialog}}">
|
|
<view class="weui-mask"></view>
|
|
<view class="weui-dialog groupBox" style="box-sizing:border-box;">
|
|
<!-- <i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closegroupDialog"></i> -->
|
|
<view class="tac pt8" hover-class="none" hover-stop-propagation="false">
|
|
<view class="weui-dialog__hd f18 fw500">添加部门</view>
|
|
<input class="groupInput mt4" type name="userName" data-type="userName" bindinput="updateGroup" placeholder="请输入部门名称" placeholder-class="input__placeholder" />
|
|
</view>
|
|
<view class="fsa f18 groupBtn bt1" hover-class="none" hover-stop-propagation="false">
|
|
<view class="tac p10 flex-1 br1" hover-class="none" hover-stop-propagation="false" bindtap="closegroupDialog">取消</view>
|
|
<view class="tac p10 fw500 flex-1 f40" hover-class="none" hover-stop-propagation="false" bindtap="addGroup">确定</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<bottom-drawer show="{{drawerShow}}" drawerType="drawerShow" bindhidedrawer="hidedrawershow" class="bottomDrawer" height="179px" cancerShow="{{false}}" touchClose="{{false}}" color="#f5f5f5" hideTabbar="{{false}}">
|
|
<view class="tac fsc bgcf mb10 f18" style="height:56px;" hover-class="none" hover-stop-propagation="false">修改团队名称</view>
|
|
<view class="tac pt16 bgcf f18" catchtap="hideDrawer" style="height:114px" hover-class="none" hover-stop-propagation="false">取消</view>
|
|
</bottom-drawer>
|
|
<view aria-role="dialog" aria-modal="true" catchtouchmove="modalMove" class="fadeIn" wx:if="{{newCreatorShow}}">
|
|
<view class="weui-mask"></view>
|
|
<view class="weui-dialog creatorBox" style="box-sizing:border-box;">
|
|
<!-- <i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closegroupDialog"></i> -->
|
|
<view class="tac pt8" hover-class="none" hover-stop-propagation="false">
|
|
<view class="weui-dialog__hd f18 fw500">选择新创建人</view>
|
|
<view class="tal" style="margin-left:32px" hover-class="none" hover-stop-propagation="false">管理员</view>
|
|
<input class="groupInput mt4" maxlength="11" type data-type="userName" bindinput="updateCreatorVal" value="{{creatorVal}}" placeholder="请输入成员手机号" placeholder-class="input__placeholder" />
|
|
</view>
|
|
<view class="fsa f18 groupBtn bt1" hover-class="none" hover-stop-propagation="false">
|
|
<view class="tac p10 flex-1 br1" hover-class="none" hover-stop-propagation="false" bindtap="closegroupDialog">取消</view>
|
|
<view class="tac p10 fw500 flex-1 f40" hover-class="thover" hover-stop-propagation="false" bindtap="updateCreator">确定</view>
|
|
</view>
|
|
</view>
|
|
</view>
|