se muestra solo los prestamos activos del módulo
This commit is contained in:
parent
1c0d4833ae
commit
3902b6c8ef
@ -27,7 +27,11 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.operador = jwt_decode(this.$getToken.tokenStr()).Operador
|
const token = jwt_decode(this.$getToken.tokenStr())
|
||||||
|
|
||||||
|
this.operador = token.Operador
|
||||||
|
if (this.operador.tipoUsuario.id_tipo_usuario === 4)
|
||||||
|
this.operador.id_modulo = token.Modulo.id_modulo
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user