errores pequeños en editar corregidos

This commit is contained in:
xXpuma99Xx
2022-01-01 14:06:34 -06:00
parent 41c6a71698
commit 72c159f83f
2 changed files with 10 additions and 7 deletions
+8 -5
View File
@@ -45,6 +45,7 @@
<b-datepicker
icon="calendar-today"
:placeholder="fecha(servicio.fechaNacimiento)"
:max-date="new Date()"
v-model="fechaNacimiento"
/>
</b-field>
@@ -203,11 +204,13 @@ export default {
},
mostrar() {
if (
this.fechaInicio.toString() !== this.servicio.fechaInicio.toString() ||
this.fechaFin.toString() !== this.servicio.fechaFin.toString() ||
(this.fechaNacimiento &&
this.fechaNacimiento.toString() !==
this.servicio.fechaNacimiento.toString()) ||
this.fechaInicio.toString().substr(0, 15) !==
this.servicio.fechaInicio.toString().substr(0, 15) ||
this.fechaFin.toString().substr(0, 15) !==
this.servicio.fechaFin.toString().substr(0, 15) ||
(this.servicio.fechaNacimiento &&
this.fechaNacimiento.toString().substr(0, 15) !==
this.servicio.fechaNacimiento.toString().substr(0, 15)) ||
(this.correo && validator.isEmail(this.correo)) ||
this.telefono ||
this.direccion ||
+2 -2
View File
@@ -24,9 +24,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/ss-pruebas',
// api: 'https://venus.acatlan.unam.mx/serviciosocial',
api: 'https://venus.acatlan.unam.mx/serviciosocial',
},
}