From 95cb044df368c6e63c858ba878eecc3d6687e5bb Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Fri, 18 Mar 2022 16:23:55 +0800 Subject: [PATCH] =?UTF-8?q?CN-376=20fix:=20=E5=AE=9E=E4=BD=93=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E6=B4=BB=E8=B7=83=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 +- src/utils/api.js | 8 +-- .../charts/charts/ChartActiveIpTable.vue | 2 +- src/views/entityExplorer/entityList/Row.vue | 4 +- .../entityList/detailOverview/App.vue | 7 ++- .../entityList/detailOverview/Domain.vue | 8 ++- .../entityList/detailOverview/Ip.vue | 7 ++- .../detailOverview/entityDetailMixin.js | 7 +-- .../entityList/entityListMixin.js | 63 ++++++++++++++----- 9 files changed, 73 insertions(+), 37 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b385c302..e62966c9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,11 +49,11 @@ const routes = [ { path: '/chart', component: () => import('@/views/settings/Chart') - }, + }/* , { path: '/temp', component: () => import('@/views/Temp') - } + } */ ] } ] diff --git a/src/utils/api.js b/src/utils/api.js index a9ffc77e..de3fa60a 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -34,8 +34,6 @@ export const api = { entityNew: '/interface/entity/index/new', entityActive: '/interface/entity/index/active', entityTraffic: '/interface/entity/list/traffic', - entityAlertNum: '/interface/entity/list/alertNum', - entitySecurityNum: '/interface/entity/list/detectionNum', ipBytes: '/interface/entity/detail/ip/bytes', domainBytes: '/interface/entity/detail/domain/bytes', appBytes: '/interface/entity/detail/app/bytes', @@ -45,7 +43,7 @@ export const api = { entityAppDetailNetworkQuantity: '/interface/entity/detail/overview/app/networkQuantity', entityAppDetailLinkIn: '/interface/entity/detail/overview/app/linkIn', entityAppDetailLinkOut: '/interface/entity/detail/overview/app/linkOut', - entityAppDetailAlert: '/interface/entity/detail/overview/app/performanceEvent', + entityAppDetailPerformance: '/interface/entity/detail/overview/app/performanceEvent', entityAppDetailSecurity: '/interface/entity/detail/overview/app/securityEvent', entityAppRelatedServerDomain: '/interface/entity/detail/overview/app/relatedDomain', entityAppRelatedServerIp: '/interface/entity/detail/overview/app/relatedServerIp', @@ -56,7 +54,7 @@ export const api = { entityDomainDetailNetworkQuantity: '/interface/entity/detail/overview/domain/networkQuantity', entityDomainDetailLinkIn: '/interface/entity/detail/overview/domain/linkIn', entityDomainDetailLinkOut: '/interface/entity/detail/overview/domain/linkOut', - entityDomainDetailAlert: '/interface/entity/detail/overview/domain/performanceEvent', + entityDomainDetailPerformance: '/interface/entity/detail/overview/domain/performanceEvent', entityDomainDetailSecurity: '/interface/entity/detail/overview/domain/securityEvent', entityDomainRelatedServerIp: '/interface/entity/detail/overview/domain/relatedServerIp', entityDomainRelatedServerApp: '/interface/entity/detail/overview/domain/relatedApp', @@ -69,7 +67,7 @@ export const api = { entityIpDetailNetworkQuantity: '/interface/entity/detail/overview/ip/networkQuantity', entityIpDetailLinkIn: '/interface/entity/detail/overview/ip/linkIn', entityIpDetailLinkOut: '/interface/entity/detail/overview/ip/linkOut', - entityIpDetailAlert: '/interface/entity/detail/overview/ip/performanceEvent', + entityIpDetailPerformance: '/interface/entity/detail/overview/ip/performanceEvent', entityIpDetailSecurity: '/interface/entity/detail/overview/ip/securityEvent', entityIpRelatedServerDomain: '/interface/entity/detail/overview/ip/relatedDomain', entityIpRelatedServerApp: '/interface/entity/detail/overview/ip/relatedApp', diff --git a/src/views/charts/charts/ChartActiveIpTable.vue b/src/views/charts/charts/ChartActiveIpTable.vue index c853e838..0651adcb 100644 --- a/src/views/charts/charts/ChartActiveIpTable.vue +++ b/src/views/charts/charts/ChartActiveIpTable.vue @@ -28,7 +28,7 @@ v-for="(c, i) in table.tableColumns" show-overflow-tooltip :key="i" - :label="$t(chartTableOrderOptionsMapping[c])" + :label="c" :prop="c" >