summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-12-20 13:25:29 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-12-20 14:10:02 +0800
commit43e39a785c3871a1b403b04b1085179fb95a00b2 (patch)
treee32f0dcabd409ce3d203e7498143d849ba21c1c6 /usecaseui-portal/src
parente2362aed3f00ae47ac30c5d084bd5092b49a7a2d (diff)
feat: Front-end analog address data
Change-Id: I753779657d6d9bde485b3b3b65109827ca2a4d46 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts9
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts14
2 files changed, 18 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
index 308c19ba..797165f6 100644
--- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
+++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/check-process-model/check-process-model.component.ts
@@ -61,10 +61,15 @@ export class CheckProcessModelComponent implements OnInit {
this.checkDetail = [{ task_id, task_name, create_time, processing_status, service_snssai }];
// 业务需求信息数据
business_demand_info.area = coverage_area_ta_list.map(item => {
- item = item.split(';').join('-')
+ item = item.split(';').join(' - ')
return item
})
- this.businessRequirement = [business_demand_info];
+ // 前端模拟数据
+ let area = ["北京;北京市;海淀区", "北京;北京市;西城区", "北京;北京市;昌平区"].map(item => {
+ item = item.split(';').join(' - ')
+ return item
+ })
+ this.businessRequirement = [{...business_demand_info, area}];
// 匹配NST信息
this.NSTinfo = [nst_info];
} else {
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 33dec995..4bf55dde 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
@@ -130,10 +130,15 @@ export class SlicingTaskModelComponent implements OnInit {
this.checkDetail = [{ task_id, task_name, create_time, processing_status, service_snssai }];
// 业务需求信息数据
business_demand_info.area = coverage_area_ta_list.map(item => {
- item = item.split(';').join('-')
+ item = item.split(';').join(' - ')
+ return item
+ })
+ // 前端模拟数据
+ let areaList = ["北京;北京市;海淀区", "北京;北京市;西城区", "北京;北京市;昌平区"].map(item => {
+ item = item.split(';').join(' - ')
return item
})
- this.businessRequirement = [business_demand_info];
+ this.businessRequirement = [{...business_demand_info, area: areaList}];
// 匹配NST信息
this.NSTinfo = [nst_info];
// 共享切片实例
@@ -153,7 +158,10 @@ export class SlicingTaskModelComponent implements OnInit {
// 子网实例
let subnetData = { an_suggest_nssi_id, an_suggest_nssi_name, tn_suggest_nssi_id, tn_suggest_nssi_name, cn_suggest_nssi_id, cn_suggest_nssi_name};
this.subnetDataFormatting(subnetData, 0);
- this.slicingSubnet[0].params = { an_latency, an_5qi, an_coverage_area_ta_list }
+ // 前端模拟数据
+ let area = ["北京;北京市;海淀区", "北京;北京市;西城区", "北京;北京市;昌平区"]
+ // this.slicingSubnet[0].params = { an_latency, an_5qi, an_coverage_area_ta_list }
+ this.slicingSubnet[0].params = { an_latency, an_5qi, an_coverage_area_ta_list:area }
this.slicingSubnet[1].params = { tn_latency, tn_bandwidth };
this.slicingSubnet[2].params = {
cn_service_snssai,