From 1b9d53822cb464145cec953e44f939848d5bf0fc Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Fri, 25 Aug 2023 09:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=88*=EF=BC=89=E6=88=BF=E5=B1=8B=E7=A7=9F?= =?UTF-8?q?=E8=B5=81=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/community-safty/components/basic-info.js | 6 +++--- .../src/sections/community-safty/components/charts/pie.js | 4 ++-- .../sections/community-safty/components/traffic-ranking.js | 2 +- .../client/src/sections/community-safty/containers/gis.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/super-screen/client/src/sections/community-safty/components/basic-info.js b/super-screen/client/src/sections/community-safty/components/basic-info.js index eb48f1e..33af2e8 100644 --- a/super-screen/client/src/sections/community-safty/components/basic-info.js +++ b/super-screen/client/src/sections/community-safty/components/basic-info.js @@ -16,7 +16,7 @@ function BasicInfo({ communtityInfo }) {
区域面积: - 1810.7km³ + 1810.7km²
@@ -28,12 +28,12 @@ function BasicInfo({ communtityInfo }) {
- 社区数量 + 社区数量: {communtity_data?.length}个
- 房屋数量 + 廉租房: {communtityInfo ? (communtityInfo?.inuse + communtityInfo?.unuse) : '-'}套
diff --git a/super-screen/client/src/sections/community-safty/components/charts/pie.js b/super-screen/client/src/sections/community-safty/components/charts/pie.js index 1a63f0d..d3a0be0 100644 --- a/super-screen/client/src/sections/community-safty/components/charts/pie.js +++ b/super-screen/client/src/sections/community-safty/components/charts/pie.js @@ -47,7 +47,7 @@ function RingChart(props) { tooltip: { ...tooltip, trigger: 'item', - formatter: '{b} : {c}个 ({d}%)', + formatter: '{b} : {c}人 ({d}%)', position: ['10%', '40%'], }, // 渐变色 @@ -100,7 +100,7 @@ function RingChart(props) {
{s.name}
-
{s.value}个
{Math.round(s.value / total * 100)}%
+
{s.value}
{Math.round(s.value / total * 100)}%
)); diff --git a/super-screen/client/src/sections/community-safty/components/traffic-ranking.js b/super-screen/client/src/sections/community-safty/components/traffic-ranking.js index 7130218..5003258 100644 --- a/super-screen/client/src/sections/community-safty/components/traffic-ranking.js +++ b/super-screen/client/src/sections/community-safty/components/traffic-ranking.js @@ -20,7 +20,7 @@ function DataTop5({ communtityInfo }) {
社区名称
-
户数/户
+
户数 /
diff --git a/super-screen/client/src/sections/community-safty/containers/gis.js b/super-screen/client/src/sections/community-safty/containers/gis.js index d5f4eaf..5cf2e16 100644 --- a/super-screen/client/src/sections/community-safty/containers/gis.js +++ b/super-screen/client/src/sections/community-safty/containers/gis.js @@ -9,7 +9,7 @@ import './gis.less' const MAPDOMID = 'fs-amap-container'; let map = null; const TYPES = { - 1: '消防栓', + 1: '消火栓', 2: '水箱', 3: '烟感', 4: '配电箱'