2 [nzVisible]="showProcess"
4 [nzTitle]="moduleTitle"
5 [nzFooter]="modalFooter"
6 (nzOnCancel)="handleCancel()"
8 <nz-spin [nzSpinning]="isSpinning">
10 [checkDetail]="checkDetail"
11 [businessRequirement]="businessRequirement"
15 <nz-list [nzDataSource]="data" nzBordered [nzHeader]="processHeader" [nzFooter]="null" [nzRenderItem]="defaultItem" >
16 <ng-template #processHeader>
17 <p class="list-title">Task Detail:</p>
19 <ng-template #defaultItem let-item>
20 <nz-list-item nz-row nzType="flex" nzJustify="center">
23 [nzCurrent]="item.currentProgress"
27 *ngFor="let item of data[0]; let i = index" class="task_progress"
28 [ngStyle]="{paddingBottom: i === data[0].length -1 ? '30px': '0px'}"
30 <nz-step [nzTitle]="item.title"></nz-step>
32 [nzTitle]="item.currentProgress > 1 ? null : 'in progress'"
33 [nzStatus]="item.status" [nzIcon]="item.status === 'process'? 'anticon anticon-spin anticon-loading' : null"
36 <nz-step [nzStatus]="item.status === 'finish' ? 'finish' : 'wait'" [nzIcon]="item.status === 'process'?'loading': null"> </nz-step>
38 <p *ngIf="!data[0].length" [ngStyle]="{marginBottom: 0}">No data</p>
46 <ng-template #modalFooter>
47 <button nz-button nzType="primary" (click)="handleCancel()">OK</button>