diff options
author | 2021-03-11 01:51:36 +0000 | |
---|---|---|
committer | 2021-03-11 01:51:36 +0000 | |
commit | 387b2bfa70eb99535ab3148e31c9fed72c4d5e19 (patch) | |
tree | f1bb2d9e8e9b51ad9b9336492088c851f9aa2b29 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts | |
parent | 2757b795ea2344c940724adab527a7395ea3e17c (diff) | |
parent | 2ddfe6c8f2c8f2d472a1e1756bd3491cb6550149 (diff) |
Merge "feat:Logic plus protection"
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management/slicing-business-model/slicing-business-model.component.ts | 39 |
1 files changed, 36 insertions, 3 deletions
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 2d97dc3f..f48deea6 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 @@ -26,17 +26,50 @@ export class SlicingBusinessModelComponent implements OnInit { isSpinning: boolean = true; status: string = ""; businessDetailInfo : any = {} + rantext: string = "RAN Network Edge IP address"; + + isshowran: boolean = false; ngOnInit() { this.status = this.outerData.orchestration_status console.log('status',this.status) this.getDetail() } - + detailFn(flag,form){ + this.rantext = form =='ran'? "RAN Network Edge IP address" : "Core Network Edge IP address"; + this.isshowran = !this.isshowran + } getDetail() { this.myhttp.getSlicingBusinessDetail(this.businessId).then(res => { this.isSpinning = false; - const { business_demand_info, business_demand_info: { coverage_area_ta_list }, nst_info, nsi_info ,business_detail_info} = res.result_body; - this.businessDetailInfo = business_detail_info + const { business_demand_info, business_demand_info: { coverage_area_ta_list }, nst_info, nsi_info ,connection_link: { tn_bh_slice_task_info }} = res.result_body; + console.log(JSON.stringify(tn_bh_slice_task_info),11111) + // tn_bh_slice_task_info = {"suggestNssiId":null,"suggestNSSIName":null,"progress":null,"status":null,"statusDescription":null,"scriptName":null,"enableNSSISelection":null,"sliceProfile":null,"lantency":null,"max_bandWidth":null,"link_type":null} + + this.businessDetailInfo = { + "suggestNssiId": '', + "suggestNSSIName": '11111', + "progress": 'active', + "status": 'active', + "statusDescription": 'p2p/mp2p', + "scriptName": '10.1.1.1', + "enableNSSISelection": '11', + "sliceProfile": '10.1.1.1', + "lantency": '10.2.3.4.5', + "max_bandWidth": '1111', + "link_type": '333' + } + // this.businessDetailInfo = { + // "anVersion":"10.2.3.4.5", + // "vLanText":"11111", + // "tnVersion":"10.0.1.1.1", + // "mbps":"11111", + // "msText":"11111", + // "linkType":"p2p/mp2p", + // "tnEndVersion":"10.1.1.1", + // "cnVlan":"11", + // "cnVersion":"1.1.2.3", + // "orchestration_status":"active" + // } business_demand_info.area = coverage_area_ta_list.map(item => { item = item.split(';').join('-'); return item |