|
|
|
@ -134,7 +134,6 @@ export default { |
|
|
|
const type_name = getQueryPara('type_name'); |
|
|
|
this.breadList[1].meta.title = type_name + '居民列表'; |
|
|
|
this.tableTitle = type_name + '居民列表'; |
|
|
|
|
|
|
|
this.pageNo = 1; |
|
|
|
this.getList(); |
|
|
|
this.getCount(); |
|
|
|
@ -142,12 +141,19 @@ export default { |
|
|
|
this.getSubclass(); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
created() { |
|
|
|
this.pageNo = 1; |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
subclassId() { |
|
|
|
this.pageNo = 1; |
|
|
|
this.getList(); |
|
|
|
this.getCount(); |
|
|
|
$route(to, from) { |
|
|
|
this.$router.go(0); |
|
|
|
}, |
|
|
|
subclassId: { |
|
|
|
handler(newVal, oldVal) { |
|
|
|
this.pageNo = 1; |
|
|
|
this.getList(); |
|
|
|
this.getCount(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -211,7 +217,6 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async getList() { |
|
|
|
console.log('dddddddddddddddddddd', this.type_name); |
|
|
|
const { org_id, type_id, subclassId, pageNo, pageSize } = this; |
|
|
|
this.loading = true; |
|
|
|
let url = ''; |
|
|
|
|