import { OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { NzMessageService } from 'ng-zorro-antd/message'; import { NzModalRef } from 'ng-zorro-antd/modal'; import { EquipmentService } from '../../../service/equipment.service'; import { AuthenticationService } from '../../../service/system/authentication.service'; export declare class FacilityDetailComponent implements OnInit { private fb; message: NzMessageService; private authService; private modal; private equipmentService; currentFacility: any; code: any; validateForm: FormGroup; userInfo: any; facilityTypes: any[]; facilitySubtypes: any[]; facilitySubtypesBak: any[]; facilityLevels: any[]; facilityLifeCycles: any[]; facilityDepartments: any[]; facilityCompanies: any[]; facilityRunningStatuses: any[]; facilityLocation: any[]; facilityCurrentStatues: any[]; alarmShow: { value: number; label: string; }[]; stateShow: { value: number; label: string; }[]; constructor(fb: FormBuilder, message: NzMessageService, authService: AuthenticationService, modal: NzModalRef, equipmentService: EquipmentService); ngOnInit(): void; submitForm(): Promise; confirmModal(): void; saveModal(): Promise; cancelModal(): void; /** * 处理类型数据 */ typeChange(value: string): void; /** * 查询物资维护数据 */ getEquipmentMaintainData(): Promise; isEmpty(obj: any): boolean; transFormMaintainData(name: any): any; formatIsRepairing(data: any): "否" | "是"; checkPurchaseAmount(data: string): boolean; }