vista carta de aceptación mejorado
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user