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