事件展示-设备告警稳态越限告警暂态事件列表-数据来源deviceId参数传递条件修改

This commit is contained in:
zhujiyan
2024-10-09 14:06:24 +08:00
parent 7bb9c23543
commit ca488a0793
3 changed files with 21 additions and 7 deletions

View File

@@ -79,7 +79,12 @@ const tableStore = new TableStore({
{ title: '设备名称', field: 'equipmentName', align: 'center' },
{ title: '事件描述', field: 'showName', align: 'center' },
{ title: '发生时刻', field: 'startTime', align: 'center' }
]
],
beforeSearchFun: () => {
if (!tableStore.table.params.deviceId) {
delete tableStore.table.params.deviceId
}
}
})
provide('tableStore', tableStore)