From 418ca82940e11e7a1234ae3e80447651f22c1320 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 5 Sep 2019 11:36:44 +0800 Subject: feat: optimize ccvpn related page code Change-Id: Ibcf32ff2e70f817c7e4fa7201ba8e961dda87438 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../src/app/views/ccvpn-creation/ccvpn-creation.component.ts | 7 ------- .../src/app/views/ccvpn-network/ccvpn-network.component.css | 2 -- .../src/app/views/ccvpn-network/ccvpn-network.component.ts | 2 -- 3 files changed, 11 deletions(-) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts index 214afbb7..cb1c61df 100644 --- a/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts +++ b/usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts @@ -15,9 +15,7 @@ */ import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import * as d3 from 'd3'; -import * as $ from 'jquery'; import { MyhttpService } from '../../core/services/myhttp.service'; -import { el } from "@angular/platform-browser/testing/src/browser_util"; @Component({ selector: 'app-ccvpn-creation', @@ -82,11 +80,9 @@ export class CcvpnCreationComponent implements OnInit { } getccvpnTemParameters(data) { //Get template parameters - console.log(this.createParams); if (typeof data["model"] == 'string') { data = JSON.parse(data["model"]); } - console.log(data); let inputss = data["inputs"]; let inputs = {}; this.templateParameters.service = { @@ -135,7 +131,6 @@ export class CcvpnCreationComponent implements OnInit { }); this.showTemParametersSotnVpn(); this.showTemParametersSite(); - console.log(this.bodyTemplateParameter, this.templateParameters) } //sotnVpn data, after combining the structure, rendering the template data to the page @@ -455,7 +450,6 @@ export class CcvpnCreationComponent implements OnInit { this.tabInputShowWanPort[index] = true; } }); - console.log(this.siteTableData); this.drawImage(this.siteTableData); this.siteModelShow = false; } @@ -711,7 +705,6 @@ export class CcvpnCreationComponent implements OnInit { servicebody.service.parameters.requestInputs[item] = [].concat(this.sotnVpnTableData); } }); - console.log(servicebody); this.closeCreate.emit(servicebody); diff --git a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.css b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.css index 5055205d..53cf02b4 100644 --- a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.css +++ b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.css @@ -77,9 +77,7 @@ color: #A0AACD; } .model .creation { - /*margin-top:-4%;*/ background-color: #fff; - /*float: left;*/ width: 20%; position: absolute; left: 0; diff --git a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.ts b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.ts index 8a56d885..d02149d0 100644 --- a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.ts +++ b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.ts @@ -196,7 +196,6 @@ export class CcvpnNetworkComponent implements OnInit { } this.networkOption.push(name2); } - console.log(this.networkOption); for (let i = 0; i < data.length; i++) { let tp_length = data[i]['tps'].length; for (let h = 0; h < tp_length; h++) { @@ -244,7 +243,6 @@ export class CcvpnNetworkComponent implements OnInit { this.logicalLinks.push(textval); this.chose(textval); } - console.log(this.logicalLinks); if (this.dataCloudLink.length > 0) { this.getcloudLine(this.dataCloudLink); } -- cgit 1.2.3-korg