From 2e359b756193f4c93fe24b35162067d9b4470c33 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Mon, 13 May 2019 15:06:26 +0800 Subject: User and service type management interface Change-Id: I3645f2a6658e9aa240406eced6ec6e4db99c8ebf Issue-ID: USECASEUI-212 Signed-off-by: guochuyicmri --- .../src/app/components/charts/pie/pie.component.ts | 9 +-------- .../src/app/components/customer/customer.component.html | 2 +- .../src/app/components/customer/customer.component.less | 17 +++++++++++------ .../src/app/management/management.component.html | 4 ++-- 4 files changed, 15 insertions(+), 17 deletions(-) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts index b1549ab2..7eee9165 100644 --- a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts +++ b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts @@ -48,14 +48,7 @@ export class PieComponent implements OnInit { hoverOffset: 3, avoidLabelOverlap: false, label: this.initData.option.series[0].label, - data:[ - {value:5, name:'11'}, - {value:8, name:'22'}, - {value:10, name:'33'}, - {value:20, name:'44'}, - {value:60, name:'55'}, - - ], + data:[], itemStyle: this.initData.option.series[0].itemStyle } ] diff --git a/usecaseui-portal/src/app/components/customer/customer.component.html b/usecaseui-portal/src/app/components/customer/customer.component.html index 5cdd5d99..5a38944c 100644 --- a/usecaseui-portal/src/app/components/customer/customer.component.html +++ b/usecaseui-portal/src/app/components/customer/customer.component.html @@ -24,7 +24,7 @@

{{"i18nTextDefine_Instance_Count_of_ServiceType" | translate}}

- customerName + customerName {{this.serviceInit["customer"]}}
diff --git a/usecaseui-portal/src/app/components/customer/customer.component.less b/usecaseui-portal/src/app/components/customer/customer.component.less index 3ad7191e..81274dda 100644 --- a/usecaseui-portal/src/app/components/customer/customer.component.less +++ b/usecaseui-portal/src/app/components/customer/customer.component.less @@ -43,8 +43,8 @@ display: inline-block; vertical-align: top; .customer_title { - line-height: 3.5; - height: 5%; + line-height: 3.5em; + //height: 5%; width: 100%; border-bottom: 1px #07A9E1 solid; .customers { @@ -55,6 +55,7 @@ } img { width: 30px; + height: 30px; float: right; margin-top: 7px; } @@ -63,6 +64,7 @@ .customer_detail { height: 95%; width: 100%; + overflow: auto; border-top: 1px #07A9E1 solid; .customer_add { line-height: 3.5; @@ -97,10 +99,11 @@ cursor: pointer; color: rgba(60,79,140,0.5); img { - width: 10%; + width: 30px; + height: 30px; } span { - width: 80%; + width: 70%; padding-left: 10%; display: inline-block; } @@ -119,8 +122,8 @@ display: inline-block; vertical-align: top; .services_type_title { - line-height: 3.5; - height: 5%; + line-height: 3.5em; + //height: 5%; width: 100%; border-bottom: 1px #07A9E1 solid; .servicess { @@ -131,6 +134,7 @@ } img { width: 50px; + height: 50px; float: right; margin-right: -10px; margin-top: 5px; @@ -140,6 +144,7 @@ .services_type_detail { height: 95%; width: 100%; + overflow: auto; border-top: 1px #07A9E1 solid; .services_add { line-height: 3.5; diff --git a/usecaseui-portal/src/app/management/management.component.html b/usecaseui-portal/src/app/management/management.component.html index 8cfccfd3..2efa3f8e 100644 --- a/usecaseui-portal/src/app/management/management.component.html +++ b/usecaseui-portal/src/app/management/management.component.html @@ -18,9 +18,9 @@

{{"i18nTextDefine_Create_initial_customer" | translate}}

{{"i18nTextDefine_Customer_not_in_ONAP" | translate}} - {{"i18nTextDefine_createCustomer&serviceType" | translate}} + {{"i18nTextDefine_CreateCustomer" | translate}} - +
-- cgit 1.2.3-korg