设置页显示锁可用时间
This commit is contained in:
parent
90525d9b0e
commit
a0757c7c52
@ -38,16 +38,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view" v-if="currentLockInfo.keyType === 2 || currentLockInfo.keyType === 4">
|
||||
<view v-if="currentLockInfo.keyType === 2">
|
||||
<view class="view-button">
|
||||
<view>有效期</view>
|
||||
<view class="view-button" style="padding: 0">
|
||||
<view class="info">{{ timeFormat(currentLockInfo.startDate, 'yyyy-mm-dd h:M') }}~{{
|
||||
timeFormat(currentLockInfo.endDate, 'yyyy-mm-dd h:M') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view" v-if="currentLockInfo.userType !== 110301">
|
||||
<view v-if="currentLockInfo.keyType === 4">
|
||||
<view class="view-button">
|
||||
<view>有效期</view>
|
||||
@ -71,6 +62,19 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else>
|
||||
<view class="view-button">
|
||||
<view>有效期</view>
|
||||
<view class="view-button" style="padding: 10rpx 0">
|
||||
<view class="info" v-if="currentLockInfo.keyType === 2" style="line-height: 40rpx">
|
||||
<view>{{ timeFormat(currentLockInfo.startDate, 'yyyy-mm-dd h:M') }}</view>
|
||||
<view>{{ timeFormat(currentLockInfo.endDate, 'yyyy-mm-dd h:M') }}</view>
|
||||
</view>
|
||||
<view class="info" v-if="currentLockInfo.keyType === 3">单次</view>
|
||||
<view class="info" v-if="currentLockInfo.keyType === 1">永久</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="button-logout" @click="deleteLock">删除</view>
|
||||
<up-modal :show="showModal" title="是否删除授权管理员钥匙?" :showCancelButton="true" width="600rpx" @cancel="cancelModal"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user