Package management interface development 63/87663/1
authorguochuyicmri <guochuyi@chinamobile.com>
Tue, 14 May 2019 11:07:54 +0000 (19:07 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Tue, 14 May 2019 11:07:57 +0000 (19:07 +0800)
Change-Id: I032e0642724fe4f2696453d50583538d827232f0
Issue-ID: USECASEUI-211
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/components/charts/pie/pie.component.ts
usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html

index 7eee916..61bed45 100644 (file)
@@ -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
index c27a935..1a76a72 100644 (file)
@@ -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>
                     </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>
                             <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)"
                             <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>