fix: 基站状态显示设备名和在线用户数

This commit is contained in:
TsMask
2025-01-15 17:55:19 +08:00
parent e36dac9b81
commit 322b5f18ed
4 changed files with 19 additions and 7 deletions

View File

@@ -104,6 +104,12 @@ let tableColumns = ref<ColumnsType>([
title: t('views.neData.baseStation.nbName'),
dataIndex: 'nbName',
align: 'left',
width: 100,
},
{
title: t('views.neData.baseStation.ueNum'),
dataIndex: 'ueNum',
align: 'left',
width: 80,
},
{
@@ -114,12 +120,12 @@ let tableColumns = ref<ColumnsType>([
width: 80,
},
{
title: t('views.neData.baseStation.time'),
title: t('views.neData.baseStation.time'),
align: 'left',
width: 150,
customRender(opt) {
const record = opt.value;
console.log(opt)
console.log(opt);
if (record.state === 'OFF') {
return record.offTime || '-';
}