Change-Id: I8087220bbc845a1a5c5ad149e27d08db78b669a7
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
[nzVisible]="showProcess"
nzWidth="85%"
[nzTitle]="moduleTitle"
+ [nzFooter]="modalFooter"
(nzOnCancel)="handleCancel()"
- (nzOnOk)="handleOk()"
>
<nz-spin [nzSpinning]="isSpinning">
<app-basic-info
<nz-step
[nzTitle]="item.currentProgress > 1 ? null : 'in progress'"
[nzStatus]="item.status" nzIcon="anticon anticon-spin anticon-loading"
- > </nz-step>
+ >
+ </nz-step>
<nz-step
[nzTitle]="item.status === 'finish' ? 'success' : null"
[nzStatus]="item.status === 'finish' ? 'finish' : 'wait'"
nzIcon='loading'
- ></nz-step>
+ >
+ </nz-step>
</nz-steps>
</nz-list-item>
</nz-list>
</nz-spin>
</nz-modal>
+<ng-template #modalFooter>
+ <button nz-button nzType="primary" (click)="handleOk()">OK</button>
+ </ng-template>