|
|
@ -2,81 +2,108 @@ |
|
|
|
<div nz-row [nzGutter]="24"> |
|
|
|
<div nz-row [nzGutter]="24"> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label>商户号</nz-form-label> |
|
|
|
<nz-form-label>所在省级</nz-form-label> |
|
|
|
<nz-form-control> |
|
|
|
<nz-form-control> |
|
|
|
<input nzSize="large" nz-input formControlName="merNo" placeholder="请输入" /> |
|
|
|
<nz-select formControlName="provinceCode" nzAllowClear [nzPlaceHolder]="'请选择'" nzShowSearch> |
|
|
|
|
|
|
|
<nz-option *ngFor="let item of regionData" nzValue="{{item.regionId}}" nzLabel="{{item.regionName}}"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label>商户名称</nz-form-label> |
|
|
|
<nz-form-label>来源渠道</nz-form-label> |
|
|
|
<nz-form-control> |
|
|
|
<nz-form-control> |
|
|
|
<input nzSize="large" nz-input formControlName="merName" placeholder="请输入" /> |
|
|
|
<nz-select formControlName="sourceType" nzAllowClear [nzPlaceHolder]="'请选择'"> |
|
|
|
|
|
|
|
<nz-option *ngFor="let item of merSourceTypeArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label>创建人</nz-form-label> |
|
|
|
<nz-form-label>油站编号</nz-form-label> |
|
|
|
<nz-form-control> |
|
|
|
<nz-form-control> |
|
|
|
<input nzSize="large" nz-input formControlName="opUserName" placeholder="请输入" /> |
|
|
|
<input nz-input formControlName="merNo" placeholder="请输入" /> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <div nz-col [nzSpan]="6"> |
|
|
|
<div nz-col [nzSpan]="6"> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-item> |
|
|
|
<nz-form-label>商户状态</nz-form-label> |
|
|
|
<nz-form-label>油站名称</nz-form-label> |
|
|
|
<nz-form-control> |
|
|
|
<nz-form-control> |
|
|
|
<nz-select nzSize="large" formControlName="status" nzAllowClear [nzPlaceHolder]="'请选择'"> |
|
|
|
<input nz-input formControlName="merName" placeholder="请输入" /> |
|
|
|
<nz-option *ngFor="let item of merStatus" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div nz-col [nzSpan]="6" [hidden]="!isCollapse"> |
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
|
|
|
<nz-form-label>油站状态</nz-form-label> |
|
|
|
|
|
|
|
<nz-form-control> |
|
|
|
|
|
|
|
<nz-select formControlName="status" nzAllowClear [nzPlaceHolder]="'请选择'"> |
|
|
|
|
|
|
|
<nz-option *ngFor="let item of merchantStatusArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
</nz-select> |
|
|
|
</nz-select> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-control> |
|
|
|
</nz-form-item> |
|
|
|
</nz-form-item> |
|
|
|
</div>--> |
|
|
|
</div> |
|
|
|
<div nz-col [nzSpan]="6" class="search-area"> |
|
|
|
<div nz-col [nzSpan]="6" [hidden]="!isCollapse"> |
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
|
|
|
<nz-form-label>来源渠道</nz-form-label> |
|
|
|
|
|
|
|
<nz-form-control> |
|
|
|
|
|
|
|
<nz-select formControlName="sourceType" nzAllowClear [nzPlaceHolder]="'请选择'"> |
|
|
|
|
|
|
|
<nz-option *ngFor="let item of merSourceTypeArray" nzValue="{{item.codeValue}}" nzLabel="{{item.codeName}}"></nz-option> |
|
|
|
|
|
|
|
</nz-select> |
|
|
|
|
|
|
|
</nz-form-control> |
|
|
|
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div nz-col [nzSpan]="24" class="search-area"> |
|
|
|
<button nz-button [nzType]="'primary'" (click)="searchFormSubmit()">查询</button> |
|
|
|
<button nz-button [nzType]="'primary'" (click)="searchFormSubmit()">查询</button> |
|
|
|
<button nz-button (click)="searchFormReset()">重置</button> |
|
|
|
<button nz-button (click)="searchFormReset()">重置</button> |
|
|
|
|
|
|
|
<a class="collapse" (click)="isCollapse = !isCollapse"> |
|
|
|
|
|
|
|
更多查询条件 |
|
|
|
|
|
|
|
<i nz-icon [nzType]="!isCollapse ? 'down' : 'up'"></i> |
|
|
|
|
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
|
|
<nz-table #basicTable |
|
|
|
<nz-table #basicTable |
|
|
|
[nzScroll]="{ x: '1100px' }" |
|
|
|
[nzScroll]="{ x: '1200px' }" |
|
|
|
[nzBordered]="true" |
|
|
|
[nzBordered]="true" |
|
|
|
[nzFrontPagination]="false" |
|
|
|
[nzFrontPagination]="false" |
|
|
|
[nzShowQuickJumper]="true" |
|
|
|
[nzShowQuickJumper]="true" |
|
|
|
[nzShowTotal]="totalTemplate" |
|
|
|
[nzShowTotal]="totalTemplate" |
|
|
|
[(nzPageIndex)]="tablePageNum" |
|
|
|
[(nzPageIndex)]="tablePageNum" |
|
|
|
(nzPageIndexChange)="queryData()" |
|
|
|
(nzPageIndexChange)="queryData()" |
|
|
|
|
|
|
|
nzShowSizeChanger |
|
|
|
|
|
|
|
(nzPageSizeChange)="this.tablePageSize = $event;queryData()" |
|
|
|
|
|
|
|
[nzPageSizeOptions]="[ 10, 20, 30, 50, 100 ]" |
|
|
|
[nzTotal]="tableData.total" |
|
|
|
[nzTotal]="tableData.total" |
|
|
|
[nzData]="tableData.list" > |
|
|
|
[nzData]="tableData.list" > |
|
|
|
<thead> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<th nzWidth="30px">商户号</th> |
|
|
|
<th nzWidth="80px">列表展示</th> |
|
|
|
<th nzWidth="50px">商户名称</th> |
|
|
|
<th nzWidth="120px">来源渠道</th> |
|
|
|
<th nzWidth="30px">负责人</th> |
|
|
|
<th nzWidth="100px">连锁名称</th> |
|
|
|
<th nzWidth="30px">联系电话</th> |
|
|
|
<th nzWidth="110px">油站编号</th> |
|
|
|
<th nzWidth="30px">创建人</th> |
|
|
|
<th nzWidth="230px">油站名称</th> |
|
|
|
<th nzWidth="30px">创建时间</th> |
|
|
|
<th nzWidth="180px">油站地区</th> |
|
|
|
<th nzWidth="30px">更新时间</th> |
|
|
|
<th nzWidth="80px">油站状态</th> |
|
|
|
<th nzRight nzWidth="50px">操作</th> |
|
|
|
<th nzRight nzWidth="110px">操作</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
<tr *ngFor="let data of basicTable.data"> |
|
|
|
<tr *ngFor="let data of basicTable.data"> |
|
|
|
|
|
|
|
<td><nz-switch [(ngModel)]="data.listShow" (ngModelChange)="listShowChange($event)"></nz-switch></td> |
|
|
|
|
|
|
|
<td>{{data.sourceType | dictionary: "MER_SOURCE_TYPE"}}</td> |
|
|
|
|
|
|
|
<td>{{data.chainBrandName?data.chainBrandName:'无'}}</td> |
|
|
|
<td>{{data.merNo}}</td> |
|
|
|
<td>{{data.merNo}}</td> |
|
|
|
<td>{{data.merName}}</td> |
|
|
|
<td>{{data.merName}}</td> |
|
|
|
<td>{{data.directorName}}</td> |
|
|
|
<td>{{data.provinceName+"/"+data.cityName+"/"+data.areaName}}</td> |
|
|
|
<td>{{data.directorTel}}</td> |
|
|
|
<td>{{data.status | dictionary: "MERCHANT_STATUS"}}</td> |
|
|
|
<td>{{data.opUserName}}</td> |
|
|
|
|
|
|
|
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
|
|
|
<td>{{data.updateTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
|
|
|
<td nzRight> |
|
|
|
<td nzRight> |
|
|
|
<a (click)="showMerDetail(data.merNo)">详情</a> |
|
|
|
<a (click)="showMerDetail(data.merNo)">详情</a> |
|
|
|
<nz-divider nzType="vertical"></nz-divider> |
|
|
|
<nz-divider nzType="vertical"></nz-divider> |
|
|
|
<a (click)="showUpdateMer(data.merNo)">修改资料</a> |
|
|
|
|
|
|
|
<nz-divider nzType="vertical"></nz-divider> |
|
|
|
|
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu"> |
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu"> |
|
|
|
更多 |
|
|
|
更多 |
|
|
|
<span nz-icon nzType="down"></span> |
|
|
|
<span nz-icon nzType="down"></span> |
|
|
|