fix: 修复实体列表吞吐量字段取错问题
This commit is contained in:
@@ -264,9 +264,7 @@ export const api = {
|
||||
ipRelatedDomain: apiVersion + '/entity/graph/relation/ip/relate/domains',
|
||||
ipRelatedApp: apiVersion + '/entity/graph/relation/ip/relate/apps',
|
||||
appRelatedIp: apiVersion + '/entity/graph/relation/app/relate/ips',
|
||||
appRelatedDomain: apiVersion + '/entity/graph/relation/app/relate/domains',
|
||||
basicInfo: apiVersion + '/entity/graph/relation/basic',
|
||||
tags: apiVersion + '/entity/graph/relation/kb/intelligence/tag'
|
||||
appRelatedDomain: apiVersion + '/entity/graph/relation/app/relate/domains'
|
||||
},
|
||||
entityList: {
|
||||
list: apiVersion + '/entity/explorer/query/list', // 实体列表
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="row__contents">
|
||||
<div class="row__content">
|
||||
<div class="row__charts-msg">{{$t('overall.sent')}}:
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
</div>
|
||||
<!-- 曲线-->
|
||||
<div class="row__content-loading">
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
<div class="row__content row__content-accept">
|
||||
<div class="row__charts-msg">{{$t('overall.received')}}:
|
||||
{{unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ')}}ps
|
||||
{{unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
</div>
|
||||
<!-- 曲线-->
|
||||
<div class="row__content-loading">
|
||||
@@ -320,10 +320,9 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
appName: this.entity.entityValue
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="row__contents">
|
||||
<div class="row__content">
|
||||
<div class="row__charts-msg">{{$t('overall.sent')}}:
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
</div>
|
||||
<!-- 曲线-->
|
||||
<div class="row__content-loading">
|
||||
@@ -325,10 +325,9 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
domain: this.entity.entityValue
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<div class="row__contents">
|
||||
<div class="row__content">
|
||||
<div class="row__charts-msg">{{$t('overall.sent')}}:
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesReceivedRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
{{unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') !== '- ' ? unitConvert(entityData.bytesSentRate, unitTypes.byte).join(' ') + 'ps' : '-'}}
|
||||
</div>
|
||||
<!-- 曲线-->
|
||||
<div class="row__content-loading">
|
||||
@@ -393,10 +393,9 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
ip: this.entity.entityValue
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
@@ -153,8 +153,8 @@ export default {
|
||||
},
|
||||
getQueryParams () {
|
||||
return {
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entityType
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user