se muestra solo los prestamos activos del módulo

This commit is contained in:
xXpuma99Xx 2022-10-26 19:48:29 -05:00
parent 1c0d4833ae
commit 3902b6c8ef

View File

@ -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>