diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-09-05 07:49:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-05 07:49:18 +0000 |
commit | 755ac78506d93351fb8022e084312371b30aac5a (patch) | |
tree | 5a26948e36cd2a2b6fd73fe487b8c9de659559e3 /usecaseui-portal | |
parent | caeabfc0f6d5523e2655158f1757f93797613fbf (diff) | |
parent | 686fe61b769a1742aafc01281096eeff95db4e76 (diff) |
Merge "feat: add copyright to the performance-vm components"
Diffstat (limited to 'usecaseui-portal')
-rw-r--r-- | usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less | 2 | ||||
-rw-r--r-- | usecaseui-portal/src/app/views/performance/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; } |