feat:中英文补充
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -499,6 +499,14 @@ export default {
|
||||
sgwcVolumeGPRSUplink: 'GPRS 上行链路',
|
||||
sgwcVolumeGPRSDownlink: 'GPRS 下行链路',
|
||||
},
|
||||
chart:{
|
||||
charttitle:'数据使用报告',
|
||||
uplink:'上行流量(B)',
|
||||
downlink:'下行流量(B)',
|
||||
datausage:'流量使用',
|
||||
totaluplink:'总上行流量',
|
||||
totaldownlink:'总下行流量',
|
||||
},
|
||||
ue: {
|
||||
eventType: "事件类型",
|
||||
realTimeDataStart: "开启实时数据",
|
||||
|
||||
@@ -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(() => {
|
||||
<!-- 图数据 -->
|
||||
<div ref="cdrChartDom" style="height: 600px; width: 100%"></div>
|
||||
|
||||
<a-descriptions title="Data Usage" bordered :column="2">
|
||||
<a-descriptions-item label="Total Uplink">
|
||||
<a-descriptions :title="t('views.dashboard.chart.datausage')" bordered :column="2">
|
||||
<a-descriptions-item :label="t('views.dashboard.chart.totaluplink')">
|
||||
{{ state.dataUsage[0] }}
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="Total Downlink">
|
||||
<a-descriptions-item :label="t('views.dashboard.chart.totaldownlink')">
|
||||
{{ state.dataUsage[1] }}
|
||||
</a-descriptions-item>
|
||||
</a-descriptions>
|
||||
|
||||
Reference in New Issue
Block a user