diff --git a/components/responsable/CuestionarioResponasble.vue b/components/responsable/CuestionarioResponasble.vue index b0a27fd..45c5dbd 100644 --- a/components/responsable/CuestionarioResponasble.vue +++ b/components/responsable/CuestionarioResponasble.vue @@ -33,11 +33,9 @@ - + + + @@ -96,7 +94,7 @@ export default { p7: '', idServicio: null, actividades: [], - retroalimentacion: [], + retroalimentacion: ['', '', '', '', ''], selectRespuestas: ['Deficiente', 'Regular', 'Bueno', 'Excelente'], unoAlCinco: [ 'Conocimiento teóricos para las funciones encomendadas.', diff --git a/components/responsable/UploadArchivo.vue b/components/responsable/UploadArchivo.vue index 158abd5..16b210e 100644 --- a/components/responsable/UploadArchivo.vue +++ b/components/responsable/UploadArchivo.vue @@ -41,6 +41,7 @@ import axios from 'axios' export default { props: { + idServicio: { type: Number, required: true }, path: { type: String, required: true }, tipoCarta: { type: String, required: true }, variableName: { type: String, required: true }, @@ -52,7 +53,6 @@ export default { }, data() { return { - idServicio: null, file: {}, } }, @@ -90,9 +90,6 @@ export default { } }, }, - created() { - this.idServicio = Number(localStorage.getItem('idServicio')) - }, } diff --git a/pages/responsable/carta_termino/index.vue b/pages/responsable/carta_termino/index.vue index 9b1e37c..3740d4a 100644 --- a/pages/responsable/carta_termino/index.vue +++ b/pages/responsable/carta_termino/index.vue @@ -9,6 +9,7 @@ path="carta_termino" tipoCarta="termino" variableName="cartaTermino" + :idServicio="idServicio" :responsable="responsable" :imprimirMensaje="imprimirMensaje" :imprimirWarning="imprimirWarning" @@ -21,6 +22,7 @@