历史趋势添加缺失数据功能

This commit is contained in:
guanj
2025-10-31 13:41:48 +08:00
parent 13c0a28c95
commit dc44e16d4d
8 changed files with 2833 additions and 2530 deletions

View File

@@ -86,7 +86,7 @@ const tableStore = new TableStore({
{ title: '设备名称', field: 'equipmentName', align: 'center' },
{ title: '工程名称', field: 'engineeringName', align: 'center' },
{ title: '项目名称', field: 'projectName', align: 'center' },
{ title: '发生时刻', field: 'startTime', align: 'center', minWidth: 110, sortable: true },
{ title: '发生时刻', field: 'startTime', align: 'center', width: 180, sortable: true },
{
title: '模块信息',
field: 'moduleNo',
@@ -99,20 +99,21 @@ const tableStore = new TableStore({
title: '告警代码',
field: 'code',
align: 'center',
width: 100,
formatter: (row: any) => {
return row.cellValue ? row.cellValue : '/'
return row.cellValue ? '\u200B' + row.cellValue : '/'
},
sortable: true
},
{
title: '事件描述',
minWidth: 220,
field: 'showName'
},
{
title: '级别',
field: 'level',
width: 100,
render: 'tag',
custom: {
1: 'danger',
@@ -133,7 +134,8 @@ const tableStore = new TableStore({
// }
// }
],
beforeSearchFun: () => {}
beforeSearchFun: () => {},
})
provide('tableStore', tableStore)