Merge branch 'dev' of https://git.mesalab.cn/cyber-narrator/cn-ui into dev
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<div class="basic-info__item">
|
||||
<i class="cn-icon cn-icon-category"></i>
|
||||
<span>{{$t('entities.subcategory')}} : </span>
|
||||
<span>{{entityData.appSubategory || '-'}}</span>
|
||||
<span>{{entityData.appSubcategory || '-'}}</span>
|
||||
</div>
|
||||
<div class="basic-info__item">
|
||||
<i class="cn-icon cn-icon-sub-category"></i>
|
||||
|
||||
@@ -217,6 +217,7 @@ export default {
|
||||
trafficUrlMap: api.entityDomainDetailTrafficMap,
|
||||
relatedServerIpUrl: api.entityDomainRelatedServerIp,
|
||||
relatedServerAppUrl: api.entityDomainRelatedServerApp,
|
||||
basicProperties:api.entityDomainDetailBasic,
|
||||
chartData: null,
|
||||
listMode: 'list',
|
||||
singleValues: {
|
||||
@@ -285,6 +286,13 @@ export default {
|
||||
this.chartData = response.data.result
|
||||
}
|
||||
})
|
||||
},
|
||||
getBasicProperties(){
|
||||
get(this.basicProperties, this.getQueryParams()).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.entityData = response.data.result
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -311,6 +319,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.chartGetMap()
|
||||
this.getBasicProperties()
|
||||
}, 250)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user