From 80b81e35a28540685b0dd25362a3261e3d79df0c Mon Sep 17 00:00:00 2001
From: Andres2908
Date: Tue, 17 May 2022 00:06:40 -0500
Subject: [PATCH] correciones
---
components/Login.vue | 34 +------
components/admin/restarCredito.vue | 98 ------------------
components/admin/tableImpresiones.vue | 123 -----------------------
components/impresion/datosTicket.vue | 138 --------------------------
pages/admin/index.vue | 15 +--
pages/impresion/index.vue | 94 ------------------
6 files changed, 5 insertions(+), 497 deletions(-)
delete mode 100644 components/admin/restarCredito.vue
delete mode 100644 components/admin/tableImpresiones.vue
delete mode 100644 components/impresion/datosTicket.vue
delete mode 100644 pages/impresion/index.vue
diff --git a/components/Login.vue b/components/Login.vue
index 14d07a0..b1c4f5c 100644
--- a/components/Login.vue
+++ b/components/Login.vue
@@ -35,33 +35,11 @@
>
-
Iniciar Sesión
@@ -84,13 +62,12 @@ export default {
return {
numeroCuenta: '',
password: '',
- selector: '',
error: '',
}
},
methods: {
login() {
- if (this.numeroCuenta && this.password && this.selector && !this.error) {
+ if (this.numeroCuenta && this.password && !this.error) {
const data = {
numeroCuenta: this.numeroCuenta,
passwordUser: this.password,
@@ -109,12 +86,7 @@ export default {
localStorage.setItem('idCarrera', info.idCarrera)
localStorage.setItem('carrera', info.carrera)
- this.updateIsLoading(false)
- if (this.selector === 'impresiones') {
- this.$router.push('/impresion')
- } else {
- this.$router.push('/registro')
- }
+ this.$router.push('/registro')
})
.catch((err) => {
this.error = 'is-danger'
diff --git a/components/admin/restarCredito.vue b/components/admin/restarCredito.vue
deleted file mode 100644
index f97d639..0000000
--- a/components/admin/restarCredito.vue
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
- Buscar
-
-
-
-
-
-
- Restar
-
-
-
-
-
-
Cuenta: {{ this.numeroCuenta }}
-
Nombre: {{ datos.nombre }}
-
Credito: {{ datos.credito }}
-
-
-
-
-
-
-
diff --git a/components/admin/tableImpresiones.vue b/components/admin/tableImpresiones.vue
deleted file mode 100644
index d024bb4..0000000
--- a/components/admin/tableImpresiones.vue
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
- {{ props.row.Usuario.numeroCuenta }}
-
-
- {{ props.row.folio }}
-
-
-
- {{ props.row.monto }}
-
-
- {{ hora(props.row.fechaInscripcion) }}
-
-
- Validar
-
-
-
-
-
-
-
-
diff --git a/components/impresion/datosTicket.vue b/components/impresion/datosTicket.vue
deleted file mode 100644
index e10e04a..0000000
--- a/components/impresion/datosTicket.vue
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
- Captura la siguiente información tal cual se muestra en tu ticket de
- CEDETEC que se te entrego en cajas.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tu crédito es de: ${{ creditoDisponible }} pesos
-
-
-
- Cargar crédito
-
-
-
-
-
diff --git a/pages/admin/index.vue b/pages/admin/index.vue
index 224c830..7c1a072 100644
--- a/pages/admin/index.vue
+++ b/pages/admin/index.vue
@@ -1,6 +1,6 @@
-
-
-
+