From dbf76938221ed002f13a0ac5bbd8d1f51b98678c Mon Sep 17 00:00:00 2001 From: tianq Date: Tue, 11 Apr 2023 14:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../census/census-accountActiveList.vue | 5 ++ .../modules/census/census-accountList.vue | 6 ++ src/views/modules/census/census-nineList.vue | 12 +++- .../modules/census/census-orgStatusList.vue | 62 +++++++------------ 4 files changed, 43 insertions(+), 42 deletions(-) diff --git a/src/views/modules/census/census-accountActiveList.vue b/src/views/modules/census/census-accountActiveList.vue index 53800b18b..e3c8373b4 100644 --- a/src/views/modules/census/census-accountActiveList.vue +++ b/src/views/modules/census/census-accountActiveList.vue @@ -207,6 +207,11 @@ export default { }, handleSearch(val) { + let tmp = this.formData.orgId; + if (!tmp && typeof tmp != 'undefined' && tmp != 0) { + this.formData.orgId = ''; + this.formData.level = ''; + } console.log(this.formData); this.pageNo = 1; this.getTableData(); diff --git a/src/views/modules/census/census-accountList.vue b/src/views/modules/census/census-accountList.vue index 309faf8cb..262bbc96f 100644 --- a/src/views/modules/census/census-accountList.vue +++ b/src/views/modules/census/census-accountList.vue @@ -271,6 +271,12 @@ export default { }, methods: { handleSearch(val) { + let tmp = this.formData.orgId; + if (!tmp && typeof tmp != 'undefined' && tmp != 0) { + this.formData.orgId = ''; + this.formData.level = ''; + } + this.getCountLevel(); this.getTableData(); this.getsubData(); diff --git a/src/views/modules/census/census-nineList.vue b/src/views/modules/census/census-nineList.vue index aea5cb4f9..aa924ccaf 100644 --- a/src/views/modules/census/census-nineList.vue +++ b/src/views/modules/census/census-nineList.vue @@ -90,8 +90,8 @@ :height="maxTableHeight" > - + @@ -246,6 +246,7 @@ export default { let tmp = this.formData.orgId; if (!tmp && typeof tmp != 'undefined' && tmp != 0) { this.formData.orgId = ''; + this.orgType = ''; } this.pageNo = 1; @@ -348,6 +349,15 @@ export default { this.$refs.pieChart.clear(); // 获取pieChart配置 this.pieOption = { + tooltip: { + trigger: 'item', + formatter: '总数 : {c}
占比 : {d}%', + backgroundColor: 'rgb(134,134,134)', + borderColor: 'rgb(134,134,134)', + textStyle: { + color: '#fff' + } + }, color: this.color, title: { text: this.pieData.total, diff --git a/src/views/modules/census/census-orgStatusList.vue b/src/views/modules/census/census-orgStatusList.vue index 1733974a9..45561ded8 100644 --- a/src/views/modules/census/census-orgStatusList.vue +++ b/src/views/modules/census/census-orgStatusList.vue @@ -4,7 +4,7 @@