botonConfirmar
This commit is contained in:
@@ -127,28 +127,32 @@
|
||||
<p v-if="alumno.cuestionarioA">Cuenta con cuestionario de alumno resuelto.</p>
|
||||
</div>
|
||||
<div id="acciones" class="my-5">
|
||||
<b-button class="is-info" @click="regresar()">
|
||||
Regresar
|
||||
</b-button>
|
||||
<b-button class="is-danger" @click="enviarCancel = !enviarCancel">
|
||||
Cancelar
|
||||
</b-button>
|
||||
<b-button class="is-success" @click="confirmarDialog(1)" v-if="mostrarConfirmar1()">
|
||||
<div class="confimar">
|
||||
<b-button class="is-success" @click="confirmarDialog(1)" v-if="mostrarConfirmar1()">
|
||||
Confirmar
|
||||
</b-button>
|
||||
<b-button class="is-success" @click="confirmarDialog(2)" v-if="mostrarConfirmar2()">
|
||||
Confirmar
|
||||
</b-button>
|
||||
<br><br>
|
||||
<b-field label="Razón para cancelar: " v-if="enviarCancel">
|
||||
<b-input maxlength="500" type="textarea" v-model="mensajeCancel"></b-input>
|
||||
</b-field>
|
||||
<b-button v-if="mensajeCancel && enviarCancel" class="is-danger" @click="cancelarDialog()">
|
||||
Cancelar servicio
|
||||
</b-button>
|
||||
<b-button v-else-if="enviarCancel" disabled>
|
||||
Cancelar servicio
|
||||
</b-button>
|
||||
</div>
|
||||
<div class="demas">
|
||||
<b-button class="is-info" @click="regresar()">
|
||||
Regresar
|
||||
</b-button>
|
||||
<b-button class="is-danger" @click="enviarCancel = !enviarCancel">
|
||||
Cancelar
|
||||
</b-button>
|
||||
<br><br>
|
||||
<b-field label="Razón para cancelar: " v-if="enviarCancel">
|
||||
<b-input maxlength="500" type="textarea" v-model="mensajeCancel"></b-input>
|
||||
</b-field>
|
||||
<b-button v-if="mensajeCancel && enviarCancel" class="is-danger" @click="cancelarDialog()">
|
||||
Cancelar servicio
|
||||
</b-button>
|
||||
<b-button v-else-if="enviarCancel" disabled>
|
||||
Cancelar servicio
|
||||
</b-button>
|
||||
</div>
|
||||
<b-loading :is-full-page="true" v-model="isLoading" :can-cancel="true"></b-loading>
|
||||
</div>
|
||||
</div>
|
||||
@@ -279,6 +283,7 @@ export default {
|
||||
.then(res => {
|
||||
this.isLoading = false
|
||||
this.$buefy.dialog.alert('Se ha rechazado el documento')
|
||||
this.$router.push('./')
|
||||
})
|
||||
.catch(err => {
|
||||
this.isLoading = false
|
||||
@@ -297,6 +302,7 @@ export default {
|
||||
.then(res => {
|
||||
this.isLoading = false
|
||||
this.$buefy.dialog.alert('Se ha rechazado el documento')
|
||||
this.$router.push('./')
|
||||
})
|
||||
.catch(err => {
|
||||
this.isLoading = false
|
||||
@@ -315,6 +321,7 @@ export default {
|
||||
.then(res => {
|
||||
this.isLoading = false
|
||||
this.$buefy.dialog.alert('Se ha rechazado el documento')
|
||||
this.$router.push('./')
|
||||
})
|
||||
.catch(err => {
|
||||
this.isLoading = false
|
||||
|
||||
Reference in New Issue
Block a user