暂存账号管理
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
/>
|
||||
<view class="operateBox">
|
||||
<van-button type="primary" size="small" style="margin-right: 20rpx;" bind:click="handleAddSon"> 添加子账号 </van-button>
|
||||
<van-button type="primary" size="small" style="margin-right: 20rpx;" > 修改主账号 </van-button>
|
||||
<van-button type="primary" size="small" style="margin-right: 20rpx;" bind:click="handleChangeMain"> 修改主账号 </van-button>
|
||||
</view>
|
||||
<view wx:if="{{list.length}}">
|
||||
<view class="tableWrapper">
|
||||
@@ -58,20 +58,21 @@
|
||||
<view class="thead">
|
||||
<view class="th" style="width: 70rpx"> 序号 </view>
|
||||
<view class="th" style="width: 200rpx"> 昵称 </view>
|
||||
<view class="th" style="width: 200rpx"> 手机号 </view>
|
||||
<view class="th" style="width: 200rpx"> 操作 </view>
|
||||
<view class="th" style="width: 300rpx"> 手机号 </view>
|
||||
<view class="th" style="width: 100rpx"> 操作 </view>
|
||||
</view>
|
||||
<view class="tbody">
|
||||
<van-radio-group value="{{ record }}" bind:change="onChangeSelectRecharge">
|
||||
<block wx:for="{{list}}" wx:for-index="itemIndex" wx:key="item">
|
||||
<view class="tr">
|
||||
<view class="th" style="width: 200rpx"> {{ index }} </view>
|
||||
<view class="th" style="width: 200rpx"> {{ item.tenement.shortName }} </view>
|
||||
<view class="th" style="width: 200rpx"> {{ item.money }} </view>
|
||||
<view class="th" style="width: 200rpx">
|
||||
<view class="primaryTextBtn" bind:tap="handleDelete" data-id="{{item.id}}">
|
||||
<view class="th" style="width: 70rpx"> {{ itemIndex + 1 }} </view>
|
||||
<view class="th" style="width: 200rpx"> {{ item.name }} </view>
|
||||
<view class="th" style="width: 300rpx"> {{ item.phone }} </view>
|
||||
<view class="th" style="width: 100rpx; display: flex;">
|
||||
<view class="primaryTextBtn" bind:tap="handleDelete" data-id="{{item.id}}" data-name="{{item.name}}" wx:if="{{!item.isAdmin}}">
|
||||
移除
|
||||
</view>
|
||||
<van-tag type="primary" wx:else>管理员</van-tag>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
@@ -81,7 +82,7 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<empty bind:refresh="initUserList" />
|
||||
<empty wx:else bind:refresh="initUserList" />
|
||||
|
||||
</view>
|
||||
<search-select
|
||||
@@ -99,5 +100,6 @@
|
||||
title="{{title}}"
|
||||
tenement="{{tenement}}"
|
||||
park="{{park}}"
|
||||
bind:ok="initUserList"
|
||||
bind:ok="onEditConfirm"
|
||||
bind:cancel="handleCancel"
|
||||
/>
|
Reference in New Issue
Block a user