|
@@ -39,15 +39,15 @@
|
39
|
39
|
[nzLoading]="loading" [nzScroll]="{ x: '100%', y: scrollY + 'px' }">
|
40
|
40
|
<thead>
|
41
|
41
|
<tr class="thead">
|
42
|
|
- <th nzLeft="0px" nzAlign="center" nzWidth="50px" nzShowCheckbox [(nzChecked)]="isAllDisplayDataChecked"
|
|
42
|
+ <th nzLeft="0px" nzAlign="center" nzWidth="40px" nzShowCheckbox [(nzChecked)]="isAllDisplayDataChecked"
|
43
|
43
|
(nzCheckedChange)="checkAll($event)"></th>
|
44
|
|
- <th [nzLeft]="first ? '50px' : null" [nzRight]="last ? '0px' : null" nzAlign="center" [nzWidth]="(first || last) ? '150px' : '70px'" *ngFor="let row of rows;let first = first;let last = last;">{{ row }}</th>
|
|
44
|
+ <th [nzLeft]="first ? '40px' : null" [nzRight]="last ? '0px' : (index == rows.length - 2 ? '100px' : null)" nzAlign="center" [nzWidth]="first ? '140px' : (last ? '100px' : '65px')" *ngFor="let row of rows;let first = first;let last = last;let index = index;">{{ row }}</th>
|
45
|
45
|
</tr>
|
46
|
46
|
</thead>
|
47
|
47
|
<tbody>
|
48
|
48
|
<tr *ngFor="let data of listOfData;let index=index;" (click)="selectedListData(data)">
|
49
|
49
|
<td nzLeft="0px" nzAlign="center" nzShowCheckbox [(nzChecked)]="mapOfCheckedId[data.id]" (nzCheckedChange)="refreshStatus()"></td>
|
50
|
|
- <td [nzLeft]="first ? '50px' : null" [nzRight]="last ? '0px' : null" nzAlign="center" *ngFor="let row of data;let first = first;let last = last;">{{ row }}</td>
|
|
50
|
+ <td [nzLeft]="first ? '40px' : null" [nzRight]="last ? '0px' : (index == rows.length - 2 ? '100px' : null)" nzAlign="center" *ngFor="let row of data;let first = first;let last = last;let index = index;">{{ row }}</td>
|
51
|
51
|
</tr>
|
52
|
52
|
</tbody>
|
53
|
53
|
</nz-table>
|