fix: 一系列优化和调整:左侧筛选空串处理、下拉增加网络质量和链路、app风险等级映射
This commit is contained in:
@@ -42,6 +42,9 @@ export const api = {
|
||||
// app detail
|
||||
entityAppDetailTraffic: '/interface/entity/detail/overview/app/traffic',
|
||||
entityAppDetailRelation: '/interface/entity/detail/overview/app/relation',
|
||||
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/alert',
|
||||
entityAppDetailSecurity: '/interface/entity/detail/overview/app/security',
|
||||
// domain detail
|
||||
@@ -59,6 +62,9 @@ export const api = {
|
||||
entityDomainDetailTrafficMap: '/interface/entity/detail/domain/trafficMap',
|
||||
entityAppDetailTrafficMap: '/interface/entity/detail/app/trafficMap',
|
||||
entityIpDetailRelation: '/interface/entity/detail/overview/ip/relation',
|
||||
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/alert',
|
||||
entityIpDetailSecurity: '/interface/entity/detail/overview/ip/security'
|
||||
}
|
||||
|
||||
@@ -136,7 +136,13 @@ export const chartPieTableTopOptions = [
|
||||
{ name: 'Packets', value: 'packets' },
|
||||
{ name: 'Bytes', value: 'bytes' }
|
||||
]
|
||||
|
||||
export const riskLevelMapping = [
|
||||
{ name: 'Trustworthy', value: 1 },
|
||||
{ name: 'Low Risk', value: 2 },
|
||||
{ name: 'Moderate Risk', value: 3 },
|
||||
{ name: 'Suspicious', value: 4 },
|
||||
{ name: 'High Risk', value: 5 }
|
||||
]
|
||||
export const iso36112 = {
|
||||
[storageKey.iso36112Capital]: 'data/countriesWithCapital',
|
||||
[storageKey.iso36112WorldLow]: 'worldChinaLow',
|
||||
|
||||
Reference in New Issue
Block a user