From 36f0f5570c4305ce2816ad44969c610f25786220 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Thu, 22 Jul 2021 21:35:06 +0800 Subject: [PATCH] =?UTF-8?q?CN-65=20fix:=20statistics-legend=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/PieTable.vue | 18 ++++++------ src/components/charts/StatisticsLegend.vue | 16 ++++++++++- src/components/charts/chart-table-title.js | 32 +++++++++++----------- src/components/entities/EntityList.vue | 10 +++---- src/components/entities/LeftFilter.vue | 2 +- src/views/charts/Chart.vue | 27 ++++++++++++++++-- 6 files changed, 70 insertions(+), 35 deletions(-) diff --git a/src/components/charts/PieTable.vue b/src/components/charts/PieTable.vue index 1223ff93..bec659d3 100644 --- a/src/components/charts/PieTable.vue +++ b/src/components/charts/PieTable.vue @@ -117,7 +117,7 @@ export default { expandRowKeys: [], tableTitles: [ { - label: this.$t('common.domain'), + label: this.$t('overall.domain'), prop: 'domain', width: '20%' }, @@ -127,44 +127,44 @@ export default { width: '22%' }, { - label: this.$t('common.sessions'), + label: this.$t('overall.sessions'), prop: 'sessions', width: '18%' }, { - label: this.$t('common.packets'), + label: this.$t('overall.packets'), prop: 'packets', width: '18%' }, { - label: this.$t('common.bytes'), + label: this.$t('overall.bytes'), prop: 'bytes', width: '18%' } ], tableTitlesOther: [ { - label: this.$t('common.serverIp'), + label: this.$t('overall.serverIp'), prop: 'serverIp', width: '20%' }, { - label: this.$t('common.reputation'), + label: this.$t('overall.reputation'), prop: 'nameColumn', width: '22%' }, { - label: this.$t('common.sessions'), + label: this.$t('overall.sessions'), prop: 'sessions', width: '18%' }, { - label: this.$t('common.packets'), + label: this.$t('overall.packets'), prop: 'packets', width: '18%' }, { - label: this.$t('common.bytes'), + label: this.$t('overall.bytes'), prop: 'bytes', width: '18%' } diff --git a/src/components/charts/StatisticsLegend.vue b/src/components/charts/StatisticsLegend.vue index b4e342e1..e6661b0d 100644 --- a/src/components/charts/StatisticsLegend.vue +++ b/src/components/charts/StatisticsLegend.vue @@ -7,7 +7,7 @@