diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 8ca1e802..a8e14239 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -499,6 +499,14 @@ export default { sgwcVolumeGPRSUplink: 'GPRS Uplink', sgwcVolumeGPRSDownlink: 'GPRS Downlink', }, + chart:{ + charttitle:'Data Usage Report', + uplink:'Uplink(Byte)', + downlink:'Downlink(Byte)', + datausage:'Data Usage', + totaluplink:'Total Uplink', + totaldownlink:'Total Downlink', + }, ue: { eventType: "Event Type", realTimeDataStart: "Turn on real-time data", @@ -1788,8 +1796,8 @@ export default { baseDnPlease: 'Please enter the LDAP base DN correctly', ldapUserFilter: "User Filter", userFilterPlease: 'Please enter the LDAP user filter correctly', - ldapBindDN: "Bind DN", - ldapBindPassword: "Bind Password", + ldapBindDN: "Bind DN", + ldapBindPassword: "Bind Password", smtpHost: 'Server Address', smtpHostPlease: 'Please enter the SMTP server address correctly', smtpPort: 'Port Number', @@ -1816,7 +1824,7 @@ export default { uploadFileErr: 'Authentication source icon upload failed', viewInfoErr: "Failed to get authentication source information", addInfo: "Add Authentication Source", - editInfo: "Modify Authentication Source", + editInfo: "Modify Authentication Source", delTip: "Confirm deleting the authentication source number [{num}] data item?", delOk: "Deleted Successfully", }, diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index d6a830a3..367db62a 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -499,6 +499,14 @@ export default { sgwcVolumeGPRSUplink: 'GPRS 上行链路', sgwcVolumeGPRSDownlink: 'GPRS 下行链路', }, + chart:{ + charttitle:'数据使用报告', + uplink:'上行流量(B)', + downlink:'下行流量(B)', + datausage:'流量使用', + totaluplink:'总上行流量', + totaldownlink:'总下行流量', + }, ue: { eventType: "事件类型", realTimeDataStart: "开启实时数据", @@ -1788,8 +1796,8 @@ export default { baseDnPlease: '请正确输入LDAP 基础DN', ldapUserFilter: "用户过滤", userFilterPlease: '请正确输入LDAP 用户过滤', - ldapBindDN: "绑定DN", - ldapBindPassword: "绑定密码", + ldapBindDN: "绑定DN", + ldapBindPassword: "绑定密码", smtpHost: '服务器地址', smtpHostPlease: '请正确输入SMTP 服务器地址', smtpPort: '端口号', @@ -1816,7 +1824,7 @@ export default { uploadFileErr: '认证源图标上传失败', viewInfoErr: "获取认证源信息失败", addInfo: "添加认证源", - editInfo: "修改认证源", + editInfo: "修改认证源", delTip: "确认删除认证源编号为 【{num}】 的数据项?", delOk: "删除成功", }, diff --git a/src/views/dashboard/smfCDRByIMSI/index.vue b/src/views/dashboard/smfCDRByIMSI/index.vue index 3a4ae59a..cbbd79c0 100644 --- a/src/views/dashboard/smfCDRByIMSI/index.vue +++ b/src/views/dashboard/smfCDRByIMSI/index.vue @@ -49,7 +49,7 @@ let cdrChart: echarts.ECharts | null = null; /**图表配置 */ const option = { title: { - text: 'Data Usage Report', + text: t('views.dashboard.chart.charttitle'), left: 'left', }, tooltip: { @@ -149,12 +149,12 @@ const option = { ], yAxis: [ { - name: 'Downlink (Byte)', + name: t('views.dashboard.chart.downlink'), type: 'value', }, { gridIndex: 1, - name: 'Uplink (Byte)', + name: t('views.dashboard.chart.uplink'), type: 'value', inverse: true, }, @@ -687,11 +687,11 @@ onBeforeUnmount(() => {
- - + + {{ state.dataUsage[0] }} - + {{ state.dataUsage[1] }}