summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/ccvpn-creation
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-05 11:36:44 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-05 11:36:57 +0800
commit418ca82940e11e7a1234ae3e80447651f22c1320 (patch)
tree3ccd93699ed589a82c497a20d637b437ffb674c0 /usecaseui-portal/src/app/views/ccvpn-creation
parent2e47b3d81954beba436d559d4499240961fd071a (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/views/ccvpn-creation')
-rw-r--r--usecaseui-portal/src/app/views/ccvpn-creation/ccvpn-creation.component.ts7
1 files changed, 0 insertions, 7 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);