diff options
author | 2020-02-11 11:21:41 +0800 | |
---|---|---|
committer | 2020-02-11 11:38:45 +0800 | |
commit | 00ff3eb8ebd4ea4311832dbad9748f4ae2bd02b2 (patch) | |
tree | 0ec098e57d57e70bc416a91cb60329b770764987 /usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order | |
parent | b11cf6b523d012186e9513f1bbdd196743f07aad (diff) |
feat: Optimize slice business management
Change-Id: I95a55038c22cb3d54d3217fb3b0031adafc3a56a
Issue-ID: USECASEUI-369
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order')
2 files changed, 13 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html index 606d9e15..d4914dd1 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/csmf-slicing-business-management/business-order/business-order.component.html @@ -1,3 +1,3 @@ -<p> - business-order works! -</p> +<nz-modal [(nzVisible)]="showModel" nzTitle="Create Slicing Business Order" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()" + nzWidth="900px"> +</nz-modal> 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 bf95a83c..0647b76d 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 @@ -1,4 +1,4 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core'; import {COMMUNICATION_FORM_ITEMS} from "../../../../../../constants/constants"; @Component({ selector: 'app-business-order', @@ -11,5 +11,14 @@ export class BusinessOrderComponent implements OnInit { ngOnInit() { } + @Input() showModel: boolean; + @Output() cancel = new EventEmitter<boolean>(); + handleCancel() { + this.showModel = false; + this.cancel.emit(this.showModel) + } + handleOk() { + console.log(1) + } } |