vista carta de aceptación mejorado

This commit is contained in:
Lemuel Marquez
2021-05-16 22:14:27 -05:00
parent 1a55bcf7aa
commit 9cd91c8752
37 changed files with 216 additions and 59 deletions
+3 -5
View File
@@ -103,7 +103,7 @@
@click="responsableUpdate(props.row.idServicio, 'carta_aceptacion')"
v-if="props.row.Status.idStatus === 7"
>
Carta Término
Carta Aceptación Rechazada
</b-button>
<span :class="types(props.row.Status.idStatus)" v-else>{{
@@ -209,8 +209,7 @@ export default {
this.obtenerServicios()
},
responsableUpdate(idServicio, path) {
window.localStorage.setItem('idServicio', idServicio)
console.log(path)
localStorage.setItem('idServicio', idServicio)
this.$router.push(`/responsable/${path}`)
},
getLocalhostInfo() {
@@ -221,7 +220,7 @@ export default {
this.responsable.tipoUsuario = localStorage.getItem('tipoUsuario')
this.token = {
headers: {
token: window.localStorage.getItem('token'),
token: localStorage.getItem('token'),
},
}
},
@@ -248,7 +247,6 @@ export default {
this.token
)
.then((res) => {
console.log(res.data)
this.data = res.data.serviciosResponsable
this.total = res.data.count
this.isLoading = false