nuevas vistas
This commit is contained in:
@@ -10,6 +10,9 @@ import {RestaurantesService} from "../../restaurantes.service";
|
||||
export class AgregarUsuarioComponent implements OnInit {
|
||||
|
||||
usuarios: any;
|
||||
idSelect:any;
|
||||
nombreSelect:any;
|
||||
|
||||
|
||||
agreU={
|
||||
nombre:null,
|
||||
@@ -44,6 +47,14 @@ export class AgregarUsuarioComponent implements OnInit {
|
||||
}
|
||||
modificarUsu(id:any){
|
||||
this.restaurantServ.moficiarUsu(id,this.modi).subscribe();
|
||||
}
|
||||
modificarModelUsuario(id:any,nombre:any){
|
||||
this.idSelect=id;
|
||||
this.nombreSelect=nombre;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user