fix: 修复实体下拉时部分接口入参要求不符导致的报错,以及实体列表domain实体的字段使用错误问题
This commit is contained in:
@@ -43,12 +43,12 @@
|
||||
<div class="basic-info__item">
|
||||
<i class="cn-icon cn-icon-sub-category"></i>
|
||||
<span class="row-item-label">{{ $t('entities.category') }} : </span>
|
||||
<span class="row-item-value">{{ entityData.category ? entityData.category.name : '-' }}</span>
|
||||
<span class="row-item-value">{{ entityData.category ? entityData.category.categoryGroup : '-' }}</span>
|
||||
</div>
|
||||
<div class="basic-info__item">
|
||||
<i class="cn-icon cn-icon-category"></i>
|
||||
<span class="row-item-label">{{ $t('entities.subcategory') }} : </span>
|
||||
<span class="row-item-value">{{ entityData.category ? entityData.category.group : '-' }}</span>
|
||||
<span class="row-item-value">{{ entityData.category ? entityData.category.categoryName : '-' }}</span>
|
||||
</div>
|
||||
<div class="basic-info__item">
|
||||
<i class="cn-icon cn-icon-credit-rating"></i>
|
||||
|
||||
@@ -217,7 +217,7 @@ import Chart from '@/views/charts/Chart'
|
||||
import _ from 'lodash'
|
||||
import axios from 'axios'
|
||||
import relatedServer from '@/mixins/relatedServer'
|
||||
import { dateFormatByAppearance, getMillisecond } from '@/utils/date-util'
|
||||
import { dateFormatByAppearance, getMillisecond, getSecond } from '@/utils/date-util'
|
||||
import Loading from '@/components/common/Loading'
|
||||
import { ref } from 'vue'
|
||||
|
||||
@@ -320,9 +320,10 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
appName: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
@@ -221,7 +221,7 @@ import Chart from '@/views/charts/Chart'
|
||||
import _ from 'lodash'
|
||||
import axios from 'axios'
|
||||
import relatedServer from '@/mixins/relatedServer'
|
||||
import { dateFormatByAppearance, getMillisecond } from '@/utils/date-util'
|
||||
import { dateFormatByAppearance, getMillisecond, getSecond } from '@/utils/date-util'
|
||||
import Loading from '@/components/common/Loading'
|
||||
import { ref } from 'vue'
|
||||
|
||||
@@ -325,9 +325,10 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
domain: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
@@ -405,9 +405,10 @@ export default {
|
||||
dateFormatByAppearance,
|
||||
getQueryParams () {
|
||||
return {
|
||||
// startTime: getSecond(this.timeFilter.startTime),
|
||||
// endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime),
|
||||
resource: this.entity.entityValue,
|
||||
ip: this.entity.entityValue
|
||||
}
|
||||
},
|
||||
getPerformanceQueryParams () {
|
||||
|
||||
Reference in New Issue
Block a user