From aa4478b1f0af0d52a95a7f2735ab80a4919fa9af Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 5 Jul 2022 17:23:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/wel.vue | 2 +- src/views/Equipment/state.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/page/wel.vue b/src/page/wel.vue index 834ee9b..eb9d539 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -1592,7 +1592,7 @@ export default { } else if (ind == 3) { this.$router.push({ path: "/Equipment/state", - query: { flag: 1 }, + query: { flag: 1, selValue: 2 }, }); } else { this.$router.push({ diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue index e00d3cb..b0511a0 100644 --- a/src/views/Equipment/state.vue +++ b/src/views/Equipment/state.vue @@ -896,6 +896,7 @@ export default { this.searchForm.electricity = this.$route.query.electricity; } } + if (this.$route.query.selValue) this.selValue = this.$route.query.selValue // asd this.getList(); // 获取列表