添加页面补招功能

This commit is contained in:
GGJ
2025-04-30 16:00:26 +08:00
parent dabb960d09
commit 81726cde2d
15 changed files with 7778 additions and 576 deletions

View File

@@ -209,7 +209,7 @@ const histogram = (res: any) => {
var tips = ''
for (var i = 0; i < params.length; i++) {
tips += params[i].name + '</br/>'
tips += '监测点' + ':' + '&nbsp' + '&nbsp' + (params[i].value == 0.14159 ? '暂无数据' : params[i].value) + '</br/>'
tips += '超标监测点占比' + ':' + '&nbsp' + '&nbsp' + (params[i].value == 0.14159 ? '暂无数据' : params[i].value) + '</br/>'
}
return tips
}
@@ -220,7 +220,7 @@ const histogram = (res: any) => {
data: res.map((item: any) => item.name)
},
yAxis: {
name: '等级',// 给X轴加单位
name: '超标占比',// 给X轴加单位
min: 0,
max: 100,
@@ -239,7 +239,7 @@ const histogram = (res: any) => {
dataZoom: null,
series: [
{
type: 'bar',
data: res.map((item: any) => {
return item.lineRatio == 3.14159 ? 0.14159 : item.lineRatio