From f1168a9fad8244d9a4ae5f21efb48bb9c14a2a4c Mon Sep 17 00:00:00 2001 From: liuwh7 Date: Fri, 22 Oct 2021 15:21:16 +0800 Subject: feat: modify intent based service Signed-off-by: liuwh7 Change-Id: I8efc89b26a1d51eddfdfdab53c3ad6e2136e1440 Issue-ID: USECASEUI-605 --- .../monitor-facps-service.component.ts | 13 ++++ .../onboard-vnf-vm/onboard-vnf-vm.component.html | 2 +- .../cloud-leased-line-modal.component.html | 4 -- .../cloud-leased-line-modal.component.ts | 27 +++++++- .../cloud-leased-line.component.ts | 76 ++++++++++++++-------- 5 files changed, 87 insertions(+), 35 deletions(-) diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts index 1c5017c4..7d877371 100644 --- a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts +++ b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts @@ -42,6 +42,9 @@ export class MonitorFacpsServiceComponent implements OnInit { data: [] } ], + tooltip: { + trigger: 'axis', + }, }, }; @@ -73,6 +76,7 @@ export class MonitorFacpsServiceComponent implements OnInit { containLabel: true, }, xAxis: { + type: "category", axisTick: { show: false, }, @@ -80,6 +84,15 @@ export class MonitorFacpsServiceComponent implements OnInit { show: false, }, axisLabel: { + interval: 0, + show: true, + textStyle: { + color: "#a9a9a9", //更改坐标轴文字颜色 + fontSize: 10 //更改坐标轴文字大小 + }, + rotate: 40, + showMinLabel: true,//显示最小值 + showMaxLabel: true,//显示最大值 color: "#3C4F8C", }, data: this.initData.option.xAxis.data, diff --git a/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.html b/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.html index 2c7b11a5..889e705b 100644 --- a/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.html +++ b/usecaseui-portal/src/app/views/onboard-vnf-vm/onboard-vnf-vm.component.html @@ -151,7 +151,7 @@ {{item.size}} {{item.createTime}} {{item.active ? 'Active' : 'Inactive'}} - {{item.type || '--'}} + {{item.modelType || '--'}}