From 7275a87fbab8abb8356c60cd8c339fd0685e07d2 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 11 Jun 2024 18:30:53 +0800 Subject: [PATCH] =?UTF-8?q?style:=20CDR=E9=A1=B5=E9=9D=A2=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 17 ++++++---- src/i18n/locales/zh-CN.ts | 17 ++++++---- src/views/dashboard/amfUE/index.vue | 6 ++-- src/views/dashboard/imsCDR/index.vue | 6 ++-- src/views/dashboard/smfCDR/index.vue | 49 +++++++++++++++------------- 5 files changed, 54 insertions(+), 41 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index ee5199c8..49ef62b8 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -149,6 +149,7 @@ export default { page403: 'No Access', page404: 'Match Page Not Found', helpDoc: 'System User Documentation', + lockScreen: 'Lock Screen', account: { index: "Personal Center", profile: "Personal Info", @@ -559,8 +560,6 @@ export default { realTimeDataStart: "Turn on real-time data", realTimeDataStop: "Turn off real-time data", cdrInfo: "CDR Info", - neName: "NE name", - rmUID: "UID", time: "Time", rowInfo: "Info", type: "Type", @@ -569,21 +568,27 @@ export default { called: "Called", result: "Result", delTip: "Confirm deletion of the data item numbered [{msg}]?", - exportTipIMS: "Do you confirm to export the current query conditions of the CDR data? (Maximum 10,000 items can be exported.)", + exportTip: "Do you confirm to export the current query conditions of the CDR data? (Maximum 10,000 items can be exported.)", + smfChargingID: 'Charging ID', + smfSubscriptionIDData: 'Subscriber ID Data', + smfSubscriptionIDType: 'Subscriber ID Type', + smfDataVolumeUplink: 'Data Volume Uplink', + smfDataVolumeDownlink: 'Data Volume Downlink', + smfDataTotalVolume: 'Data Total Volume', + smfDuration: 'Duration', + smfInvocationTime: 'Invocation Time', }, ue: { eventType: "Event Type", realTimeDataStart: "Turn on real-time data", realTimeDataStop: "Turn off real-time data", ueInfo: "UE Info", - neName: "NE name", - rmUID: "UID", time: "Time", rowInfo: "Info", result: "Result", resultOk: "Successes", delTip: "Confirm deletion of the data item numbered [{msg}]?", - exportTipIMS: "Do you confirm to export the event data of the current query condition? (Maximum 10,000 items can be exported.)", + exportTip: "Do you confirm to export the event data of the current query condition? (Maximum 10,000 items can be exported.)", }, }, ne: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 14f71e65..486fdb67 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -149,6 +149,7 @@ export default { page403: '没有访问权限', page404: '找不到匹配页面', helpDoc: '系统使用文档', + lockScreen: '锁屏', account: { index: "个人中心", profile: "个人信息", @@ -559,8 +560,6 @@ export default { realTimeDataStart: "开启实时数据", realTimeDataStop: "关闭实时数据", cdrInfo: "CDR信息", - neName: "网元名称", - rmUID: "资源标识", time: "记录时间", rowInfo: "记录信息", type: "记录类型", @@ -569,21 +568,27 @@ export default { called: "被叫", result: "结果", delTip: "确认删除编号为【{msg}】的数据项?", - exportTipIMS: "确认导出当前查询条件的话单数据吗?(导出最大支持一万条)", + exportTip: "确认导出当前查询条件的话单数据吗?(导出最大支持一万条)", + smfChargingID: '计费ID', + smfSubscriptionIDData: '用户 ID 数据', + smfSubscriptionIDType: '用户 ID 类型', + smfDataVolumeUplink: '数据量上行链路', + smfDataVolumeDownlink: '数据量下行链路', + smfDataTotalVolume: '数据总量', + smfDuration: '持续时间', + smfInvocationTime: '调用时间', }, ue: { eventType: "事件类型", realTimeDataStart: "开启实时数据", realTimeDataStop: "关闭实时数据", ueInfo: "UE信息", - neName: "网元名称", - rmUID: "资源标识", rowInfo: "记录信息", time: "记录时间", result: "结果", resultOk: "成功", delTip: "确认删除编号为【{msg}】的数据项?", - exportTipIMS: "确认导出当前查询条件的事件数据吗?(导出最大支持一万条)", + exportTip: "确认导出当前查询条件的事件数据吗?(导出最大支持一万条)", }, }, ne: { diff --git a/src/views/dashboard/amfUE/index.vue b/src/views/dashboard/amfUE/index.vue index 9d09de4d..204cb946 100644 --- a/src/views/dashboard/amfUE/index.vue +++ b/src/views/dashboard/amfUE/index.vue @@ -296,7 +296,7 @@ function fnExportList() { if (modalState.confirmLoading) return; Modal.confirm({ title: t('common.tipTitle'), - content: t('views.dashboard.ue.exportTipAMF'), + content: t('views.dashboard.ue.exportTip'), onOk() { const hide = message.loading(t('common.loading'), 0); const querys = toRaw(queryParams); @@ -662,11 +662,11 @@ onBeforeUnmount(() => { {{ t('views.dashboard.ue.ueInfo') }}
- {{ t('views.dashboard.ue.neName') }}: + {{ t('views.ne.common.neName') }}: {{ record.neName }}
- {{ t('views.dashboard.ue.rmUID') }}: + {{ t('views.ne.common.rmUid') }}: {{ record.rmUID }}
diff --git a/src/views/dashboard/imsCDR/index.vue b/src/views/dashboard/imsCDR/index.vue index 796a487a..742504b2 100644 --- a/src/views/dashboard/imsCDR/index.vue +++ b/src/views/dashboard/imsCDR/index.vue @@ -338,7 +338,7 @@ function fnExportList() { if (modalState.confirmLoading) return; Modal.confirm({ title: t('common.tipTitle'), - content: t('views.dashboard.cdr.exportTipIMS'), + content: t('views.dashboard.cdr.exportTip'), onOk() { const hide = message.loading(t('common.loading'), 0); const querys = toRaw(queryParams); @@ -688,11 +688,11 @@ onBeforeUnmount(() => { {{ t('views.dashboard.cdr.cdrInfo') }}
- {{ t('views.dashboard.cdr.neName') }}: + {{ t('views.ne.common.neName') }}: {{ record.neName }}
- {{ t('views.dashboard.cdr.rmUID') }}: + {{ t('views.ne.common.rmUid') }}: {{ record.rmUID }}
diff --git a/src/views/dashboard/smfCDR/index.vue b/src/views/dashboard/smfCDR/index.vue index 3bc66d03..3d8fb8a9 100644 --- a/src/views/dashboard/smfCDR/index.vue +++ b/src/views/dashboard/smfCDR/index.vue @@ -85,13 +85,13 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ { - title: 'ID', + title: t('common.rowId'), dataIndex: 'id', align: 'center', width: 100, }, { - title: 'Charging ID', // 计费ID + title: t('views.dashboard.cdr.smfChargingID'), // 计费ID dataIndex: 'cdrJSON', align: 'left', width: 100, @@ -101,17 +101,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Subscriber ID Data', // 用户 ID 数据 - dataIndex: 'cdrJSON', - align: 'left', - width: 150, - customRender(opt) { - const cdrJSON = opt.value; - return cdrJSON.subscriberIdentifier?.subscriptionIDData; - }, - }, - { - title: 'Subscriber ID Type', // 用户 ID 类型 + title: t('views.dashboard.cdr.smfSubscriptionIDType'), // 用户 ID 类型 dataIndex: 'cdrJSON', align: 'left', width: 150, @@ -121,7 +111,17 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Data Volume Uplink', // 数据量上行链路 + title: t('views.dashboard.cdr.smfSubscriptionIDData'), // 用户 ID 数据 + dataIndex: 'cdrJSON', + align: 'left', + width: 150, + customRender(opt) { + const cdrJSON = opt.value; + return cdrJSON.subscriberIdentifier?.subscriptionIDData; + }, + }, + { + title: t('views.dashboard.cdr.smfDataVolumeUplink'), // 数据量上行链路 dataIndex: 'cdrJSON', align: 'left', width: 150, @@ -142,7 +142,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Data Volume Downlink', // 数据量下行链路 + title: t('views.dashboard.cdr.smfDataVolumeDownlink'), // 数据量下行链路 dataIndex: 'cdrJSON', align: 'left', width: 180, @@ -163,7 +163,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Data Total Volume', // 数据总量 + title: t('views.dashboard.cdr.smfDataTotalVolume'), // 数据总量 dataIndex: 'cdrJSON', align: 'left', width: 150, @@ -184,7 +184,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Duration', // 持续时间 + title: t('views.dashboard.cdr.smfDuration'), // 持续时间 dataIndex: 'cdrJSON', align: 'left', width: 100, @@ -194,7 +194,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: 'Invocation Time', // 调用时间 + title: t('views.dashboard.cdr.smfInvocationTime'), // 调用时间 dataIndex: 'cdrJSON', align: 'left', width: 250, @@ -354,7 +354,7 @@ function fnExportList() { if (modalState.confirmLoading) return; Modal.confirm({ title: t('common.tipTitle'), - content: t('views.dashboard.cdr.exportTipSMF'), + content: t('views.dashboard.cdr.exportTip'), onOk() { const hide = message.loading(t('common.loading'), 0); const querys = toRaw(queryParams); @@ -473,7 +473,10 @@ onBeforeUnmount(() => { - + { {{ t('views.dashboard.cdr.cdrInfo') }}
- {{ t('views.dashboard.cdr.neName') }}: + {{ t('views.ne.common.neName') }}: {{ record.neName }}
- {{ t('views.dashboard.cdr.rmUID') }}: + {{ t('views.ne.common.rmUid') }}: {{ record.rmUID }}
@@ -679,7 +682,7 @@ onBeforeUnmount(() => { Duration: {{ record.cdrJSON.duration }}
- SubscriberIdentifier + Subscriber Identifier
Subscription ID Type: