From 06453b284c33904fe680800287b9f3f058df34d9 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Sat, 31 Jan 2026 14:59:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/headLayout.vue | 11 +- .../components/statusCount.vue | 5 +- .../ReportStatisticalAnalysis/index.vue | 2 +- .../ReportStatisticalAnalysis/qygktjCount.vue | 170 ++++++++++++++---- .../ReportStatisticalAnalysis/xxhjCount.vue | 73 +++++++- .../ReportStatisticalAnalysis/yjCount.vue | 40 +++-- src/views/home/echarts/3DbarEcharts.vue | 5 +- 7 files changed, 238 insertions(+), 68 deletions(-) diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/headLayout.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/headLayout.vue index 17bccd5..a9bbd51 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/headLayout.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/headLayout.vue @@ -10,7 +10,16 @@ {{ it.label }} 自定义: - + diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue index 968c2c0..c2a97dc 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue @@ -31,13 +31,12 @@ const props = defineProps({ }) const legendList = ref([]) watch(() => props.data, (newVal) => { - console.log(newVal,'-------------监听'); if (newVal.length) { const total = newVal.reduce((s, v) => s + v.value, 0); legendList.value = newVal.map((d, i) => ({ name: d.name, - value: 20, - percent: Math.round((d.value / total )* 100), + value: d.value, + percent: total > 0 ? Math.round((d.value / total )* 100) : 0, dotColor: i === 0 ? 'linear-gradient(90deg, #FF8DA7 0%, #D66A8D 100%)': d.color })) nextTick(() => { diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/index.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/index.vue index 208be33..d299891 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/index.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/index.vue @@ -21,7 +21,7 @@ import XxhjCount from './xxhjCount.vue' import QygktjCount from './qygktjCount.vue' import { ref } from "vue"; const butList=ref(["情报统计分析","预警统计",'全域管控统计','信息汇聚统计']) -const qh = ref('预警统计') +const qh = ref('信息汇聚统计')