From b6f0ce1ec1b249c29ef615405cd095aa944dc6e7 Mon Sep 17 00:00:00 2001 From: Andres2908 Date: Fri, 4 Dec 2020 17:22:54 -0600 Subject: [PATCH] faltanFormas --- components/responsable/cartaTermino.vue | 32 ++++++ components/responsable/cuestionario.vue | 128 +++++++++++++++++++++++ components/responsable/inputTable.vue | 25 ++++- pages/responsable/cartaTermino/index.vue | 14 +++ pages/responsable/cuestionario/index.vue | 9 +- 5 files changed, 201 insertions(+), 7 deletions(-) create mode 100644 components/responsable/cartaTermino.vue create mode 100644 components/responsable/cuestionario.vue create mode 100644 pages/responsable/cartaTermino/index.vue diff --git a/components/responsable/cartaTermino.vue b/components/responsable/cartaTermino.vue new file mode 100644 index 0000000..891bf5e --- /dev/null +++ b/components/responsable/cartaTermino.vue @@ -0,0 +1,32 @@ + + + + + diff --git a/components/responsable/cuestionario.vue b/components/responsable/cuestionario.vue new file mode 100644 index 0000000..27a79fc --- /dev/null +++ b/components/responsable/cuestionario.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/components/responsable/inputTable.vue b/components/responsable/inputTable.vue index 10451c1..0f89b5f 100644 --- a/components/responsable/inputTable.vue +++ b/components/responsable/inputTable.vue @@ -67,21 +67,27 @@ @page-change="onPageChange" > - {{ props.row.nombre}} + {{ props.row.nombre}} + {{ props.row.nombre}} - {{ props.row.numeroCuenta}} + {{ props.row.numeroCuenta}} + {{ props.row.numeroCuenta}} - {{ props.row.carrera}} + {{ props.row.carrera}} + {{ props.row.carrera}} - {{ fecha(props.row.fechaInicio) }} + {{ fecha(props.row.fechaInicio) }} + {{ fecha(props.row.fechaInicio) }} - {{ fecha(props.row.fechaFin) }} + {{ fecha(props.row.fechaFin) }} + {{ fecha(props.row.fechaFin) }} + {{ fecha(props.row.fechaFin) }} {{ props.row.status}} @@ -177,6 +183,7 @@ export default { } }, botonCarta (cartaTermino) { + this.$router.push('/responsable/cartaTermino') if (cartaTermino === 1) { return 'is-success' } else { @@ -184,6 +191,7 @@ export default { } }, botonCuestionario (cuestionario) { + this.$router.push('/responsable/cuestionario') if (cuestionario === 1) { return 'is-success' } else { @@ -246,6 +254,10 @@ export default { this.loading = false }) }, + Servicio (idServicio) { + window.localStorage.setItem('idServicio', idServicio) + this.$router.push('/responsable/cartaTermino') + }, admRes () { this.idUsuario = localStorage.getItem('idUsuario') console.log(this.idUsuario) @@ -274,4 +286,7 @@ export default { background-color: #1b3d70; border-color: #1b3d70; } +.cursor{ + cursor: pointer; +} diff --git a/pages/responsable/cartaTermino/index.vue b/pages/responsable/cartaTermino/index.vue new file mode 100644 index 0000000..1f2433a --- /dev/null +++ b/pages/responsable/cartaTermino/index.vue @@ -0,0 +1,14 @@ + + + diff --git a/pages/responsable/cuestionario/index.vue b/pages/responsable/cuestionario/index.vue index 014129f..2081068 100644 --- a/pages/responsable/cuestionario/index.vue +++ b/pages/responsable/cuestionario/index.vue @@ -1,9 +1,14 @@