You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.6 KiB
66 lines
2.6 KiB
<!-- start 面包屑 -->
|
|
<app-breadcrumb></app-breadcrumb>
|
|
<!-- end 面包屑 -->
|
|
|
|
|
|
|
|
<div class="inner-content">
|
|
<span>共计 {{total}} 条数据</span>
|
|
|
|
<!-- <div class="operating-button">
|
|
<button nz-button nzType="primary" class="right-btn" [routerLink]="['/admin/coupon/coupon-edit']" ><i nz-icon nzType="plus" nzTheme="outline"></i>添加</button>
|
|
<button nz-button nzType="primary" class="right-btn" (click)="getGuizhouSinopec()" ><i nz-icon nzType="redo" nzTheme="outline"></i>刷新中石化卡券</button>
|
|
</div> -->
|
|
<nz-table
|
|
class="table"
|
|
#ajaxTable
|
|
nzShowSizeChanger
|
|
[nzFrontPagination]="false"
|
|
[nzData]="requestData"
|
|
[nzLoading]="loading"
|
|
[nzTotal]="total"
|
|
[(nzPageIndex)]="pageNum"
|
|
[(nzPageSize)]="pageSize"
|
|
|
|
(nzPageIndexChange)="getRequest(false , searchForm.value)"
|
|
(nzPageSizeChange)="getRequest(false , searchForm.value)">
|
|
<thead nzSingleSort>
|
|
<tr>
|
|
<th nzWidth="80px">编号</th>
|
|
<th >优惠券编码</th>
|
|
<th >优惠券名称</th>
|
|
<th >面额</th>
|
|
<!-- <th nzWidth="100px">使用条件</th>
|
|
<th nzWidth="100px">有效类型</th>
|
|
<th nzWidth="100px">使用开始时间</th>
|
|
<th nzWidth="100px">使用结束时间</th>
|
|
<th nzWidth="100px">有效天数</th> -->
|
|
<th >优惠券状态</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let data of ajaxTable.data; let i = index">
|
|
<td>{{i+1}}</td>
|
|
<td>{{data.couponCode}}</td>
|
|
<td>{{data.couponName}}</td>
|
|
<td>{{data.denomination}}</td>
|
|
<!-- <td>{{data.minPrice}}</td>
|
|
<td>{{data.receiveType | receiveType}}</td>
|
|
<td>{{(data.useStartTime | date: 'yyyy-MM-dd HH:mm') || '暂无数据'}}</td>
|
|
<td>{{(data.useEndTime | date: 'yyyy-MM-dd HH:mm') || '暂无数据'}}</td>
|
|
<td>{{data.receiveDays}}</td> -->
|
|
|
|
<td >{{data.couponStatus | blxCouponStatus}}</td>
|
|
|
|
<!-- <td >
|
|
<span *ngIf="data.status === 2" style="color: limegreen">{{data.status | couponStatus}}</span>
|
|
<span *ngIf="data.status === 3" style="color: red">{{data.status | couponStatus}}</span>
|
|
<span *ngIf="data.status === 1 || data.status === 102 || data.status === 101">{{data.status | couponStatus}}</span>
|
|
|
|
</td> -->
|
|
</tr>
|
|
|
|
</tbody>
|
|
</nz-table>
|
|
</div> |