|
|
- <!--pagesA/passwordList/passwordList.wxml-->
- <view class="uservoucher">
- <van-tabs active="{{ active }}" bind:change="onChange" sticky>
- <van-tab title="{{item.title}}" wx:for="{{voucherlist}}" wx:key="index">
- <view wx:if="{{active == 0}}">
- <view class="voucher-list" wx:for="{{cardlist}}" wx:key="index" wx:if="{{cardlist.length > 0 ? true : false}}">
- <view class="voucher-item">
- <view class="voucheritem">凭证名称:<span class="voucheritem-message">{{item.content.pzname}}</span></view>
- <view class="voucheritem">凭证生效日期:<span class="voucheritem-message">{{item.content.passwordStartTime}}</span></view>
- <view class="voucheritem">凭证失效日期:<span class="voucheritem-message">{{item.content.passwordEndTime}}</span></view>
- <view class="voucheritem">凭证状态:<span class="voucheritem-message">{{item.status === 0?'下发中':item.status === 1?'下发成功':item.status === 700?'等待发送':item.status === 702?'发送失败':item.status === 703?'已作废':'异常'}}</span></view>
- <view class="btn" bindtap="deletevoucher" data-index="{{index}}">删除</view>
- </view>
- </view>
- <van-empty description="暂无更多数据" wx:if="{{cardlist.length == 0 ? true : false}}" />
- </view>
- <view wx:if="{{active == 1}}">
- <view class="voucher-list" wx:for="{{passwordlist}}" wx:key="index" wx:if="{{passwordlist.length > 0 ? true : false}}">
- <view class="voucher-item">
- <view class="voucheritem">凭证名称:<span class="voucheritem-message">{{item.content.pzname}}</span></view>
- <view class="voucheritem">凭证生效日期:<span class="voucheritem-message">{{item.content.passwordStartTime}}</span></view>
- <view class="voucheritem">凭证失效日期:<span class="voucheritem-message">{{item.content.passwordEndTime}}</span></view>
- <view class="voucheritem">凭证状态:<span class="voucheritem-message">{{item.status === 0?'下发中':item.status === 1?'下发成功':item.status === 700?'等待发送':item.status === 702?'发送失败':item.status === 703?'已作废':'异常'}}</span></view>
- <view class="btn" bindtap="deletevoucher" data-index="{{index}}">删除</view>
- </view>
- </view>
- <van-empty description="暂无更多数据" wx:if="{{passwordlist.length == 0 ? true : false}}" />
- </view>
- <view wx:if="{{active == 2}}">
- <view class="voucher-list" wx:for="{{fingerlist}}" wx:key="index" wx:if="{{fingerlist.length > 0 ? true : false}}">
- <view class="voucher-item">
- <view class="voucheritem">凭证名称:<span class="voucheritem-message">{{item.content.pzname}}</span></view>
- <view class="voucheritem">凭证生效日期:<span class="voucheritem-message">{{item.content.passwordStartTime}}</span></view>
- <view class="voucheritem">凭证失效日期:<span class="voucheritem-message">{{item.content.passwordEndTime}}</span></view>
- <view class="voucheritem">凭证状态:<span class="voucheritem-message">{{item.status === 0?'下发中':item.status === 1?'下发成功':item.status === 700?'等待发送':item.status === 702?'发送失败':item.status === 703?'已作废':'异常'}}</span></view>
- <view class="btn" bindtap="deletevoucher" data-index="{{index}}">删除</view>
- </view>
- </view>
- <van-empty description="暂无更多数据" wx:if="{{fingerlist.length == 0 ? true : false}}" />
- </view>
- </van-tab>
- </van-tabs>
- </view>
|