feat: Modify the footer of the check-process component 08/99308/1
authorcyuamber <xuranyjy@chinamobile.com>
Mon, 9 Dec 2019 02:43:27 +0000 (10:43 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Mon, 9 Dec 2019 02:43:37 +0000 (10:43 +0800)
Change-Id: I8087220bbc845a1a5c5ad149e27d08db78b669a7
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.html

index ebe1e15..c5bb47b 100644 (file)
@@ -2,8 +2,8 @@
        [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>
@@ -41,3 +43,6 @@
                </nz-list>      
        </nz-spin>
 </nz-modal>
+<ng-template #modalFooter>
+       <button nz-button nzType="primary" (click)="handleOk()">OK</button>
+  </ng-template>