From 686fe61b769a1742aafc01281096eeff95db4e76 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 5 Sep 2019 11:17:15 +0800 Subject: feat: add copyright to the performance-vm components Change-Id: I9bff8fd13c4fd5700acf32c98aec7f135d4098ab Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../performance-vm/performance-vm.component.less | 2 +- .../performance-vm/performance-vm.component.ts | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less b/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less index 31623dcf..d73e8aa9 100644 --- a/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less +++ b/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less @@ -56,7 +56,7 @@ hr { right: 10px; } } - //下拉框中的样式在style.less中,下拉框是在body中额外临时生成的 + //The style in the drop-down box is in style.less, and the drop-down box is extra temporary generated in the body. } .submit { margin-left: 20px; diff --git a/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts b/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts index 85150b69..f9421787 100644 --- a/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts +++ b/usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts @@ -1,3 +1,19 @@ +/* + 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. +*/ + import { Component, OnInit, HostBinding } from '@angular/core'; import { slideToRight, showHideAnimate } from '../../../shared/utils/animates'; @@ -20,11 +36,9 @@ export class PerformanceVmComponent implements OnInit { ReportingEntityNameList = ['aaaa', 'bbbb', 'cccc', 'ddddd']; ReportingEntityNameSelected = this.ReportingEntityNameList[0]; choseSourceName(item) { - console.log(item); this.sourceNameSelected = item; } choseReportingEntityName(item) { - console.log(item); this.ReportingEntityNameSelected = item; } @@ -152,7 +166,6 @@ export class PerformanceVmComponent implements OnInit { this.state3 = 'show'; this.graphicshow = true; this.detailshow = true; - console.log(prems); this.detailId = prems.id; } -- cgit 1.2.3-korg