From e5373722e30a8d33070a8ea9c304836673893d93 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Wed, 3 Apr 2019 18:13:54 +0800 Subject: Modify the overall code lincence and comments Change-Id: I821814d97f9e8b8b683d0a2850ea73a104118fd9 Issue-ID: USECASEUI-212 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/home/home.component.css | 2 +- usecaseui-portal/src/app/home/home.component.less | 15 +++++++++++++++ usecaseui-portal/src/app/home/home.component.ts | 22 +++++++++++----------- 3 files changed, 27 insertions(+), 12 deletions(-) (limited to 'usecaseui-portal/src/app/home') diff --git a/usecaseui-portal/src/app/home/home.component.css b/usecaseui-portal/src/app/home/home.component.css index d2e51e40..03cc8f94 100644 --- a/usecaseui-portal/src/app/home/home.component.css +++ b/usecaseui-portal/src/app/home/home.component.css @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 CMCC, Inc. and others. All rights reserved. + Copyright (C) 2019 CMCC, Inc. and others. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/usecaseui-portal/src/app/home/home.component.less b/usecaseui-portal/src/app/home/home.component.less index 750f5a32..9684fec7 100644 --- a/usecaseui-portal/src/app/home/home.component.less +++ b/usecaseui-portal/src/app/home/home.component.less @@ -1,3 +1,18 @@ +/* + Copyright (C) 2019 CMCC, Inc. and others. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ // .title { // font: 700 18px/18px "思源黑体"; // color: #4c5e70; diff --git a/usecaseui-portal/src/app/home/home.component.ts b/usecaseui-portal/src/app/home/home.component.ts index 9d81684d..bd4c5176 100644 --- a/usecaseui-portal/src/app/home/home.component.ts +++ b/usecaseui-portal/src/app/home/home.component.ts @@ -119,7 +119,7 @@ export class HomeComponent implements OnInit { }) } - // alarm饼图 + // alarm bar alarmChartData:Object; alarmChartInit:Object = { height: 180, @@ -143,11 +143,11 @@ export class HomeComponent implements OnInit { x2: 0, y2: 1, colorStops: [{ - offset: 0, color: '#FB93C2' // 0% 处的颜色 + offset: 0, color: '#FB93C2' }, { - offset: 1, color: '#FB7788' // 100% 处的颜色 + offset: 1, color: '#FB7788' }], - globalCoord: false // 缺省为 false + globalCoord: false }, { type: 'linear', x: 0, @@ -155,14 +155,14 @@ export class HomeComponent implements OnInit { x2: 0, y2: 1, colorStops: [{ - offset: 0, color: '#A6BFE4' // 0% 处的颜色 + offset: 0, color: '#A6BFE4' }, { - offset: 1, color: '#7A8BAE' // 100% 处的颜色 + offset: 1, color: '#7A8BAE' }], - globalCoord: false // 缺省为 false + globalCoord: false }], series: [{ - name: "告警信息", + name: " ", radius: '55%', center:['50%', '45%'], label: { @@ -189,7 +189,7 @@ export class HomeComponent implements OnInit { }) } - // alarm线图 + // alarm lin alarmLineChartData:Object; alarmLineChartInit:Object = { height:320, @@ -232,7 +232,7 @@ export class HomeComponent implements OnInit { } }; - // services进度条 + // services servicesBarChartData: Object; serviceBarChartInit: Object = { option: { @@ -318,7 +318,7 @@ export class HomeComponent implements OnInit { console.log(err); }) } - // sourceName筛选框 + // sourceName sourceNameList = ['performanceNameOne']; sourceNameSelected = null; -- cgit 1.2.3-korg