设备监控-准实时数据上面修改
This commit is contained in:
@@ -255,23 +255,23 @@ const tableStore = new TableStore({
|
||||
{ title: '录入时间', field: 'createTime' },
|
||||
{ title: '网络设备ID', field: 'ndid' },
|
||||
{
|
||||
title: '状态',
|
||||
field: 'status',
|
||||
title: '通讯状态',
|
||||
field: 'runStatus',
|
||||
width: 100,
|
||||
render: 'tag',
|
||||
custom: {
|
||||
1: 'warning',
|
||||
1: 'primary',
|
||||
2: 'success',
|
||||
3: 'primary',
|
||||
4: 'primary',
|
||||
5: 'warning'
|
||||
// 3: 'primary',
|
||||
// 4: 'primary',
|
||||
// 5: 'warning'
|
||||
},
|
||||
replaceValue: {
|
||||
1: '未注册',
|
||||
2: '注册',
|
||||
3: '接入',
|
||||
4: '已取消',
|
||||
5: '未接入'
|
||||
1: '离线',
|
||||
2: '在线',
|
||||
// 3: '接入',
|
||||
// 4: '已取消',
|
||||
// 5: '未接入'
|
||||
}
|
||||
// formatter: row => {
|
||||
// return row.cellValue == 1 ? '未注册' : row.cellValue == 2 ? '注册' : '接入'
|
||||
|
||||
Reference in New Issue
Block a user