summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-02-24 15:42:52 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-02-24 15:43:01 +0800
commit3bb632ae93f5dbe1ef43a9c08e380c142a69e1ce (patch)
treec9912f76b86b4704aec0d96d233b976161363a55 /usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html
parent1a15520467f3bdb83817c6e27bc9e933a5a9ccfe (diff)
feat:Optimize the writing of tab switching, remove the writing of Ngif
Change-Id: I1a315a363d75ac5b18d05b20337f63c32cd7a5d9 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html20
1 files changed, 7 insertions, 13 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html
index 6d55ea1c..5a1dd3f0 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.html
@@ -1,17 +1,11 @@
<nz-tabset (nzSelectChange)="handleTabChange($event)" class="slicing">
<nz-tab nzTitle="Communication Service">
- <app-csmf-slicing-business-management
- *ngIf="currentTab ==='Communication Service'"
- ></app-csmf-slicing-business-management>
+ <app-csmf-slicing-business-management [currentTabTitle]="currentTab"></app-csmf-slicing-business-management>
+ </nz-tab>
+ <nz-tab nzTitle="Slicing Task Management">
+ <app-slicing-task-management [currentTabTitle]="currentTab"></app-slicing-task-management>
+ </nz-tab>
+ <nz-tab nzTitle="Slicing Resource Management">
+ <app-slicing-resource-management [currentTabTitle]="currentTab"></app-slicing-resource-management>
</nz-tab>
- <nz-tab nzTitle="Slicing Task Management">
- <app-slicing-task-management
- *ngIf="currentTab ==='Slicing Task Management'"
- ></app-slicing-task-management>
- </nz-tab>
- <nz-tab nzTitle="Slicing Resource Management" >
- <app-slicing-resource-management
- *ngIf="currentTab ==='Slicing Resource Management'"
- ></app-slicing-resource-management>
- </nz-tab>
</nz-tabset> \ No newline at end of file