pad端六熟悉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

import { HttpClient } from '@angular/common/http';
import { Component, OnInit, Inject } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
@Component({
selector: 'app-add-six-familiar',
templateUrl: './add-six-familiar.component.html',
styleUrls: ['./add-six-familiar.component.scss']
})
export class AddSixFamiliarComponent implements OnInit {
constructor(private http:HttpClient,public dialog: MatDialog,public snackBar: MatSnackBar) { }
title:String = "新增六熟悉记录"
ngOnInit(): void {
}
//选择单位
openUnitList(){
let dialogRef = this.dialog.open(SelectUnit);
dialogRef.afterClosed().subscribe(data=>{
});
}
}
//选择单位
@Component({
selector: 'app-editBuilding',
templateUrl: './Select-unit-list.html',
styleUrls: ['./add-six-familiar.component.scss']
})
export class SelectUnit {
constructor(private http:HttpClient,public dialog: MatDialog,public dialogRef: MatDialogRef<SelectUnit>,@Inject(MAT_DIALOG_DATA) public data) { }
ngOnInit(): void {
}
}