listOfData: any[] = [];
pageIndex: number = 1;
pageSize: number = 10;
- total: number = 100;
+ total: number = 0;
loading = false;
isSelect: boolean = false;
statusOptions: any[] = BUSINESS_STATUS;
this.isSelect = true;
}
this.myhttp.getSlicingNsiList(paramsObj,this.isSelect).subscribe (res => {
- const { result_header: { result_code }, result_body: { nsi_service_instances } } = res;
+ const { result_header: { result_code }, result_body: { nsi_service_instances,record_number } } = res;
if (+result_code === 200) {
- this.total = nsi_service_instances.length;
+ this.total = record_number;
this.loading = false;
this.listOfData = nsi_service_instances;
}
<th>Service Instance Id</th>
<th>Service Instance Name</th>
<th>Service Type</th>
- <th>Context</th>
+ <th>Environment Context</th>
<th>Status</th>
<th width="140px">Detail</th>
</tr>
listOfData: any[] = [];
pageIndex: number = 1;
pageSize: number = 10;
- total: number = 100;
+ total: number = 0;
loading = false;
isSelect: boolean = false;
statusOptions: any[] = BUSINESS_STATUS;
this.isSelect = true;
}
this.myhttp.getSlicingNssiList(paramsObj,this.isSelect).subscribe (res => {
- const { result_header: { result_code }, result_body: { nssi_service_instances } } = res;
+ const { result_header: { result_code }, result_body: { nssi_service_instances,record_number } } = res;
if (+result_code === 200) {
- this.total = nssi_service_instances.length;
+ this.total = record_number;
this.loading = false;
this.listOfData = nssi_service_instances;
}
listOfData: any[] = [];
pageIndex: number = 1;
pageSize: number = 10;
- total: number = 100;
+ total: number = 0;
loading = false;
isSelect: boolean = false;
statusOptions: any[] = BUSINESS_STATUS;
this.isSelect = true;
}
this.myhttp.getSlicingBusinessList(paramsObj,this.isSelect).subscribe (res => {
- const { result_header: { result_code }, result_body: { slicing_business_list } } = res;
+ const { result_header: { result_code }, result_body: { slicing_business_list,record_number } } = res;
if (+result_code === 200) {
- this.total = slicing_business_list.length;
+ this.total = record_number;
this.loading = false;
this.listOfData = slicing_business_list.map((item)=>{
if(item.last_operation_progress < 100){
}
.slicing-resource-table-list{
padding: 0 20px 0 0!important;
+}
+.taskmodel_list{
+ margin-bottom: 20px;
}
\ No newline at end of file