修改测试问题

This commit is contained in:
guanj
2026-01-16 15:54:16 +08:00
parent 5ceb9be9e2
commit c09e6f54dd
15 changed files with 111 additions and 50 deletions

View File

@@ -172,7 +172,7 @@ const setEchart = () => {
tooltip: {
trigger: 'axis',
formatter: function (params: any) {
let result = params[0].name
let result = params[0].axisValueLabel
params.forEach((item: any) => {
if (item.seriesName === indicatorName) {
// 对于电能质量指标格式化Y轴值显示

View File

@@ -156,17 +156,21 @@ const tableStore: any = new TableStore({
停运: 'danger',
退运: 'danger',
运行: 'success',
在线: 'success',
中断: 'warning',
离线: 'danger',
检修: 'warning',
调试: 'warning',
null: 'info'
},
replaceValue: {
运行: '运行',
在线: '在线',
退运: '退运',
停运: '停运',
中断: '中断',
检修: '检修',
离线: '离线',
调试: '调试',
null: '/'
}
@@ -183,7 +187,10 @@ const tableStore: any = new TableStore({
{
title: '电压等级',
field: 'volGrade',
minWidth: '80'
minWidth: '80',
formatter: (row: any) => {
return row.cellValue==0?'/': row.cellValue+'kV' || '/'
}
},
{
title: '是否治理',