diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-09-05 07:50:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-05 07:50:32 +0000 |
commit | 8e38ef3d1f90a3f41265bcf652777aad259d7267 (patch) | |
tree | 4b40f11b41fa69ed545d54bb53120f1bfdc017bd | |
parent | 829654bfc898544be7648171acd1904250c47c09 (diff) | |
parent | 418ca82940e11e7a1234ae3e80447651f22c1320 (diff) |
Merge "feat: optimize ccvpn related page code"
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); } |