}
getNsiDetail() {
this.myhttp.getSlicingNsiDetail(this.nsiId).subscribe(res => {
+ this.isSpinning = false;
const {result_header: {result_code}, result_body: {hosted_business_list,included_nssi_list} } = res;
if (+result_code === 200) {
- this.isSpinning = false;
this.businessList = hosted_business_list;
this.nssiList = included_nssi_list;
}
}
getNssiDetail(){
this.myhttp.getSlicingNssiDetail(this.nssiId).subscribe(res => {
+ this.isSpinning = false;
const {result_header: {result_code}, result_body: {hosted_nsi_list} } = res;
if (+result_code === 200) {
- this.isSpinning = false;
this.nsiList = hosted_nsi_list;
}
})
getDetail() {
this.myhttp.getSlicingBusinessDetail(this.businessId).subscribe(res => {
+ this.isSpinning = false;
const { result_body, result_header: { result_code } } = res;
if (+result_code === 200) {
- this.isSpinning = false;
const {business_demand_info,business_demand_info: { coverage_area_ta_list },nst_info,nsi_info} = result_body;
business_demand_info.area = coverage_area_ta_list.map(item => {
item = item.split(';').join('-');
nzOkText: null,
nzCancelText: null,
nzComponentParams:{
- businessId:data.nsi_id
+ nsiId:data.nsi_id
}
});
}
this.progressingTimer.forEach((item) => {
clearInterval(item.timer);
})
+ this.progressingTimer = [];
}
selectedValue:string = BUSINESS_STATUS[0];
listOfData: any[] = [];
getListOfProcessingStatus(){
this.pageIndex = 1;
this.pageSize = 10;
+ this.progressingTimer.forEach((item) => {
+ clearInterval(item.timer);
+ });
+ this.progressingTimer = [];
this.getBusinessList();
}
searchData(reset: boolean = false) {
+ this.progressingTimer.forEach((item) => {
+ clearInterval(item.timer);
+ });
+ this.progressingTimer = [];
this.getBusinessList();
}
switchChange(slicing,i){