diff --git a/src/views/User.vue b/src/views/User.vue index 33a06c8..250ccae 100644 --- a/src/views/User.vue +++ b/src/views/User.vue @@ -447,6 +447,18 @@ export default { changeView() { this.loading = true; this.contador = 0; + this.seleccionado = "Todos"; + this.seleccionadoUbica = "Todos"; + this.seleccionadoUso = "Todos"; + this.seleccionadoProcesador = "Todos"; + this.seleccionadoOS = "Todos"; + this.miNoInventario = ""; + this.tipo=[]; + this.tipoPrinters=[]; + this.Ubica=[]; + this.uso=[]; + this.procesa=[]; + this.os=[]; if (this.pcView) { this.pcView = !this.pcView; this.getPrinters(); @@ -463,17 +475,6 @@ export default { this.traeProcesador(); this.traeOS(); } - this.seleccionado = "Todos"; - this.seleccionadoUbica = "Todos"; - this.seleccionadoUso = "Todos"; - this.seleccionadoProcesador = "Todos"; - this.seleccionadoOS = "Todos"; - this.miNoInventario = ""; - this.tipo=['']; - this.Ubica=['']; - this.uso=['']; - this.procesa=['']; - this.os=['']; this.generaMisDatos(); }, admin() {