diff --git a/src/views/modules/census/census-accountList.vue b/src/views/modules/census/census-accountList.vue index 9fbc13b32..0cc58d5fe 100644 --- a/src/views/modules/census/census-accountList.vue +++ b/src/views/modules/census/census-accountList.vue @@ -376,7 +376,7 @@ export default { endDate: this.formData.endDate, isPage: true, pageNo: this.pageNo, - pageSize: this.pageSize + pageSize: 10 }; this.tableLoading2 = true; const { data, code, msg } = await requestPost(url, param); @@ -669,17 +669,18 @@ export default { this.$refs.pieChart.setOption(this.pieOption); }, handelClickMyPei(param) { - let orgType = ''; + console.log('param', param); + if (param.data.level != 'community') { - if (param.data.level == 'district') { - orgType = 'street'; - } - if (param.data.level == 'street') { - orgType = 'community'; - } + // if (param.data.level == 'district') { + // orgType = 'street'; + // } + // if (param.data.level == 'street') { + // orgType = 'community'; + // } this.pageNo = 1; - this.getPiesubData(param.data.id, orgType); + this.getPiesubData(param.data.id, param.data.level); } } }