errores pequeños en editar corregidos
This commit is contained in:
@@ -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
@@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user