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>
11 <div class="slicing-resource-table-list">
12 <nz-table #basicTable [nzData]="listOfData" [nzFrontPagination]="false" nzShowSizeChanger
13 [nzPageSizeOptions]="[5,10,15,20]" [nzTotal]='total' [(nzPageSize)]="pageSize" [(nzPageIndex)]='pageIndex'
14 [nzLoading]="loading" (nzPageIndexChange)="searchData()" (nzPageSizeChange)="searchData(true)">
18 <th width=280>Service Instance Id</th>
19 <th width=200>Service Instance Name</th>
20 <th width=110>Service Type</th>
21 <th width=110>S-NSSAI</th>
22 <th width=110>Status</th>
23 <th width=180>Aciton</th>
27 <ng-template ngFor let-data [ngForOf]="basicTable.data" let-i="index">
30 <td>{{ data.service_instance_id }}</td>
31 <td>{{ data.service_instance_name }}</td>
32 <td>{{ data.service_type?data.service_type:'--' }}</td>
33 <td>{{ data.service_snssai }}</td>
35 <span class="marginLeft10">
36 <span *ngIf="data.last_operation_progress && data.last_operation_progress !== '100'">
37 {{data.last_operation_progress+'%'}}
40 {{data.orchestration_status}}
45 <div class="action-icon">
46 <nz-switch [ngModel]="data.service_status==='activated'?true:false"
47 [nzDisabled]="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100'"
48 (ngModelChange)="switchChange(data,i)"></nz-switch>
50 *ngIf="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && data.last_operation_type !== 'DELETE'"
51 [nzPercent]="data.last_operation_progress" [nzShowInfo]="false" nzStatus="active">
54 <div class="action-icon">
55 <i [ngClass]="{'cannotclick': data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && (data.last_operation_type !== 'DELETE' || data.service_status==='activated')}"
56 nz-icon nzType="poweroff" nzTheme="outline" class="anticon anticon-poweroff"
57 (click)="terminate(data)"></i>
59 *ngIf="data.last_operation_type && data.last_operation_progress && data.last_operation_progress !== '100' && terminateStart"
60 [nzPercent]="data.last_operation_progress" [nzShowInfo]="false" nzStatus="active">