CN-1582 fix: 实体列表页增加subscriber内容

This commit is contained in:
刘洪洪
2024-03-25 14:16:41 +08:00
parent a548e78f0c
commit 95b954fad8
16 changed files with 1185 additions and 59 deletions

View File

@@ -51,6 +51,10 @@ export default {
className = 'cn-icon cn-icon-app2'
break
}
case ('subscriber_id'): {
className = 'cn-icon cn-icon-pedestrian'
break
}
default: break
}
return className
@@ -264,6 +268,10 @@ export default {
this.performanceEventUrl = api.entity.entityList.appEventPerformance
break
}
case 'subscriber_id': {
this.trafficUrl = api.entity.entityList.subscriberThroughput
break
}
default:
break
}
@@ -348,8 +356,10 @@ export default {
this.initUrl()
setTimeout(() => {
this.queryEntityDetailTraffic()
this.queryNetworkQuantity()
this.queryEventNum()
if (this.entity.entityType !== 'subscriber_id') {
this.queryNetworkQuantity()
this.queryEventNum()
}
})
},
beforeUnmount () {