From 4ad60c473e61df6d1eb078fec26504af557b4470 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 25 Feb 2021 15:28:40 +0800 Subject: feat: add region connection topology Change-Id: I8d1789dae2cd0f47153bdfbe3b2853f0160d084c Issue-ID: USECASEUI-527 Signed-off-by: cyuamber --- .../slicing-business-management/images/server.svg | 1 + .../slicing-business-model.component.html | 14 +++++++------- .../slicing-business-model.component.less | 4 +++- .../slicing-business-model.component.ts | 5 ++++- .../slicing-business-table.component.ts | 3 ++- .../images/slicing-business-management/example.png | Bin 0 -> 65958 bytes .../images/slicing-business-management/server.svg | 1 + 7 files changed, 18 insertions(+), 10 deletions(-) create mode 100755 usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/images/server.svg create mode 100644 usecaseui-portal/src/assets/images/slicing-business-management/example.png create mode 100755 usecaseui-portal/src/assets/images/slicing-business-management/server.svg (limited to 'usecaseui-portal') diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/images/server.svg b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/images/server.svg new file mode 100755 index 00000000..85b43ffb --- /dev/null +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/images/server.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html index 7b629cd5..217e8bb4 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.html @@ -2,13 +2,8 @@ - + Service Instance Id @@ -33,4 +28,9 @@ + +
status:{{status}}
+ example + +
\ No newline at end of file diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.less b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.less index 8b137891..afccd61f 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.less +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.less @@ -1 +1,3 @@ - +.taskmodel_list{ + margin-top: 20px; +} diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts index 7bed4304..b0207fd7 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts @@ -18,13 +18,16 @@ export class SlicingBusinessModelComponent implements OnInit { } @Input() businessId; + @Input() outerData; businessRequirement: any[]; NSTinfo: any[] = []; nsiInfo: any[] = []; taskModel: boolean = false; isSpinning: boolean = true; + status: string = "" ngOnInit() { - console.log(this.businessId, "id"); + console.log(this.businessId, "id",this.outerData); + this.status = this.outerData.orchestration_status this.getDetail() } diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts index 313e3fa9..a5409926 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-table/slicing-business-table.component.ts @@ -178,7 +178,8 @@ export class SlicingBusinessTableComponent implements OnInit { nzOkText: null, nzCancelText: null, nzComponentParams: { - businessId: data.service_instance_id + businessId: data.service_instance_id, + outerData:data } }) } diff --git a/usecaseui-portal/src/assets/images/slicing-business-management/example.png b/usecaseui-portal/src/assets/images/slicing-business-management/example.png new file mode 100644 index 00000000..5090c927 Binary files /dev/null and b/usecaseui-portal/src/assets/images/slicing-business-management/example.png differ diff --git a/usecaseui-portal/src/assets/images/slicing-business-management/server.svg b/usecaseui-portal/src/assets/images/slicing-business-management/server.svg new file mode 100755 index 00000000..85b43ffb --- /dev/null +++ b/usecaseui-portal/src/assets/images/slicing-business-management/server.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit 1.2.3-korg