feat: 网元授权显示用户数/基站数
This commit is contained in:
@@ -539,6 +539,8 @@ export default {
|
|||||||
port: 'Port',
|
port: 'Port',
|
||||||
portTip: "Network element port default:33030",
|
portTip: "Network element port default:33030",
|
||||||
capability: 'Capability',
|
capability: 'Capability',
|
||||||
|
ueNumber: 'UE Number',
|
||||||
|
nbNumber: 'Radio Number',
|
||||||
serialNum: 'Serial Number',
|
serialNum: 'Serial Number',
|
||||||
expiryDate: 'Expiry Date',
|
expiryDate: 'Expiry Date',
|
||||||
normalcy: 'Normal',
|
normalcy: 'Normal',
|
||||||
|
|||||||
@@ -539,6 +539,8 @@ export default {
|
|||||||
port: '服务端口',
|
port: '服务端口',
|
||||||
portTip: "网元服务端口,默认:33030",
|
portTip: "网元服务端口,默认:33030",
|
||||||
capability: '容量',
|
capability: '容量',
|
||||||
|
ueNumber: '用户数',
|
||||||
|
nbNumber: '基站数',
|
||||||
serialNum: '序列号',
|
serialNum: '序列号',
|
||||||
expiryDate: '许可证到期日期',
|
expiryDate: '许可证到期日期',
|
||||||
normalcy: '正常',
|
normalcy: '正常',
|
||||||
|
|||||||
@@ -105,8 +105,8 @@ let tableColumns = ref<TableColumnsType>([
|
|||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.ne.common.capability'),
|
title: t('views.ne.common.ueNumber'),
|
||||||
dataIndex: 'capability',
|
dataIndex: 'ueNumber',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
customRender(opt) {
|
customRender(opt) {
|
||||||
if (['UDM', 'AMF', 'MME'].includes(opt.record.neType)) {
|
if (['UDM', 'AMF', 'MME'].includes(opt.record.neType)) {
|
||||||
@@ -116,6 +116,18 @@ let tableColumns = ref<TableColumnsType>([
|
|||||||
},
|
},
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('views.ne.common.nbNumber'),
|
||||||
|
dataIndex: 'nbNumber',
|
||||||
|
align: 'left',
|
||||||
|
customRender(opt) {
|
||||||
|
if (['AMF', 'MME'].includes(opt.record.neType)) {
|
||||||
|
return opt.value;
|
||||||
|
}
|
||||||
|
return '-';
|
||||||
|
},
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: t('common.remark'),
|
title: t('common.remark'),
|
||||||
dataIndex: 'remark',
|
dataIndex: 'remark',
|
||||||
@@ -276,7 +288,8 @@ function fnRecordState(row: Record<string, any>) {
|
|||||||
row.status = '1';
|
row.status = '1';
|
||||||
row.serialNum = res.data.sn;
|
row.serialNum = res.data.sn;
|
||||||
row.expiryDate = res.data.expire;
|
row.expiryDate = res.data.expire;
|
||||||
row.capability = res.data.capability;
|
row.ueNumber = res.data.ueNumber;
|
||||||
|
row.nbNumber = res.data.nbNumber;
|
||||||
row.updateTime = new Date().getTime();
|
row.updateTime = new Date().getTime();
|
||||||
message.success(
|
message.success(
|
||||||
`${row.neType} ${row.neId} ${dictStatus.value[1].label}`,
|
`${row.neType} ${row.neId} ${dictStatus.value[1].label}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user