diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-14 19:07:54 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-14 19:07:57 +0800 |
commit | a22870df797dd0e52a956e26bba4e1d35d3492ae (patch) | |
tree | 02a852e13ef3c7d4c392419884d6471414fdba12 /usecaseui-portal/src/app | |
parent | 990415a4093a32842ed876767f077cdd9ffc20d4 (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.ts | 1 | ||||
-rw-r--r-- | usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html | 13 |
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 === ''"> </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 === ''"> </td> <td *ngIf="item.name">{{item.name}}</td> @@ -225,8 +225,8 @@ <td *ngIf="item.vnfdVersion === null || item.vnfdVersion === ''"> </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> |