diff options
Diffstat (limited to 'usecaseui-portal/src')
-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; } |