diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-09-05 11:36:44 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-09-05 11:36:57 +0800 |
commit | 418ca82940e11e7a1234ae3e80447651f22c1320 (patch) | |
tree | 3ccd93699ed589a82c497a20d637b437ffb674c0 /usecaseui-portal/src/app | |
parent | 2e47b3d81954beba436d559d4499240961fd071a (diff) |
feat: optimize ccvpn related page code
Change-Id: Ibcf32ff2e70f817c7e4fa7201ba8e961dda87438
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
3 files changed, 0 insertions, 11 deletions
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); } |