tipos de entrada y programas
This commit is contained in:
parent
6896f35197
commit
a1ef474883
@ -117,17 +117,19 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
programas() {
|
||||
this.programasArray = new Array(0)
|
||||
for (let i = 0; i < this.equipo.programas.length; i++)
|
||||
this.programasArray[i] = this.equipo.programas[i]
|
||||
},
|
||||
tiposEntradas() {
|
||||
this.tiposEntradasArray = new Array(0)
|
||||
for (let i = 0; i < this.equipo.tiposEntradas.length; i++)
|
||||
this.tiposEntradasArray[i] = this.equipo.tiposEntradas[i]
|
||||
this.tiposEntradasArray.push(this.equipo.tiposEntradas[i])
|
||||
},
|
||||
programaB(id_equipo_programa) {
|
||||
this.idEquipoPrograma = id_equipo_programa
|
||||
this.$alertsGenericos.imprimirWarning(
|
||||
$buefy,
|
||||
this.$buefy,
|
||||
'¿Estás segur@ de querer borrar este programa?',
|
||||
this.borrarPrograma
|
||||
)
|
||||
@ -152,7 +154,7 @@ export default {
|
||||
tipoEntradaB(id_equipo_tipo_entrada) {
|
||||
this.idEquipoTipoEntrada = id_equipo_tipo_entrada
|
||||
this.$alertsGenericos.imprimirWarning(
|
||||
$buefy,
|
||||
this.$buefy,
|
||||
'¿Estás segur@ de querer borrar este tipo de entrada?',
|
||||
this.borrarTipoEntrada
|
||||
)
|
||||
@ -177,6 +179,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
equipo() {
|
||||
console.log('hola')
|
||||
this.programas()
|
||||
this.tiposEntradas()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user