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