fix: 基站状态显示设备名和在线用户数
This commit is contained in:
@@ -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 || '-';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user