summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-02-05 17:32:04 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-02-05 17:32:08 +0800
commit5a8962154a63fbc18a7849a0184d7f10ebd7f6f6 (patch)
tree2a82b0c24018aa57af176fcca2b376b0f4005f51 /usecaseui-portal/src/app
parent537a77b78b576c08e3f3aabdd468d91ff76ec915 (diff)
feat:add three parameters of Slice task management page
Change-Id: Ic1e9dc5e9ecbaf78bf987e6dfd58747f5442f355 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json5
-rw-r--r--usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts12
2 files changed, 12 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
index daa16b94..3b48acb6 100644
--- a/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
+++ b/usecaseui-portal/src/app/mock/json/slicing_task_auditInfo.json
@@ -34,11 +34,13 @@
"an_suggest_nssi_name": "eMBB ANinstance1",
"an_latency": "10",
"an_5qi": "8",
+ "an_script_name":"test_an_01",
"an_coverage_area_ta_list": ["北京;北京市;海淀区", "北京;北京市;西城区", "北京;北京市;昌平区"],
"tn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411b",
"tn_suggest_nssi_name": "eMBB TNinstance2",
"tn_latency": "10",
"tn_bandwidth": "300",
+ "tn_script_name":"test_tn_01",
"cn_suggest_nssi_id": "46da8cf8-0878-48ac-bea3-f2200959411c",
"cn_suggest_nssi_name": "eMBB CNinstance3",
"cn_service_snssai": "1-010101",
@@ -50,7 +52,8 @@
"cn_exp_data_rate_dl": "300",
"cn_exp_data_rate_ul": "300",
"cn_area_traffic_cap_dl": "300",
- "cn_area_traffic_cap_ul": "300"
+ "cn_area_traffic_cap_ul": "300",
+ "cn_script_name":"test_cn_01"
}
}
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 101b48b8..5e28f2d6 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
@@ -112,9 +112,11 @@ export class SlicingTaskModelComponent implements OnInit {
cn_suggest_nssi_name,
an_latency,
an_5qi,
+ an_script_name,
an_coverage_area_ta_list,
tn_latency,
tn_bandwidth,
+ tn_script_name,
cn_service_snssai,
cn_resource_sharing_level,
cn_ue_mobility_level,
@@ -124,7 +126,8 @@ export class SlicingTaskModelComponent implements OnInit {
cn_exp_data_rate_dl,
cn_exp_data_rate_ul,
cn_area_traffic_cap_dl,
- cn_area_traffic_cap_ul
+ cn_area_traffic_cap_ul,
+ cn_script_name
} = nsi_nssi_info;
// 处理配置审核详情数据
this.checkDetail = [{ task_id, task_name, create_time, processing_status, service_snssai }];
@@ -164,8 +167,8 @@ export class SlicingTaskModelComponent implements OnInit {
// 前端模拟数据
let area = ["Beijing;Beijing;Haidian District", "Beijing;Beijing;Xicheng District", "Beijing;Beijing;Changping District"]
// 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[0].params = { an_latency, an_5qi, an_script_name, an_coverage_area_ta_list: area }
+ this.slicingSubnet[1].params = { tn_latency, tn_bandwidth, tn_script_name };
this.slicingSubnet[2].params = {
cn_service_snssai,
cn_resource_sharing_level,
@@ -176,7 +179,8 @@ export class SlicingTaskModelComponent implements OnInit {
cn_exp_data_rate_dl,
cn_exp_data_rate_ul,
cn_area_traffic_cap_dl,
- cn_area_traffic_cap_ul
+ cn_area_traffic_cap_ul,
+ cn_script_name
};
} else {
this.message.error(result_message || 'Failed to get data')