summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-19 11:12:22 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-19 11:12:40 +0800
commit3d9b2145afea67bc95646b6b0e6f9028d6ee206f (patch)
tree615d1b5dad60bf5b86762f29d2fcbde87777b805 /usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html
parentd820262c8ef4902840288b5b08081866d83b930e (diff)
feat:ccvpn detail fix Sdwandevice as same as site
Change-Id: I04c33dc2a36633a1cfd1a3b99994e888d42c879b Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html')
-rw-r--r--usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html30
1 files changed, 24 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html
index b8d0ce3a..4b21ada8 100644
--- a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html
+++ b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.html
@@ -310,12 +310,30 @@
</div>
<div>
<h3>Sdwandevice</h3>
- <div class="inputs">
- <ul>
- <li *ngFor="let item of this.templateParameters.site.sdwandevice_list">
- <span>{{item.lable}}:</span>
- <span class="input-info">{{siteCpeData[item.lable]}}</span>
- </ul>
+ <!--<div class="inputs">-->
+ <!--<ul>-->
+ <!--<li *ngFor="let item of this.templateParameters.site.sdwandevice_list">-->
+ <!--<span>{{item.lable}}:</span>-->
+ <!--<span class="input-info">{{siteCpeData[item.lable]}}</span>-->
+ <!--</ul>-->
+ <!--</div>-->
+ <div>
+ <table class="siteWanTab">
+ <thead>
+ <tr>
+ <th width="4%"> NO.</th>
+ <th *ngFor="let key of getKeys(this.siteCpeData)">{{key}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr *ngFor="let item of siteSdwanDevice; let i = index;" class="tr-border">
+ <td>{{i+1}}</td>
+ <td *ngFor="let key of getKeys(item);">
+ <span *ngIf="key != 'lable' ">{{item[key]}}</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
<h3>Sdwansitewan List</h3>
<div>