1 <div class="slicing-resource-table">
3 <div nz-col nzSpan="12" class="task_status">
5 <nz-select nzShowSearch nzPlaceHolder="Select a processing status" [(ngModel)]="selectedValue"
6 (ngModelChange)="getListOfProcessingStatus()">
7 <nz-option *ngFor="let item of statusOptions" [nzLabel]="item" [nzValue]="item"></nz-option>
15 [nzFrontPagination]="false"
16 [nzPageSizeOptions]="[5,10,15,20]"
18 [(nzPageSize)]="pageSize"
19 [(nzPageIndex)]='pageIndex'
21 (nzPageIndexChange)="searchData()"
22 (nzPageSizeChange)="searchData(true)"
26 <th>Service_instance_id</th>
27 <th>Service_instance_name</th>
30 <th>Orchestration_status</th>
36 <ng-template ngFor let-data [ngForOf]="basicTable.data" let-i="index">
38 <td>{{ data.service_instance_id }}</td>
39 <td>{{ data.service_instance_name }}</td>
40 <td>{{ data.service_type }}</td>
41 <td>{{ data.service_snssai }}</td>
44 <span class="marginLeft10">
45 {{ data.last_operation_progress!==100?data.last_operation_type+' '+data.last_operation_progress+'%':data.orchestration_status }}
47 <nz-progress *ngIf="data.last_operation_progress !== 100"
48 [nzPercent]="data.last_operation_progress"
49 [nzShowInfo]="false" nzStatus="active"></nz-progress>
52 <nz-switch [ngModel]="switchStatusAll[i]==='activated'?true:false"
53 [nzDisabled]="data.last_operation_progress !== 100"
54 (ngModelChange)="switchChange(data,i)"
56 <i [ngClass]="{'cannotclick':data.last_operation_progress !== 100}"
60 (click)="terminate(data)"
64 <!--<i [ngClass]="{'cannotclick':data.last_operation_progress !== 100}"-->
65 <!--class="anticon anticon-bars"-->
66 <!--(click)="showdetail(data)">-->
68 <i (click)="showdetail(data)" [ngClass]="{'cannotclick':data.last_operation_progress !== 100}">Detail</i>