|
|
|
@ -297,99 +297,52 @@ const EvaluationReport = () => {
|
|
|
|
}, 100);
|
|
|
|
}, 100);
|
|
|
|
|
|
|
|
|
|
|
|
const option = {
|
|
|
|
const option = {
|
|
|
|
color: ['#8979FF', '#3CC3DF'],
|
|
|
|
color: ['#3C7EFF', '#FF8800', '#FFC403', '#31BCFF'],
|
|
|
|
legend: {
|
|
|
|
legend: {
|
|
|
|
top: "-3px",
|
|
|
|
orient: 'vertical',
|
|
|
|
itemWidth: 20,
|
|
|
|
right: '2%',
|
|
|
|
itemHeight: 8,
|
|
|
|
top: 'middle',
|
|
|
|
|
|
|
|
itemWidth: 14,
|
|
|
|
|
|
|
|
itemHeight: 5,
|
|
|
|
textStyle: {
|
|
|
|
textStyle: {
|
|
|
|
fontSize: 10
|
|
|
|
fontSize: 10,
|
|
|
|
|
|
|
|
color: '#666'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
grid: {
|
|
|
|
tooltip: {
|
|
|
|
left: '2%',
|
|
|
|
trigger: 'item',
|
|
|
|
right: '4%',
|
|
|
|
formatter: '{b}<br/>{d}%'
|
|
|
|
bottom: '2%',
|
|
|
|
|
|
|
|
top: '12%',
|
|
|
|
|
|
|
|
containLabel: true
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
xAxis: {
|
|
|
|
|
|
|
|
type: 'category',
|
|
|
|
|
|
|
|
boundaryGap: false,
|
|
|
|
|
|
|
|
data: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00'],
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
fontSize: 10
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
yAxis: {
|
|
|
|
|
|
|
|
type: 'value',
|
|
|
|
|
|
|
|
min: 0,
|
|
|
|
|
|
|
|
max: 30,
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
formatter: '{value}',
|
|
|
|
|
|
|
|
fontSize: 10
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
series: [
|
|
|
|
series: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: '消防水泵1',
|
|
|
|
name: '设备类型占比',
|
|
|
|
type: 'line',
|
|
|
|
type: 'pie',
|
|
|
|
smooth: false,
|
|
|
|
radius: '70%',
|
|
|
|
lineStyle: {
|
|
|
|
center: ['40%', '55%'],
|
|
|
|
width: 2,
|
|
|
|
avoidLabelOverlap: false,
|
|
|
|
color: '#8979FF'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
areaStyle: {
|
|
|
|
|
|
|
|
color: {
|
|
|
|
|
|
|
|
type: 'linear',
|
|
|
|
|
|
|
|
x: 0,
|
|
|
|
|
|
|
|
y: 0,
|
|
|
|
|
|
|
|
x2: 0,
|
|
|
|
|
|
|
|
y2: 1,
|
|
|
|
|
|
|
|
colorStops: [
|
|
|
|
|
|
|
|
{ offset: 0, color: 'rgba(137, 121, 255, 0.3)' },
|
|
|
|
|
|
|
|
{ offset: 1, color: 'rgba(137, 121, 255, 0.05)' }
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
symbol: 'circle',
|
|
|
|
|
|
|
|
symbolSize: 4,
|
|
|
|
|
|
|
|
itemStyle: {
|
|
|
|
itemStyle: {
|
|
|
|
color: '#fff',
|
|
|
|
borderRadius: 0,
|
|
|
|
borderColor: '#8979FF',
|
|
|
|
borderColor: '#fff',
|
|
|
|
borderWidth: 1
|
|
|
|
borderWidth: 1
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: [12, 15, 18, 14, 16, 20, 22, 19, 17, 21, 23, 25]
|
|
|
|
label: {
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
position: 'center'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
emphasis: {
|
|
|
|
name: '消防水泵2',
|
|
|
|
label: {
|
|
|
|
type: 'line',
|
|
|
|
show: false
|
|
|
|
smooth: false,
|
|
|
|
|
|
|
|
lineStyle: {
|
|
|
|
|
|
|
|
width: 2,
|
|
|
|
|
|
|
|
color: '#3CC3DF'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
areaStyle: {
|
|
|
|
|
|
|
|
color: {
|
|
|
|
|
|
|
|
type: 'linear',
|
|
|
|
|
|
|
|
x: 0,
|
|
|
|
|
|
|
|
y: 0,
|
|
|
|
|
|
|
|
x2: 0,
|
|
|
|
|
|
|
|
y2: 1,
|
|
|
|
|
|
|
|
colorStops: [
|
|
|
|
|
|
|
|
{ offset: 0, color: 'rgba(60, 195, 223, 0.3)' },
|
|
|
|
|
|
|
|
{ offset: 1, color: 'rgba(60, 195, 223, 0.05)' }
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
symbol: 'circle',
|
|
|
|
labelLine: {
|
|
|
|
symbolSize: 4,
|
|
|
|
show: false
|
|
|
|
itemStyle: {
|
|
|
|
|
|
|
|
color: '#fff',
|
|
|
|
|
|
|
|
borderColor: '#3CC3DF',
|
|
|
|
|
|
|
|
borderWidth: 1
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: [8, 11, 14, 10, 13, 17, 19, 16, 14, 18, 20, 22]
|
|
|
|
data: [
|
|
|
|
|
|
|
|
{ value: 25, name: '灭火器' },
|
|
|
|
|
|
|
|
{ value: 30, name: '消防栓' },
|
|
|
|
|
|
|
|
{ value: 20, name: '报警器' },
|
|
|
|
|
|
|
|
{ value: 25, name: '烟雾探测器' }
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@ -781,8 +734,6 @@ const EvaluationReport = () => {
|
|
|
|
<div className={styles.titleIcon}></div>
|
|
|
|
<div className={styles.titleIcon}></div>
|
|
|
|
<div>设备类型占比</div>
|
|
|
|
<div>设备类型占比</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={styles.titleRight}>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={styles.middleBlock2Chart} ref={chartRef}>
|
|
|
|
<div className={styles.middleBlock2Chart} ref={chartRef}>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -794,48 +745,20 @@ const EvaluationReport = () => {
|
|
|
|
<div className={styles.EcontainerBottom}>
|
|
|
|
<div className={styles.EcontainerBottom}>
|
|
|
|
<div className={styles.sectionContent}>
|
|
|
|
<div className={styles.sectionContent}>
|
|
|
|
<div className={styles.leftBlock}>
|
|
|
|
<div className={styles.leftBlock}>
|
|
|
|
{/* 第一行块 - 蓝色方块加标题 */}
|
|
|
|
<div className={styles.maintenanceStack}>
|
|
|
|
<div className={styles.leftBlockTitle}>
|
|
|
|
<div className={styles.maintenanceSection}>
|
|
|
|
|
|
|
|
<div className={styles.maintenanceTitle}>
|
|
|
|
<div className={styles.titleIcon}></div>
|
|
|
|
<div className={styles.titleIcon}></div>
|
|
|
|
<div>预警信息</div>
|
|
|
|
<div>近期维护提醒</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className={styles.developmentContainer}>
|
|
|
|
|
|
|
|
<div className={styles.developmentBlock1}>
|
|
|
|
|
|
|
|
<div className={styles.leftContent}>
|
|
|
|
|
|
|
|
<div className={styles.mainText}>灭火器压力不足</div>
|
|
|
|
|
|
|
|
<div className={styles.subText}>2号楼3层 丨 15分钟前</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.rightContent}>
|
|
|
|
|
|
|
|
<div className={styles.importantTag}>重要</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.maintenanceContent}></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={styles.developmentBlock1}>
|
|
|
|
<div className={styles.maintenanceSection}>
|
|
|
|
<div className={styles.leftContent}>
|
|
|
|
<div className={styles.maintenanceTitle}>
|
|
|
|
<div className={styles.mainText}>烟雾探测器电池低电量</div>
|
|
|
|
<div className={styles.titleIcon}></div>
|
|
|
|
<div className={styles.subText}>1号楼5层 丨 1小时前</div>
|
|
|
|
<div>维护任务进度</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.rightContent}>
|
|
|
|
|
|
|
|
<div className={styles.importantTag}>重要</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.developmentBlock1}>
|
|
|
|
|
|
|
|
<div className={styles.leftContent}>
|
|
|
|
|
|
|
|
<div className={styles.mainText}>消防栓维护到期</div>
|
|
|
|
|
|
|
|
<div className={styles.subText}>3号楼1层 丨 2小时前</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.rightContent}>
|
|
|
|
|
|
|
|
<div className={styles.normalTag}>一般</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.developmentBlock1}>
|
|
|
|
|
|
|
|
<div className={styles.leftContent}>
|
|
|
|
|
|
|
|
<div className={styles.mainText}>应急照明故障</div>
|
|
|
|
|
|
|
|
<div className={styles.subText}>地下停车场 丨 3小时前</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.rightContent}>
|
|
|
|
|
|
|
|
<div className={styles.normalTag}>一般</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={styles.maintenanceContent}></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|