公共组件 #18
@@ -5,7 +5,8 @@
|
||||
[(nzPageIndex)]="dataList.pageNum"
|
||||
[nzPageSize]="dataList.pageSize"
|
||||
(nzPageIndexChange)="getData()"
|
||||
nzFrontPagination="false">
|
||||
nzFrontPagination="false"
|
||||
[nzScroll]="{x:'1300px'}">
|
||||
<thead>
|
||||
<tr>
|
||||
<ng-container *ngFor="let headData of data">
|
||||
@@ -21,7 +22,7 @@
|
||||
<td *ngIf="headData.show"
|
||||
nz-typography
|
||||
nzEllipsis
|
||||
nzEllipsisRows="1"
|
||||
[nzEllipsisRows]="headData.isActionColumns?3:1"
|
||||
[nzTooltipTitle]="headData.isActionColumns ? null : headData.fieldName+' : '+getValue(index,headData.fieldValue)"
|
||||
nzTooltipPlacement="top"
|
||||
nz-tooltip>
|
||||
@@ -43,7 +44,8 @@
|
||||
nz-popconfirm
|
||||
[nzPopconfirmTitle]="'是否确认'+action.name+'该数据?'"
|
||||
[nzCondition]="!action.needConfirm"
|
||||
(nzOnConfirm)="action.click(t)">
|
||||
(nzOnConfirm)="action.click(t)"
|
||||
[title]="action.name">
|
||||
{{action.name}}
|
||||
<ng-template [ngIf]="i!=headData.action.length-1">
|
||||
<nz-divider nzType="vertical"></nz-divider>
|
||||
|
||||
Reference in New Issue
Block a user