暂存c端账号管理和商户信息
This commit is contained in:
@@ -29,8 +29,18 @@
|
||||
</view>
|
||||
<view style="display: flex; align-items: center;margin: 20rpx">
|
||||
<view wx:if="{{tenement}}">
|
||||
<van-button style="margin-right: 20rpx;" type="info" size="small" bind:click="startBind"> 绑定电表 </van-button>
|
||||
<van-button style="margin-right: 20rpx;" type="info" size="small" bind:tap="startUpdateInfo"> 修改信息 </van-button>
|
||||
<van-button
|
||||
style="margin-right: 20rpx;"
|
||||
type="info"
|
||||
size="small"
|
||||
bind:click="startBind"
|
||||
> 绑定电表 </van-button>
|
||||
<van-button
|
||||
style="margin-right: 20rpx;"
|
||||
type="info"
|
||||
size="small"
|
||||
bind:tap="startUpdateInfo"
|
||||
> 修改信息 </van-button>
|
||||
</view>
|
||||
<van-button type="info" size="small" bind:click="startKh" wx:if="{{!!park}}"> 开户 </van-button>
|
||||
</view>
|
||||
@@ -70,7 +80,12 @@
|
||||
<view class="th" style="width: 250rpx"> {{ item.address }} </view>
|
||||
<view class="th" style="width: 250rpx"> {{ item.meterSn }} </view>
|
||||
<view class="th" style="width: 200rpx">
|
||||
<view class="primaryTextBtn" bind:tap="unbind" data-id="{{item.meterId}}" data-address="{{item.address}}">
|
||||
<view
|
||||
class="primaryTextBtn"
|
||||
bind:tap="unbind"
|
||||
data-id="{{item.meterId}}"
|
||||
data-address="{{item.address}}"
|
||||
>
|
||||
解绑
|
||||
</view>
|
||||
</view>
|
||||
@@ -101,4 +116,20 @@
|
||||
title="{{title}}"
|
||||
/>
|
||||
|
||||
<bindMeter />
|
||||
<bindMeter
|
||||
visible="{{bindVisible}}"
|
||||
park="{{park}}"
|
||||
tenement="{{tenement}}"
|
||||
tenementName="{{tenementName}}"
|
||||
bind:ok="onBindOk"
|
||||
/>
|
||||
|
||||
<unBindMeter
|
||||
visible="{{unbindVisible}}"
|
||||
park="{{park}}"
|
||||
tenement="{{tenement}}"
|
||||
tenementName="{{tenementName}}"
|
||||
meterId="{{meterId}}"
|
||||
meterAddress="{{meterAddress}}"
|
||||
bind:ok="onUnbindOk"
|
||||
/>
|
Reference in New Issue
Block a user