summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/fcaps
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views/fcaps')
-rw-r--r--usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts12
1 files changed, 7 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
index 0ad68c55..21132892 100644
--- a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
+++ b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitor-5g.component.ts
@@ -79,13 +79,15 @@ export class Monitor5gComponent implements OnInit {
if (this.selectDate !== 0) {
time = this.selectDate
}
- const service_list = [];
+ const requestBody = {
+ service_list:[]
+ };
this.listOfData.forEach(item => {
- service_list.push({ service_id: item.service_instance_id });
+ requestBody.service_list.push({ service_id: item.service_instance_id });
});
- this.fetchTrafficData(service_list, time);
- this.fetchOnlineusersData(service_list, time);
- this.fetchBandwidthData(service_list, time);
+ this.fetchTrafficData(requestBody, time);
+ this.fetchOnlineusersData(requestBody, time);
+ this.fetchBandwidthData(requestBody, time);
}
fetchTrafficData(service_list, time) {
this.myhttp.getFetchTraffic(service_list, time).subscribe(res => {