summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-14 19:07:54 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-14 19:07:57 +0800
commita22870df797dd0e52a956e26bba4e1d35d3492ae (patch)
tree02a852e13ef3c7d4c392419884d6471414fdba12 /usecaseui-portal/src/app
parent990415a4093a32842ed876767f077cdd9ffc20d4 (diff)
Package management interface development
Change-Id: I032e0642724fe4f2696453d50583538d827232f0 Issue-ID: USECASEUI-211 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/components/charts/pie/pie.component.ts1
-rw-r--r--usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html13
2 files changed, 7 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts
index 7eee9165..61bed45e 100644
--- a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts
+++ b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts
@@ -47,6 +47,7 @@ export class PieComponent implements OnInit {
legendHoverLink: false,
hoverOffset: 3,
avoidLabelOverlap: false,
+ minAngle:1,
label: this.initData.option.series[0].label,
data:[],
itemStyle: this.initData.option.series[0].itemStyle
diff --git a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
index c27a9353..1a76a726 100644
--- a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
+++ b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
@@ -91,8 +91,8 @@
</thead>
<tbody>
<tr *ngFor="let item of nzTable.data; let i = index; ">
- <td *ngIf="item.id">{{item.id}}</td>
- <td *ngIf="item.uuid">{{item.uuid}}</td>
+ <td>{{i+1}}</td>
+ <!--<td *ngIf="item.uuid">{{item.uuid}}</td>-->
<td *ngIf="item.nsdName">{{item.nsdName}}</td>
<td *ngIf="item.nsdName === null || item.nsdName === ''">&nbsp;</td>
@@ -216,8 +216,8 @@
</thead>
<tbody>
<tr *ngFor="let item of nzTable.data; let i = index; ">
- <td *ngIf="item.id">{{item.id}}</td>
- <td *ngIf="item.uuid">{{item.uuid}}</td>
+ <td>{{i+1}}</td>
+ <!--<td *ngIf="item.uuid">{{item.uuid}}</td>-->
<td *ngIf="item.vnfProductName">{{item.vnfProductName}}</td>
<td *ngIf="item.vnfProductName === null || item.vnfProductName === ''">&nbsp;</td>
<td *ngIf="item.name">{{item.name}}</td>
@@ -225,8 +225,8 @@
<td *ngIf="item.vnfdVersion === null || item.vnfdVersion === ''">&nbsp;</td>
<td *ngIf="item.version">{{item.version}}</td>
<td>{{item.onboardingState}}</td>
- <td>{{item.usageState}}</td>
<td>{{item.operationalState}}</td>
+ <td>{{item.usageState}}</td>
<td>
<i [ngClass]="{'cannotclick':onboardData.status == 'onboarding' && i == currentIndex}"
class="anticon anticon-upload upicon" #upload_icon (click)="updataVnfService(item.uuid,i)"
@@ -321,14 +321,13 @@
<th nzWidth="15%" nzShowSort nzSortKey="name"> {{"i18nTextDefine_Name" | translate}} </th>
<th nzWidth="15%"> {{"i18nTextDefine_Version" | translate}} </th>
<th nzWidth="15%"> {{"i18nTextDefine_OnboardingState" | translate}} </th>
- <th nzWidth="15%"> {{"i18nTextDefine_OperationalState" | translate}} </th>
<th nzWidth="10%"> {{"i18nTextDefine_UsageState" | translate}} </th>
<th nzWidth="15%"> {{"i18nTextDefine_Operationbutton" | translate}} </th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of nzTable.data; let i = index; ">
- <td>{{item.id}}</td>
+ <td>{{i+1}}</td>
<td>{{item.pnfdName}}</td>
<td>{{item.pnfdVersion}}</td>
<td>{{item.pnfdOnboardingState}}</td>