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 = [] } } },