0647b76daffa6e4f830e271c0277487182d8c164
[usecase-ui.git] /
1 import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
2 import {COMMUNICATION_FORM_ITEMS} from "../../../../../../constants/constants";
3 @Component({
4   selector: 'app-business-order',
5   templateUrl: './business-order.component.html',
6   styleUrls: ['./business-order.component.less']
7 })
8 export class BusinessOrderComponent implements OnInit {
9
10   constructor() { }
11
12   ngOnInit() {
13   }
14     @Input() showModel: boolean;
15     @Output() cancel = new EventEmitter<boolean>();
16
17     handleCancel() {
18         this.showModel = false;
19         this.cancel.emit(this.showModel)
20     }
21     handleOk() {
22         console.log(1)
23     }
24 }