完成样式改动和设置为管理员
This commit is contained in:
@@ -24,26 +24,44 @@
|
||||
<van-row>
|
||||
<van-col span="24">
|
||||
<view class="tableTitleRow">
|
||||
<van-row gutter="5">
|
||||
<van-col span="8">
|
||||
<view style="text-align:center;">{{tenementInfo.shortName}}</view>
|
||||
</van-col>
|
||||
<van-col span="16">{{tenementInfo.fullName}}</van-col>
|
||||
</van-row>
|
||||
<view class="tableTitleRow">
|
||||
<view class="tbody">
|
||||
<view class="tr">
|
||||
<view class="th" style="width: 200rpx;text-align: center;"> {{tenementInfo.shortName}} </view>
|
||||
<view> {{tenementInfo.fullName}} </view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="24">
|
||||
<view class="tableTitleRow">
|
||||
<van-row gutter="5">
|
||||
<van-col span="8" wx:if="{{tenementInfo.feeType === 0}}">
|
||||
<view style="text-align: center;"> 华昌宝能收费 </view> </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 1}}">
|
||||
<view style="text-align: center;"> 物业代收1 </view> </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 2}}">
|
||||
<view style="text-align: center;"> 物业代收2 </view> </van-col>
|
||||
<van-col span="8" wx:else> <view style="text-align: center;"> 物业代收线损 </view> </van-col>
|
||||
<van-col span="16">{{tenementInfo.contact}} {{tenementInfo.phone}} </van-col>
|
||||
</van-row>
|
||||
<view class="tbody">
|
||||
<view class="tr">
|
||||
<view
|
||||
class="th"
|
||||
style="width: 200rpx;text-align: center;"
|
||||
wx:if="{{tenementInfo.feeType === 0}}"
|
||||
> 华昌宝能收费 </view>
|
||||
<view
|
||||
class="th"
|
||||
style="width: 200rpx;text-align: center;"
|
||||
wx:if="{{tenementInfo.feeType === 1}}"
|
||||
> 物业代收1 </view>
|
||||
<view
|
||||
class="th"
|
||||
style="width: 200rpx;text-align: center;"
|
||||
wx:if="{{tenementInfo.feeType === 2}}"
|
||||
> 物业代收2 </view>
|
||||
<view
|
||||
class="th"
|
||||
style="width: 200rpx;text-align: center;"
|
||||
wx:if="{{tenementInfo.feeType === 3}}"
|
||||
> 物业代收线损 </view>
|
||||
<view style="margin-left: 26rpx;"> {{tenementInfo.contact}} {{tenementInfo.phone}} </view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</van-col>
|
||||
|
||||
@@ -54,22 +72,34 @@
|
||||
<van-radio-group value="{{ record }}" bind:change="onChangeSelectRecharge">
|
||||
<block wx:for="{{list}}" wx:for-index="itemIndex" wx:key="item">
|
||||
<view class="tbody">
|
||||
<view class="tr">
|
||||
<view class="th" style="width: 70rpx"> {{ itemIndex + 1 }} </view>
|
||||
<view class="th" style="width: 200rpx"> {{ item.WechatUserName }} </view>
|
||||
<view class="th" style="width: 300rpx"> {{ item.WechatPhone }} </view>
|
||||
<view class="th" style="width: 100rpx; display: flex;">
|
||||
|
||||
<view
|
||||
class="primaryTextBtn"
|
||||
bind:tap="handleDelete"
|
||||
data-id="{{item.WechatUserID}}"
|
||||
data-name="{{item.WechatUserName}}"
|
||||
wx:if="{{!item.Permissions}}"
|
||||
>
|
||||
移除
|
||||
<view class="tr tableRow">
|
||||
<view class="th" style="width: 200rpx;border-right: 1rpx solid #ccc;"> {{ item.WechatUserName }} </view>
|
||||
<view class="th" style="width: 250rpx;border-right: 1rpx solid #ccc;"> {{ item.WechatPhone }} </view>
|
||||
<view class="th" style="display: flex;">
|
||||
<view style="margin-left: 16rpx;">
|
||||
<view wx:if="{{!item.Permissions}}" style="display: inline-block;">
|
||||
<view
|
||||
class="primaryTextBtn"
|
||||
bind:tap="handleDelete"
|
||||
data-id="{{item.WechatUserID}}"
|
||||
data-name="{{item.WechatUserName}}"
|
||||
>
|
||||
移除
|
||||
</view>
|
||||
<view
|
||||
class="primaryTextBtn"
|
||||
bind:tap="setAdmin"
|
||||
data-id="{{item.WechatUserID}}"
|
||||
data-name="{{item.WechatUserName}}"
|
||||
style="margin-left: 16rpx;"
|
||||
>
|
||||
设为管理
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<van-tag type="primary" wx:else>管理员</van-tag>
|
||||
</view>
|
||||
<van-tag type="primary" wx:else>管理员</van-tag>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Reference in New Issue
Block a user