完善前端WebSocket更新逻辑
This commit is contained in:
@@ -172,12 +172,6 @@ export function useColumns<T = SystemUserApi.SystemUser>(
|
||||
title: '当前状态',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'project',
|
||||
slots: { default: 'project' },
|
||||
title: '所属IoT项目',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'device_type',
|
||||
slots: { default: 'deviceType' },
|
||||
@@ -187,7 +181,7 @@ export function useColumns<T = SystemUserApi.SystemUser>(
|
||||
{
|
||||
field: 'dept_name',
|
||||
minWidth: 120,
|
||||
title: '所属组织',
|
||||
title: '所属组织/项目',
|
||||
},
|
||||
{
|
||||
cellRender: {
|
||||
@@ -207,11 +201,6 @@ export function useColumns<T = SystemUserApi.SystemUser>(
|
||||
title: '管理员',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
field: 'created_at',
|
||||
title: '创建时间',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
field: 'remark',
|
||||
title: '备注',
|
||||
@@ -259,8 +248,13 @@ export function useColumns<T = SystemUserApi.SystemUser>(
|
||||
},
|
||||
{
|
||||
field: 'last_seen',
|
||||
title: '信息更新时间',
|
||||
width: 100,
|
||||
title: '设备信息更新时间',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
field: 'created_at',
|
||||
title: '创建时间',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
field: 'operation',
|
||||
|
||||
Reference in New Issue
Block a user