From 89deb7d76546eb5037e6e326624f798c9cf2291d Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Fri, 22 Apr 2022 18:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/plugins/power/kernelhousehold.vue | 1 + src/views/modules/plugins/power/kernelhouseholdTable.vue | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/views/modules/plugins/power/kernelhousehold.vue b/src/views/modules/plugins/power/kernelhousehold.vue index 1c4e691b..a694fd47 100644 --- a/src/views/modules/plugins/power/kernelhousehold.vue +++ b/src/views/modules/plugins/power/kernelhousehold.vue @@ -93,6 +93,7 @@ export default { }, methods: { async loadTree () { + this.axisStructId = '' if (this.agencyId.length === 0 || !this.agencyId) { return this.$message.error('请选择所属组织') } diff --git a/src/views/modules/plugins/power/kernelhouseholdTable.vue b/src/views/modules/plugins/power/kernelhouseholdTable.vue index e53c3633..15b72549 100644 --- a/src/views/modules/plugins/power/kernelhouseholdTable.vue +++ b/src/views/modules/plugins/power/kernelhouseholdTable.vue @@ -200,6 +200,11 @@ export default { this.pageSize = 20 this.pageNo = 1 this.loadTable() + } else { + this.pageSize = 20 + this.pageNo = 0 + this.total = 0; + this.tableData = [] } } },