aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-05-15 00:47:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-15 00:47:52 +0000
commit7278c889b414b54995f9599a3955be5be9d255f6 (patch)
tree25fead4a6ea006e9ff8dea19c1b10e9e13be7ccd
parent2bfc7618524a89dfd3bd89fff72247b99f06ba8f (diff)
parenta22870df797dd0e52a956e26bba4e1d35d3492ae (diff)
Merge "Package management interface development"
-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>