blob: 74a88dc72e6d6ebfbd4a37d61b53c44a8a61c5ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<div>
<div nz-row>
<div nz-col nzSpan="12" class="monitorDate">
<nz-date-picker
nzShowTime
nzFormat="yyyy-MM-dd HH:mm:ss"
nzPlaceHolder="Select Time"
ngModel
(ngModelChange)="onDateChange($event)"
(nzOnOk)="onDateOk($event)"
></nz-date-picker>
</div>
</div>
<div class="slicing-resource-table">
<div class="slicing-resource-table-list">
<nz-table
#basicTable
[nzData]="listOfData"
[nzFrontPagination]="false"
nzShowSizeChanger
[nzPageSizeOptions]="[6,8,10]"
[nzTotal]='total'
[(nzPageSize)]="pageSize"
[(nzPageIndex)]='pageIndex'
[nzLoading]="loading"
(nzPageIndexChange)="searchData()"
(nzPageSizeChange)="searchData(true)"
>
<thead>
<tr>
<th>Service Instance Id</th>
<th>Service Instance Name</th>
<th>Service Type</th>
<th>S-NSSAI</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<ng-template ngFor let-data [ngForOf]="basicTable.data" let-i="index">
<tr>
<td>{{ data.service_instance_id }}</td>
<td>{{ data.service_instance_name }}</td>
<td>{{ data.service_type }}</td>
<td>{{ data.service_snssai }}</td>
<td>
{{ data.orchestration_status }}
</td>
</tr>
</ng-template>
</tbody>
</nz-table>
</div>
</div>
</div>
|