|
|
@ -102,12 +102,10 @@ |
|
|
|
<thead nzSingleSort> |
|
|
|
<thead nzSingleSort> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<th nzWidth="60px">编号</th> |
|
|
|
<th nzWidth="60px">编号</th> |
|
|
|
<!-- <th nzWidth="90px">产品类型</th>--> |
|
|
|
<th nzWidth="120px">积分返利比例</th> |
|
|
|
<th nzWidth="90px">产品名称</th> |
|
|
|
<th nzWidth="100px">类型</th> |
|
|
|
<th nzWidth="90px">利润比例</th> |
|
|
|
<th nzWidth="100px">产品</th> |
|
|
|
<th nzWidth="120px">积分抵扣比例</th> |
|
|
|
<th nzWidth="200px">返利时间范围</th> |
|
|
|
<th nzWidth="100px">支付方式</th> |
|
|
|
|
|
|
|
<th nzWidth="100px">展示平台</th> |
|
|
|
|
|
|
|
<th nzWidth="120px">创建时间</th> |
|
|
|
<th nzWidth="120px">创建时间</th> |
|
|
|
<th nzRight nzWidth="80px">操作</th> |
|
|
|
<th nzRight nzWidth="80px">操作</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
@ -115,19 +113,17 @@ |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
<tr *ngFor="let data of ajaxTable.data; let i = index"> |
|
|
|
<tr *ngFor="let data of ajaxTable.data; let i = index"> |
|
|
|
<td>{{i + 1}}</td> |
|
|
|
<td>{{i + 1}}</td> |
|
|
|
<!-- <td>{{data.productType == 1 ? '星巴克' : '肯德基'}}</td>--> |
|
|
|
<td>{{data.percentage + "%"}}</td> |
|
|
|
<td>{{data.productName}}</td> |
|
|
|
<td>{{data.type | integralType}}</td> |
|
|
|
<td>{{data.discount + "%"}}</td> |
|
|
|
<td>{{data.type | integralProduct : data.productId}}</td> |
|
|
|
<td>{{data.integralDiscount + "%"}}</td> |
|
|
|
<td>{{data.startTime | date: 'yyyy-MM-dd HH:mm'}} - {{data.endTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
<td>{{data.productPayTypeString.substring(0 , data.productPayTypeString.length - 1)}}</td> |
|
|
|
|
|
|
|
<td>{{data.productPlatformString.substring(0 , data.productPlatformString.length - 1)}}</td> |
|
|
|
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<td nzRight class="table-td-operation"> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">更多操作<i nz-icon nzType="down"></i></a> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu">更多操作<i nz-icon nzType="down"></i></a> |
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
<li nz-menu-item *ngIf="data.status != 1"><a (click)="getEdit(data.id)">编辑</a></li> |
|
|
|
<li nz-menu-item *ngIf="data.status != 1"><a (click)="getEdit(data.id)">编辑</a></li> |
|
|
|
<!-- <li nz-menu-item *ngIf="data.status != 1"><a (click)="getForbiddenUserD(data.id)">删除</a></li>--> |
|
|
|
<li nz-menu-item *ngIf="data.status != 1"><a (click)="getForbiddenUserD(data.id)">删除</a></li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</nz-dropdown-menu> |
|
|
|
</nz-dropdown-menu> |
|
|
|
</td> |
|
|
|
</td> |
|
|
@ -152,8 +148,8 @@ |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>卡券产品</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>卡券产品</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择卡券产品!"> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择卡券产品!"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择卡券产品"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择卡券产品"> |
|
|
|
<nz-option nzValue="1" nzLabel="重庆中石化"></nz-option> |
|
|
|
<nz-option [nzValue]="1" nzLabel="重庆中石化"></nz-option> |
|
|
|
<nz-option nzValue="4" nzLabel="贵州中石化"></nz-option> |
|
|
|
<nz-option [nzValue]="4" nzLabel="贵州中石化"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
@ -161,7 +157,7 @@ |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>在线加油产品</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>在线加油产品</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择在线加油产品!"> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择在线加油产品!"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择在线加油产品"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择在线加油产品"> |
|
|
|
<nz-option nzValue="1" nzLabel="在线加油"></nz-option> |
|
|
|
<nz-option [nzValue]="1" nzLabel="在线加油"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
@ -169,9 +165,9 @@ |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>话费产品</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>话费产品</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择话费产品!"> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择话费产品!"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择话费产品"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择话费产品"> |
|
|
|
<nz-option nzValue="1" nzLabel="电信"></nz-option> |
|
|
|
<nz-option [nzValue]="1" nzLabel="电信"></nz-option> |
|
|
|
<nz-option nzValue="2" nzLabel="移动"></nz-option> |
|
|
|
<nz-option [nzValue]="2" nzLabel="移动"></nz-option> |
|
|
|
<nz-option nzValue="3" nzLabel="联通"></nz-option> |
|
|
|
<nz-option [nzValue]="3" nzLabel="联通"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
@ -179,12 +175,18 @@ |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>第三方产品</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>第三方产品</nz-form-label> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择第三方产品!"> |
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择第三方产品!"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择第三方产品"> |
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="productId" nzPlaceHolder="请选择第三方产品"> |
|
|
|
<nz-option nzValue="1" nzLabel="星巴克"></nz-option> |
|
|
|
<nz-option [nzValue]="1" nzLabel="星巴克"></nz-option> |
|
|
|
<nz-option nzValue="2" nzLabel="肯德基"></nz-option> |
|
|
|
<nz-option [nzValue]="2" nzLabel="肯德基"></nz-option> |
|
|
|
<nz-option nzValue="3" nzLabel="会员充值"></nz-option> |
|
|
|
<nz-option [nzValue]="3" nzLabel="会员充值"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
<nz-form-item > |
|
|
|
|
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>第三方产品</nz-form-label> |
|
|
|
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择第三方产品!"> |
|
|
|
|
|
|
|
<nz-range-picker [nzShowTime]="{ nzFormat: 'HH:mm:ss' }" formControlName="time"></nz-range-picker> |
|
|
|
|
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>积分返利比例</nz-form-label> |
|
|
|
<nz-form-label [nzSpan]="6" nzRequired>积分返利比例</nz-form-label> |
|
|
|