diff --git a/super-screen/client/src/sections/fire-control/components/left-middle.js b/super-screen/client/src/sections/fire-control/components/left-middle.js index 2b757ae..c1f8fe5 100644 --- a/super-screen/client/src/sections/fire-control/components/left-middle.js +++ b/super-screen/client/src/sections/fire-control/components/left-middle.js @@ -1,7 +1,7 @@ import React from 'react' import { Box, AutoRollComponent, NoData } from '$components'; // import ReactEcharts from 'echarts-for-react'; -import { Progress } from 'antd'; +import { Progress, Tooltip } from 'antd'; function PopulationDynamics(props) { const { fireDevice } = props; @@ -129,12 +129,14 @@ function PopulationDynamics(props) { const getContent = () => { return
{ fireDevice.map(d =>
-
{d.type_name}
+ +
{d.type_name}
+
{item.teamName} - {item.leaderContactPhone} + {item.leaderContactPhone.replace(/(\d{3})\d*(\d{4})/, "$1****$2")}
)} diff --git a/super-screen/client/src/sections/fire-control/components/style.less b/super-screen/client/src/sections/fire-control/components/style.less index d2fdbb7..44f12f9 100644 --- a/super-screen/client/src/sections/fire-control/components/style.less +++ b/super-screen/client/src/sections/fire-control/components/style.less @@ -293,7 +293,7 @@ // 接入消防设备 .fire-device-item { display: flex; - height: 30px; + height: 50px; align-items: center; justify-content: space-around; @@ -316,11 +316,11 @@ ._round { position: absolute; - width: 12px; - height: 12px; + width: 14px; + height: 14px; background: #fff; - border-radius: 6px; - top: 7px; + border-radius: 7px; + top: 6px; } }