blob: ec8790abd8bcd05f4e7570dec765356ebedee4b0 (
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
25
26
27
28
29
30
31
32
33
|
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { WIRELESS_FORM_ITEMS, TRANSFRER_FORM_ITEMS } from '../.../../../../../../../../constants/constants'
@Component({
selector: 'app-subnet-params-model',
templateUrl: './subnet-params-model.component.html',
styleUrls: ['./subnet-params-model.component.less']
})
export class SubnetParamsModelComponent implements OnInit {
@Input() showModel: boolean;
@Input() detailData: any;
@Input() title: string;
@Output() cancel = new EventEmitter<boolean>();
transferFormItems = TRANSFRER_FORM_ITEMS;
constructor() { }
ngOnInit() {
}
handleCancel() {
this.showModel = false
this.cancel.emit(this.showModel)
}
handleOk(): void {
this.handleCancel()
}
}
|