perf: entities部分内容、优化带统计图表样式
This commit is contained in:
@@ -16,7 +16,10 @@ export const api = {
|
||||
chart: '/visual/chart',
|
||||
entityIpFilter: '/interface/entity/ip/filter',
|
||||
entityDomainFilter: '/interface/entity/domain/filter',
|
||||
entityAppFilter: '/interface/entity/app/filter'
|
||||
entityAppFilter: '/interface/entity/app/filter',
|
||||
entityIpList: '/interface/entity/ip/list',
|
||||
entityDomainList: '/interface/entity/domain/list',
|
||||
entityAppList: '/interface/entity/app/list'
|
||||
}
|
||||
/* panel */
|
||||
export async function getPanelList (params) {
|
||||
@@ -44,6 +47,18 @@ export async function getEntityDomainFilterList (params) {
|
||||
export async function getEntityAppFilterList (params) {
|
||||
return await getData(api.entityAppFilter, params, true)
|
||||
}
|
||||
/* ip类型entity列表 */
|
||||
export async function getEntityIpList (params) {
|
||||
return await getData(api.entityIpList, params, true)
|
||||
}
|
||||
/* domain类型entity列表 */
|
||||
export async function getEntityDomainList (params) {
|
||||
return await getData(api.entityDomainList, params, true)
|
||||
}
|
||||
/* app类型entity列表 */
|
||||
export async function getEntityAppList (params) {
|
||||
return await getData(api.entityAppList, params, true)
|
||||
}
|
||||
/* 字典 */
|
||||
export async function getDictList (params) {
|
||||
return await getData(api.dict, params, true)
|
||||
|
||||
Reference in New Issue
Block a user