|
|
|
@ -86,28 +86,27 @@ |
|
|
|
|
|
|
|
|
|
<!--数组表格 --> |
|
|
|
|
<nz-table |
|
|
|
|
class="table" |
|
|
|
|
#ajaxTable |
|
|
|
|
(nzPageIndexChange)="getRequest(false , searchForm.value)" |
|
|
|
|
(nzPageSizeChange)="getRequest(false , searchForm.value)" |
|
|
|
|
[(nzPageIndex)]="pageNum" |
|
|
|
|
[(nzPageSize)]="pageSize" |
|
|
|
|
[nzData]="requestData" |
|
|
|
|
nzShowSizeChanger |
|
|
|
|
[nzFrontPagination]="false" |
|
|
|
|
nzBordered |
|
|
|
|
[nzData]="requestData" |
|
|
|
|
[nzLoading]="loading" |
|
|
|
|
[nzScroll]="{ x: '1200px' }" |
|
|
|
|
[nzTotal]="total" |
|
|
|
|
class="table" |
|
|
|
|
nzShowSizeChanger> |
|
|
|
|
[(nzPageIndex)]="pageNum" |
|
|
|
|
[(nzPageSize)]="pageSize" |
|
|
|
|
[nzScroll]="{ x: '1200px' }" |
|
|
|
|
(nzPageIndexChange)="getRequest(false , searchForm.value)" |
|
|
|
|
(nzPageSizeChange)="getRequest(false , searchForm.value)"> |
|
|
|
|
<thead nzSingleSort> |
|
|
|
|
|
|
|
|
|
<tr> |
|
|
|
|
<th nzWidth="100px">分类名称</th> |
|
|
|
|
<th nzWidth="100px">内容标题</th> |
|
|
|
|
<th nzWidth="80px">展示平台</th> |
|
|
|
|
<th nzWidth="80px">状态</th> |
|
|
|
|
<th nzWidth="120px">创建时间</th> |
|
|
|
|
<th nzAlign="left" nzRight="0px" nzWidth="100px">操作</th> |
|
|
|
|
<th nzWidth="80px">分类名称</th> |
|
|
|
|
<th nzWidth="80px">内容标题</th> |
|
|
|
|
<th nzWidth="60px">展示平台</th> |
|
|
|
|
<th nzWidth="100px">创建时间</th> |
|
|
|
|
<th nzRight nzWidth="40px">状态</th> |
|
|
|
|
<th nzAlign="left" nzRight nzWidth="60px">操作</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
@ -115,10 +114,8 @@ |
|
|
|
|
<td>{{data.tag}}</td> |
|
|
|
|
<td>{{data.title}}</td> |
|
|
|
|
<td>{{data.platform | showType}}</td> |
|
|
|
|
<td> |
|
|
|
|
{{data.status == 1 ? '编辑中' : '已发布'}} |
|
|
|
|
</td> |
|
|
|
|
<td>{{data.createTime | date:'yyyy-MM-dd' }}</td> |
|
|
|
|
<td>{{data.createTime | date:'yyyy-MM-dd hh:mm' }}</td> |
|
|
|
|
<td nzRight>{{data.status == 1 ? '编辑中' : '已发布'}}</td> |
|
|
|
|
<td class="table-td-operation" nzRight> |
|
|
|
|
<a [nzDropdownMenu]="menu" nz-dropdown>更多操作<i nz-icon nzType="down"></i></a> |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
@ -209,7 +206,13 @@ |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">跳转路径</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请输入跳转路径"> |
|
|
|
|
<input formControlName="jumpUrl" nz-input placeholder="请输入跳转链接(轮播图必填)"/> |
|
|
|
|
<input formControlName="jumpUrl" nz-input placeholder="请输入跳转链接"/> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSpan]="6">跳转详情路径</nz-form-label> |
|
|
|
|
<nz-form-control [nzSpan]="16" nzErrorTip="请输入跳转详情路径"> |
|
|
|
|
<input formControlName="ext1" nz-input placeholder="请输入跳转详情路径"/> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item> |
|
|
|
|