feat: 添加ims-cdr数据moc/cct

This commit is contained in:
TsMask
2025-09-11 20:11:55 +08:00
parent bb6cae1433
commit 905d8c3bb2
3 changed files with 28 additions and 0 deletions

View File

@@ -202,6 +202,30 @@ let tableColumns: ColumnsType = [
align: 'left',
width: 200,
},
{
title: t('views.dashboard.cdr.mosAverage'),
dataIndex: 'cdrJSON',
key: 'mosAverage',
align: 'left',
width: 120,
customRender(opt) {
const cdrJSON = opt.value;
return cdrJSON.mosAverage;
},
},
{
title: t('views.dashboard.cdr.callConnectionTime'),
dataIndex: 'cdrJSON',
key: 'callConnectionTime',
align: 'left',
width: 200,
customRender(opt) {
const cdrJSON = opt.value;
return cdrJSON.callType === 'sms'
? '-'
: parseDuration(cdrJSON.callConnectionTime);
},
},
{
title: t('views.dashboard.cdr.seizureTime'),
dataIndex: 'cdrJSON',