feat: entities列表

This commit is contained in:
chenjinsong
2021-07-09 17:24:22 +08:00
parent 8e18660edc
commit abf887b7fa
7 changed files with 157 additions and 57 deletions

View File

@@ -50,6 +50,10 @@ export const entityType = {
app: 'APP'
}
export const entityTypeMappingKey = {
ip: ['country', 'region']
}
export const chartTableDefaultPageSize = 10 // table类型图表默认每页数据量
export const chartTableTopOptions = [10, 100] // table类型图表的TOP-N选项
export const chartPieTableTopOptions = [{ name: 'Sessions', value: 'sessions' }, { name: 'Packets', value: 'packets' }, { name: 'Bytes', value: 'bytes' }] // table类型图表的TOP-N选项