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.

22 lines
1.1 KiB
Plaintext

2 years ago
<!--pages/user/user.wxml-->
<view class="container user">
<t-sticky>
<view class="search">
<t-search model:value="{{keyword}}" shape="round" placeholder="输入班组或人员" bind:submit="handleSearch" bind:clear="handleSearch" />
</view>
</t-sticky>
<t-collapse expandMutex expandIcon>
<t-collapse-panel wx:for="{{users}}" header-right-content="{{item.jtUsers && item.jtUsers.length ? item.jtUsers.length : 0}}人" header="{{item.jtTeamsName}}" value="{{index}}">
<t-cell wx:for="{{item.jtUsers}}" wx:for-item="subItem" wx:for-index="subIndex" title="{{subItem.jtName}}" description="{{subItem.jtMobile}} {{subItem.jtRoleName}}" data-id="{{subItem.id}}" hover bind:click="edit">
<t-icon slot="note" name="edit-1" size="40rpx" />
<view class="avatar" slot="left-icon">
<open-data type="userAvatarUrl" />
</view>
</t-cell>
</t-collapse-panel>
</t-collapse>
<view class="bottom">
<t-button theme="primary" shape="round" bindtap="edit" block>添加人员</t-button>
</view>
</view>