diff options
author | 2019-12-23 07:10:45 +0000 | |
---|---|---|
committer | 2019-12-23 07:10:45 +0000 | |
commit | 07b542a76b14b737ca2e1894eeb7c993ca195427 (patch) | |
tree | aecb2dfb8b239e60243e720cbe58ddc9327c4231 /usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management | |
parent | 5cf5f8401c9cbf848858a28806b4d322b7e308eb (diff) | |
parent | b7554f331652dfb9a7b987ef8ef72dc4b5c68b66 (diff) |
Merge "feat:Optimize the compatibility of front-end data rendering"
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-resource-management/slicing-business-management')
-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 | 11 |
1 files changed, 9 insertions, 2 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 e0328c89..73407ad5 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 @@ -37,9 +37,16 @@ export class SlicingBusinessModelComponent implements OnInit { item = item.split(';').join('-'); return item }); - this.businessRequirement = [business_demand_info]; + // area : Front-end analog data + let area = ["Beijing;Beijing;Xicheng District", "Beijing;Beijing;Haidian District", "Beijing;Beijing;Chaoyang District"].map(item => { + item = item.split(';').join(' - '); + return item + }); + this.businessRequirement = [{...business_demand_info, area}]; this.NSTinfo = [nst_info]; - this.nsiInfo = [nsi_info]; + if(nsi_info.nsi_id !==null){ + this.nsiInfo = [nsi_info]; + } } }) } |