diff --git a/components/alumno/DataAlumno.vue b/components/alumno/DataAlumno.vue
index b9e796f..03535a0 100644
--- a/components/alumno/DataAlumno.vue
+++ b/components/alumno/DataAlumno.vue
@@ -15,12 +15,12 @@
>
Dependencia: {{ programa.dependencia }}
Clave del programa: {{ programa.clave }}
-
- Programa Interno:
- {{ programa.programaInterno }}
-
+
Programa Interno: {{ programa.programaInterno }}
Profesor: {{ programa.profesor }}
@@ -72,7 +69,7 @@
Número de cuenta: {{ alumno.cuenta }}
Carrera: {{ alumno.carrera }}
- Créditos: {{ alumno.creditos}} %
+ Créditos: {{ alumno.creditos}}%
Correo del alumno: {{ alumno.correo }}
Fecha de inicio: {{ fecha(alumno.inicio) }}
@@ -101,6 +98,8 @@
placeholder="Fecha de nacimiento"
icon="calendar-today"
v-model="nacimiento"
+ :min-date="minDate"
+ :max-date="maxDate"
>
@@ -227,6 +226,8 @@ export default {
isFullPage: true,
file: [],
nacimiento: [],
+ minDate: new Date(),
+ maxDate: new Date(),
telefono: '',
direccion: '',
alumno: {
@@ -278,7 +279,7 @@ export default {
{ status: 6, mensaje: '' },
{ status: 7, mensaje: '' },
{ status: 8, mensaje: '' },
- { status: 9, mensaje: '' }
+ { status: 9, mensaje: 'Informe global de actividades rechazado. Por favor reenvia el informe correctamente' }
]
}
},
@@ -455,6 +456,13 @@ export default {
this.file = []
}
}
+ },
+ mounted (){
+
+ let i = new Date().getFullYear() - 80 // hoy - 80 años fecha minima
+ let j = new Date().getFullYear() - 10 //hoy - 10 años
+ this.minDate.setFullYear(i)
+ this.maxDate.setFullYear(j)
}
}
diff --git a/layouts/default.vue b/layouts/default.vue
index f6441e4..521e459 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -16,3 +16,16 @@ export default {
components: { Header, Footer, Logout },
};
+
diff --git a/nuxt.config.js b/nuxt.config.js
index 30162c8..8e147d0 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -46,9 +46,9 @@ export default {
// Build Configuration (https://go.nuxtjs.dev/config-build)
build: {},
env: {
- api: "http://localhost:3000",
- // api: "https://venus.acatlan.unam.mx/ss-pruebas",
- //api: "https://890af9d598a4.ngrok.io"
+ // api: 'http://localhost:3000'
+ api: "https://venus.acatlan.unam.mx/ss-pruebas",
+ // api: "https://890af9d598a4.ngrok.io"
// api: 'https//venus.acatlan.unam.mx/pruebas_pcpuma'
},
};
diff --git a/pages/alumno/cuestionario/index.vue b/pages/alumno/cuestionario/index.vue
index 8a869e5..66e83b6 100644
--- a/pages/alumno/cuestionario/index.vue
+++ b/pages/alumno/cuestionario/index.vue
@@ -1,6 +1,17 @@
+
+ regresar
+
Evaluación de programas de servicio social
@@ -27,8 +38,9 @@
placeholder="Edad"
v-model="answers.edad"
type="number"
- min="0"
- max="100"
+ min="10"
+ max="80"
+ step="1"
>
@@ -43,38 +55,6 @@
> {{Sm}}
-
-
+