diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-07-14 18:55:22 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-07-14 18:56:39 +0800 |
commit | 81d841b1360abe51d501f3c2f8d1e9f5b97da8e8 (patch) | |
tree | d15b7730c4b0413b6824afa081e86920f6bdd4ea /usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order | |
parent | 59ec2ac4a3c93c6c4b68f09295416310d3093876 (diff) |
feat: Add prompt message for interface error3.0.5
Change-Id: I106e5c7586dd79874e6fec61c331c7a2d120302d
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
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); |