summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views')
-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,