feat: add copyright to the performance-vm components 92/94992/1
authorcyuamber <xuranyjy@chinamobile.com>
Thu, 5 Sep 2019 03:17:15 +0000 (11:17 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Thu, 5 Sep 2019 03:17:30 +0000 (11:17 +0800)
Change-Id: I9bff8fd13c4fd5700acf32c98aec7f135d4098ab
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.less
usecaseui-portal/src/app/views/performance/performance-vm/performance-vm.component.ts

index 31623dc..d73e8aa 100644 (file)
@@ -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;
index 85150b6..f942178 100644 (file)
@@ -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;
   }