From 6243538d4ba03e34d66a40c96e32388a6b68a58f Mon Sep 17 00:00:00 2001 From: tianq Date: Thu, 20 Apr 2023 08:53:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E7=82=B9=E5=87=BB=E9=97=AE?= =?UTF-8?q?=E9=A2=98bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/census/census-accountList.vue | 29 +- src/views/modules/census/chart.vue | 302 +++++++++--------- 2 files changed, 165 insertions(+), 166 deletions(-) diff --git a/src/views/modules/census/census-accountList.vue b/src/views/modules/census/census-accountList.vue index 45bd20e33..64d7ca082 100644 --- a/src/views/modules/census/census-accountList.vue +++ b/src/views/modules/census/census-accountList.vue @@ -97,7 +97,7 @@ style="width: 100%" :height="maxTableHeight" > - + @@ -123,27 +123,27 @@
导出
@@ -540,7 +540,7 @@ export default { // 获取饼状图 async iniPieChart(chartData) { this.$refs.pieChart.clear(); - + // 获取pieChart配置 this.pieOption = { grid: { @@ -591,8 +591,8 @@ export default { color: '#F3F7FD' } }, - min:0, - max:1000, + min: 0, + max: 1000 }, series: [ { @@ -601,14 +601,14 @@ export default { type: 'bar', itemStyle: { color: 'rgb(33, 149, 254)', - borderRadius: [4, 4, 0, 0], + borderRadius: [4, 4, 0, 0] } } ] }; - if (chartData.data.length>0) { - this.pieOption.yAxis.max=null - } + if (chartData.data.length > 0) { + this.pieOption.yAxis.max = null; + } this.$refs.pieChart.setOption(this.pieOption); }, handelClickMyPei(param) { @@ -687,8 +687,8 @@ export default { } } } -.div_table{ - padding: 30px!important; +.div_table { + padding: 30px !important; } .div_table_title { margin-top: -10px; @@ -719,5 +719,4 @@ export default { flex: 1; } } - diff --git a/src/views/modules/census/chart.vue b/src/views/modules/census/chart.vue index b78f0595c..f4f9e9a10 100644 --- a/src/views/modules/census/chart.vue +++ b/src/views/modules/census/chart.vue @@ -1,163 +1,163 @@