summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-12 16:45:16 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-12 16:45:22 +0800
commiteb2d8b5118d13398eb57ef10d68b6ec595bc1989 (patch)
tree74ae9efbdfc860f7fef653682e3e0705a72d67ec /usecaseui-portal/src/app/views
parent8fc83809ff5d970b7ecda3e24e4038faa03d950b (diff)
feat:optimize topo api & mock json for network service page
Change-Id: Icb5cbb83407c1fa8054dea197fd52292747bd821 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views')
-rw-r--r--usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.html2
-rw-r--r--usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.html b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.html
index 25687f67..fb025d96 100644
--- a/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.html
+++ b/usecaseui-portal/src/app/views/ccvpn-network/ccvpn-network.component.html
@@ -145,7 +145,7 @@
</li>
</ul>
<button nz-button nzType="primary" nzSize="small" class="del-button" style="width: 90px;" (click)="delLink()" *ngIf="!delcloud"> {{"i18nTextDefine_DeleteLink" | translate}} </button>
- <button nz-button nzType="primary" nzSize="small" class="del-button" style="width: 90px;" (click)="delCloudLink()" *ngIf="delcloud"> {{"i18nTextDefine_deleteLink" | translate}} </button>
+ <button nz-button nzType="primary" nzSize="small" class="del-button" style="width: 90px;" (click)="delCloudLink()" *ngIf="delcloud"> {{"i18nTextDefine_DeleteLink" | translate}} </button>
<button nz-button nzType="default" nzSize="small" class="del-button" style="width: 60px;" (click)="hideForm()"> {{"i18nTextDefine_Cancel" | translate}} </button>
</div>
</div>
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 d02149d0..a2f9561c 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
@@ -688,7 +688,7 @@ export class CcvpnNetworkComponent implements OnInit {
let params = {
pnfName: this.selectedNode1,
};
- this.myhttp.getPInterfacesData1(params)
+ this.myhttp.getPInterfacesData(params)
.subscribe((data) => {
this.tpOption1 = [];
for (let i = 0; i < data.length; i++) {
@@ -716,7 +716,7 @@ export class CcvpnNetworkComponent implements OnInit {
let params = {
pnfName: this.selectedNode2,
};
- this.myhttp.getPInterfacesData2(params)
+ this.myhttp.getPInterfacesData(params)
.subscribe((data) => {
this.tpOption2 = [];
for (let i = 0; i < data.length; i++) {