summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-05 11:17:15 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-05 11:17:30 +0800
commit686fe61b769a1742aafc01281096eeff95db4e76 (patch)
tree5c5625ea43ba14f93705f4d59b66ba6bb9c300e7
parente958aec7ad74d8206815671ffce7ed0cfa11ccaf (diff)
feat: add copyright to the performance-vm components
Change-Id: I9bff8fd13c4fd5700acf32c98aec7f135d4098ab Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less2
-rw-r--r--usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts19
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;
}