summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/slicing-management
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-20 17:10:23 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-20 17:12:07 +0800
commit212965d9602144c32377c30671ef5c9b88acb50d (patch)
tree9479cfb4c85382e0cffa84830ff5384e32ede9e4 /usecaseui-portal/src/app/views/services/slicing-management
parent961eb4aa72c04a8898862a61607da422e8c0b906 (diff)
feat: Modify the local mock interface
Change-Id: I3a046ee052faca9c9168ed861da45fe3294286ca Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
index bca8e75c..e2f2a3da 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts
@@ -227,6 +227,7 @@ export class SlicingTaskModelComponent implements OnInit {
slicingInstanceChange ():void {
this.isDisabled = true;
+ this.selectedServiceName = ''
// 获取切片子网实例数据
this.http.getSlicingSubnetInstance(this.selectedServiceId).subscribe( res => {
const { result_header: { result_code }, result_body, record_number} = res;
@@ -329,6 +330,7 @@ export class SlicingTaskModelComponent implements OnInit {
}
slicingSubnetChange (instance: any): void {
+ instance.slicingName = ''
instance.instances.forEach( item => {
if (instance.slicingId === item.service_instance_id) {
instance.slicingName = item.service_instance_name;