loading
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<template>
|
||||
<section>
|
||||
<!-- <div class="container is-flex is-justify-content-flex-end"> -->
|
||||
<div
|
||||
class="container is-flex is-justify-content-space-between is-align-items-center"
|
||||
>
|
||||
<h2 class="m-2 has-text-white"><b>Hola,</b> {{ usuario }}</h2>
|
||||
<h2 class="m-2 has-text-white">{{ usuario }}</h2>
|
||||
|
||||
<b-button
|
||||
type="is-danger"
|
||||
|
||||
@@ -31,6 +31,13 @@
|
||||
</p>
|
||||
|
||||
<div class="columns">
|
||||
<b-image
|
||||
class="column mx-2"
|
||||
:src="require('@/assets/ticket.jpeg')"
|
||||
alt="Ticket Acatlán"
|
||||
ratio="16by10"
|
||||
></b-image>
|
||||
|
||||
<div class="column pr-5">
|
||||
<b-field label="Monto">
|
||||
<b-input v-model="monto" type="number" maxlength="5"></b-input>
|
||||
@@ -83,13 +90,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<b-image
|
||||
class="column mx-2"
|
||||
:src="require('@/assets/ticket.jpeg')"
|
||||
alt="Ticket Acatlán"
|
||||
ratio="16by10"
|
||||
></b-image>
|
||||
</div>
|
||||
|
||||
<b-field>
|
||||
@@ -214,7 +214,6 @@ export default {
|
||||
if (this.idCarrera === 11122 || this.idCarrera === 20226)
|
||||
this.areaMac = true
|
||||
|
||||
console.log(this.inscripcionesUsuario)
|
||||
for (let i = 0; i < this.inscripcionesUsuario.length; i++) {
|
||||
if (this.inscripcionesUsuario[i].idArea === 1) this.area1 = false
|
||||
if (this.inscripcionesUsuario[i].idArea === 2) this.area2 = false
|
||||
@@ -250,6 +249,7 @@ export default {
|
||||
watch: {
|
||||
inscripcionesUsuario(value) {
|
||||
if (value.length > 0) this.idArea = ''
|
||||
this.areaPermitida()
|
||||
},
|
||||
|
||||
dropFiles(value) {
|
||||
|
||||
+2
-2
@@ -22,9 +22,9 @@ export default {
|
||||
axios: {},
|
||||
build: {},
|
||||
env: {
|
||||
api: 'http://localhost:3000',
|
||||
// api: 'http://localhost:3000',
|
||||
// api: "https://890af9d598a4.ngrok.io"
|
||||
// api: 'https://venus.acatlan.unam.mx/inscripciones_test',
|
||||
api: 'https://venus.acatlan.unam.mx/inscripciones_test',
|
||||
// api: 'https://venus.acatlan.unam.mx/inscripciones',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
:idUsuario="idUsuario"
|
||||
@pedirInscripciones="pedirInscripciones"
|
||||
/>
|
||||
|
||||
<b-loading :is-full-page="true" v-model="isLoading" :can-cancel="false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -41,6 +43,7 @@ export default {
|
||||
return {
|
||||
idUsuario: '',
|
||||
inscripcionesUsuario: [],
|
||||
isLoading: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user