From e80eabb4ec498cda0f6af2c0be25c35d38f0520f Mon Sep 17 00:00:00 2001 From: Andres2908 Date: Mon, 4 Jan 2021 17:31:37 -0600 Subject: [PATCH] regresoAceptacion --- components/admin/servicio/inputTableA.vue | 37 +++------------------- components/responsable/cartaAceptacion.vue | 15 ++++++++- components/responsable/cartaTermino.vue | 9 ++++++ components/responsable/cuestionario.vue | 3 +- components/responsable/inputTable.vue | 8 ----- 5 files changed, 29 insertions(+), 43 deletions(-) diff --git a/components/admin/servicio/inputTableA.vue b/components/admin/servicio/inputTableA.vue index 7d39308..71d0770 100644 --- a/components/admin/servicio/inputTableA.vue +++ b/components/admin/servicio/inputTableA.vue @@ -63,13 +63,13 @@ {{ @@ -156,7 +156,6 @@ export default { this.page = page; this.obtenerDatos(); console.log(this.page); - console.log(this.idStatus); }, types(idStatus) { if (idStatus === 1) { @@ -182,34 +181,6 @@ export default { return "is-danger"; } }, - botonCarta(cartaTermino) { - if (cartaTermino === 1) { - return "is-success"; - } else { - return "is-danger"; - } - }, - botonCuestionario(cuestionario) { - if (cuestionario === 1) { - return "is-success"; - } else { - return "is-danger"; - } - }, - iconoCarta(cartaTermino) { - if (cartaTermino === 1) { - return "check"; - } else { - return "close"; - } - }, - iconoCuestionario(cuestionario) { - if (cuestionario === 1) { - return "check"; - } else { - return "close"; - } - }, fecha(date) { const fecha = moment(date.substr(0, 10)); return `${fecha.date()}/${fecha.month() + 1}/${fecha.year()}`; @@ -258,12 +229,12 @@ export default { window.localStorage.setItem("idServicio", idServicio); this.$router.push("/admin/servicio"); }, - insertIdLocal() { + getIdLocal() { this.idUsuario = localStorage.getItem("idUsuario"); }, }, created() { - this.insertIdLocal(); + this.getIdLocal(); this.obtenerDatos(0); }, }; diff --git a/components/responsable/cartaAceptacion.vue b/components/responsable/cartaAceptacion.vue index a4831dc..127b991 100644 --- a/components/responsable/cartaAceptacion.vue +++ b/components/responsable/cartaAceptacion.vue @@ -1,5 +1,14 @@