|
|
|
@ -34,6 +34,17 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
<div nz-col nzSpan="8"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">代理商类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16"> |
|
|
|
|
<nz-select nzShowSearch nzAllowClear formControlName="type" nzPlaceHolder="请选择代理商类型"> |
|
|
|
|
<nz-option nzLabel="卡券代理商" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="汇联通代理商" nzValue="3"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -75,6 +86,7 @@ |
|
|
|
|
<th nzWidth="50px">编号</th> |
|
|
|
|
<th nzWidth="80px">代理商名称</th> |
|
|
|
|
<th nzWidth="80px">代理商地址</th> |
|
|
|
|
<th nzWidth="80px">邀请链接</th> |
|
|
|
|
<th nzWidth="80px">联系人</th> |
|
|
|
|
<th nzWidth="70px">联系方式</th> |
|
|
|
|
<th nzWidth="100px">创建时间</th> |
|
|
|
@ -86,6 +98,7 @@ |
|
|
|
|
<td>{{i + 1}}</td> |
|
|
|
|
<td>{{data.agentName}}</td> |
|
|
|
|
<td>{{data.agentAddress}}</td> |
|
|
|
|
<td nzBreakWord>{{inviteUrl + data.id}}</td> |
|
|
|
|
<td>{{data.agentUser}}</td> |
|
|
|
|
<td>{{data.agentPhone}}</td> |
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
@ -95,6 +108,7 @@ |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
<ul nz-menu nzSelectable> |
|
|
|
|
<li class="li-a" nz-menu-item><a (click)="getDistribution(data.id)">分发卡券</a></li> |
|
|
|
|
<li class="li-a" nz-menu-item><a (click)="generateAgentQrCode(data.id)">生成二维码</a></li> |
|
|
|
|
<li class="li-a" nz-menu-item><a (click)="getDiscount(data.id)">绑定优惠券</a></li> |
|
|
|
|
<li class="li-a" nz-menu-item><a (click)="getDiscountList(data.id)">优惠券列表</a></li> |
|
|
|
|
<li class="li-a" nz-menu-item><a (click)="getDistributionList(data.id)">分发列表</a></li> |
|
|
|
|