Mesa para laptop
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<b-radio v-model="idArea" v-if="area3" native-value="3"
|
||||
><b-icon icon="linux" size="is-small"></b-icon> Linux</b-radio
|
||||
>
|
||||
<b-radio v-model="idArea" v-if="area4" native-value="4"
|
||||
><b-icon icon="laptop" size="is-small"></b-icon> Mesa para Lap</b-radio
|
||||
>
|
||||
</div>
|
||||
|
||||
<p class="subtitle is-4">
|
||||
@@ -133,6 +136,7 @@ export default {
|
||||
area1: true,
|
||||
area2: true,
|
||||
area3: true,
|
||||
area4: true,
|
||||
|
||||
error: false,
|
||||
|
||||
@@ -205,6 +209,7 @@ export default {
|
||||
if (this.inscripcionesUsuario[i].idArea === 1) this.area1 = false
|
||||
if (this.inscripcionesUsuario[i].idArea === 2) this.area2 = false
|
||||
if (this.inscripcionesUsuario[i].idArea === 3) this.area3 = false
|
||||
if (this.inscripcionesUsuario[i].idArea === 4) this.area4 = false
|
||||
}
|
||||
},
|
||||
diaMin(today) {
|
||||
@@ -240,6 +245,7 @@ export default {
|
||||
this.idArea = ''
|
||||
this.folio = ''
|
||||
this.monto = ''
|
||||
this.fechaTicket = ''
|
||||
this.terminos = false
|
||||
this.dropFiles = []
|
||||
},
|
||||
@@ -260,9 +266,6 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
terminos(value) {
|
||||
console.log(value, this.idArea)
|
||||
},
|
||||
inscripcionesUsuario() {
|
||||
this.areaPermitida()
|
||||
},
|
||||
|
||||
@@ -52,7 +52,8 @@ export default {
|
||||
methods: {
|
||||
icono(idArea) {
|
||||
if (idArea === 1) return 'microsoft-windows'
|
||||
return idArea === 2 ? 'apple' : 'linux'
|
||||
if (idArea === 2) return 'mac'
|
||||
return idArea === 3 ? 'linux' : 'laptop'
|
||||
},
|
||||
confirmacion(status) {
|
||||
return status === 1 ? 'Si' : 'No'
|
||||
|
||||
@@ -57,7 +57,8 @@ export default {
|
||||
},
|
||||
area(idArea) {
|
||||
if (idArea === 1) return 'Windows'
|
||||
return idArea === 2 ? 'Mac' : 'Linux'
|
||||
if (idArea === 2) return 'Mac'
|
||||
return idArea === 3 ? 'Linux' : 'Mesa para laptop'
|
||||
},
|
||||
updateIsLoading(booleanValue) {
|
||||
this.isLoading = booleanValue
|
||||
|
||||
Reference in New Issue
Block a user