diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-12 14:57:26 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-12 14:57:34 +0800 |
commit | c9a8687c75c6710ca36f48f80e4b90c428a6aee0 (patch) | |
tree | f54c0ae913a8352f96923acbbdb2a978648c398b /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html | |
parent | bc115d88c7cbb728880839dd5e32987db167234b (diff) |
feat: Modify the submission logic of the task management component
Change-Id: I80d28195efaaf54cdfb2b207fbf9a5c3c7bdcf58
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html index a5aaeb75..62bec932 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html @@ -1,5 +1,4 @@ -<nz-modal [nzVisible]="showDetail" nzWidth="85%" [nzTitle]="moduleTitle" (nzOnCancel)="handleCancel()" - (nzOnOk)="handleOk()"> +<nz-modal [nzVisible]="showDetail" nzWidth="85%" [nzTitle]="moduleTitle" [nzFooter]="modalFooter"> <nz-spin [nzSpinning]="isSpinning"> <app-basic-info [checkDetail]="checkDetail" @@ -87,9 +86,12 @@ </nz-list-item> </nz-list> </div> - </nz-spin> </nz-modal> +<ng-template #modalFooter> + <button nz-button (click)="handleCancel()">Cancel</button> + <button nz-button nzType="primary" [nzLoading]='loading' (click)="handleOk()">OK</button> +</ng-template> <app-subnet-params-model [showModel]="isShowParams" [detailData]="params" |