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(); // 获取列表