Browse Source

优化

shibei_master
zhaoyongnian 3 years ago
parent
commit
89deb7d765
  1. 1
      src/views/modules/plugins/power/kernelhousehold.vue
  2. 5
      src/views/modules/plugins/power/kernelhouseholdTable.vue

1
src/views/modules/plugins/power/kernelhousehold.vue

@ -93,6 +93,7 @@ export default {
}, },
methods: { methods: {
async loadTree () { async loadTree () {
this.axisStructId = ''
if (this.agencyId.length === 0 || !this.agencyId) { if (this.agencyId.length === 0 || !this.agencyId) {
return this.$message.error('请选择所属组织') return this.$message.error('请选择所属组织')
} }

5
src/views/modules/plugins/power/kernelhouseholdTable.vue

@ -200,6 +200,11 @@ export default {
this.pageSize = 20 this.pageSize = 20
this.pageNo = 1 this.pageNo = 1
this.loadTable() this.loadTable()
} else {
this.pageSize = 20
this.pageNo = 0
this.total = 0;
this.tableData = []
} }
} }
}, },

Loading…
Cancel
Save