From cb9c91a826745298802c897023bbe218f246974e Mon Sep 17 00:00:00 2001 From: tianq Date: Thu, 20 Apr 2023 10:06:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/census/census-accountList.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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); } } }