diff options
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts index 99cbde98..c624c64c 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.ts @@ -197,9 +197,11 @@ export class BusinessOrderComponent implements OnInit { this.isSpinning = true; this.myhttp.csmfSlicingPurchase(paramsObj).subscribe(res => { const {result_header: {result_code}} = res; + this.isSpinning = false; if (+result_code === 200) { - this.isSpinning = false; this.handleCancel(); + }else{ + this.message.error(res.result_header.result_message) } }, (err) => { this.message.error(err); |