From 8587f7a0a1f20fcf9de48b0982653850e8375598 Mon Sep 17 00:00:00 2001 From: tianq Date: Wed, 19 Apr 2023 11:03:51 +0800 Subject: [PATCH 1/5] =?UTF-8?q?chart=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E9=AB=98=E5=BA=A6=EF=BC=8C=E8=A1=A8=E6=A0=BC=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=EF=BC=8C=E7=AD=89=E7=AD=89=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../census/census-accountActiveList.vue | 9 ++- .../modules/census/census-accountList.vue | 36 +++++++-- src/views/modules/census/census-houseList.vue | 76 +++++++++++++------ src/views/modules/census/census-nineList.vue | 47 +++++++++--- .../modules/census/census-orgStatusList.vue | 59 +++++++++----- .../modules/census/census-residentList.vue | 71 ++++++++++++----- .../modules/communityParty/dyhx/party.vue | 62 +++++++++++---- 7 files changed, 267 insertions(+), 93 deletions(-) diff --git a/src/views/modules/census/census-accountActiveList.vue b/src/views/modules/census/census-accountActiveList.vue index 16c58cc89..31d1150a1 100644 --- a/src/views/modules/census/census-accountActiveList.vue +++ b/src/views/modules/census/census-accountActiveList.vue @@ -68,7 +68,7 @@ > - + @@ -199,7 +199,7 @@ export default { }, computed: { maxTableHeight() { - return this.$store.state.inIframe ? this.clientHeight - 439 + this.iframeHeigh : this.clientHeight - 439; + return this.$store.state.inIframe ? this.clientHeight - 448 + this.iframeHeigh : this.clientHeight - 448; }, ...mapGetters(['clientHeight', 'iframeHeight']) @@ -481,8 +481,11 @@ export default { } } } +.div_table{ + padding: 30px!important; +} .div_table_title { - margin-top: 20px; + margin-top: -10px; line-height: 30px; font-size: 20px; diff --git a/src/views/modules/census/census-accountList.vue b/src/views/modules/census/census-accountList.vue index 8b1772342..9ed73c649 100644 --- a/src/views/modules/census/census-accountList.vue +++ b/src/views/modules/census/census-accountList.vue @@ -250,7 +250,7 @@ export default { }, computed: { maxTableHeight() { - this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 425 + this.iframeHeigh : this.clientHeight - 425; + this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 431 + this.iframeHeigh : this.clientHeight - 431; return this.TableHeight; }, @@ -541,13 +541,26 @@ export default { this.$refs.pieChart.clear(); // 获取pieChart配置 this.pieOption = { + grid: { + x: 50, + y: 50, + x2: 50, + y2: 50 + }, tooltip: { trigger: 'axis' }, xAxis: { type: 'category', data: chartData.name, + axisLine: { + show: true, + lineStyle: { + color: '#F3F7FD' + } + }, axisLabel: { + color: '#666666', interval: 0, interval: 0, //设置横坐标为斜 rotate: 30, //文字倾斜角度 @@ -557,8 +570,7 @@ export default { } return value; } - }, - triggerEvent: true + } }, yAxis: { type: 'value', @@ -567,14 +579,25 @@ export default { areaStyle: { color: ['#fff', '#F3F7FD'] } + }, + axisLabel: { + color: '#666666' + }, + axisLine: { + show: true, + lineStyle: { + color: '#F3F7FD' + } } }, series: [ { data: chartData.data, + barWidth: 24, type: 'bar', itemStyle: { - color: 'rgb(33, 149, 254)' + color: 'rgb(33, 149, 254)', + borderRadius: [4, 4, 0, 0], } } ] @@ -657,8 +680,11 @@ export default { } } } +.div_table{ + padding: 30px!important; +} .div_table_title { - margin-top: 20px; + margin-top: -10px; line-height: 30px; font-size: 20px; diff --git a/src/views/modules/census/census-houseList.vue b/src/views/modules/census/census-houseList.vue index ede0515de..df122a6ee 100644 --- a/src/views/modules/census/census-houseList.vue +++ b/src/views/modules/census/census-houseList.vue @@ -50,7 +50,7 @@
房屋用途统计
-
+
-
+
@@ -79,7 +79,7 @@
房屋状态统计
-
+
-
+
@@ -123,13 +123,13 @@ :height="maxTableHeight" > - - - - + + + + - - + +