fix: 暂时去掉detection列表的相关图表请求
This commit is contained in:
@@ -282,7 +282,7 @@ export default {
|
|||||||
// 初始化顶部大柱状图
|
// 初始化顶部大柱状图
|
||||||
initEventSeverityTrendData (params) {
|
initEventSeverityTrendData (params) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getData(api.detection[this.pageType].eventSeverityTrend, params).then(data => {
|
/* getData(api.detection[this.pageType].eventSeverityTrend, params).then(data => {
|
||||||
this.eventSeverityData = data
|
this.eventSeverityData = data
|
||||||
if (!this.$_.isEmpty(data)) {
|
if (!this.$_.isEmpty(data)) {
|
||||||
const dataMap = new Map()
|
const dataMap = new Map()
|
||||||
@@ -354,7 +354,11 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
})
|
}) */
|
||||||
|
const timer = setTimeout(() => {
|
||||||
|
this.loading = false
|
||||||
|
clearTimeout(timer)
|
||||||
|
}, 150)
|
||||||
},
|
},
|
||||||
|
|
||||||
// 初始化左侧事件严重等级和小饼图
|
// 初始化左侧事件严重等级和小饼图
|
||||||
@@ -610,7 +614,7 @@ export default {
|
|||||||
pageSize: this.pageObj.pageSize,
|
pageSize: this.pageObj.pageSize,
|
||||||
pageNo: this.pageObj.pageNo
|
pageNo: this.pageObj.pageNo
|
||||||
}
|
}
|
||||||
/*axios.get(api.detection[this.pageType].listBasic, { params }).then(response => {
|
/* axios.get(api.detection[this.pageType].listBasic, { params }).then(response => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
this.listData = response.data.data.result
|
this.listData = response.data.data.result
|
||||||
} else {
|
} else {
|
||||||
@@ -623,7 +627,7 @@ export default {
|
|||||||
this.pageObj.total = data
|
this.pageObj.total = data
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
})*/
|
}) */
|
||||||
},
|
},
|
||||||
timeRefreshChange () {
|
timeRefreshChange () {
|
||||||
this.initNoData()
|
this.initNoData()
|
||||||
@@ -685,16 +689,16 @@ export default {
|
|||||||
q: this.q
|
q: this.q
|
||||||
}
|
}
|
||||||
this.initEventSeverityTrendData(params)
|
this.initEventSeverityTrendData(params)
|
||||||
this.initEventSeverityData(params)
|
// this.initEventSeverityData(params)
|
||||||
if (this.pageType === detectionPageType.securityEvent) {
|
if (this.pageType === detectionPageType.securityEvent) {
|
||||||
this.initOffenderIpData(params)
|
// this.initOffenderIpData(params)
|
||||||
this.initOffenderLocationData(params)
|
// this.initOffenderLocationData(params)
|
||||||
this.initVictimIpData(params)
|
// this.initVictimIpData(params)
|
||||||
this.initVictimLocationData(params)
|
// this.initVictimLocationData(params)
|
||||||
this.initSecurityTypeData(params)
|
// this.initSecurityTypeData(params)
|
||||||
} else if (this.pageType === detectionPageType.performanceEvent) {
|
} else if (this.pageType === detectionPageType.performanceEvent) {
|
||||||
this.initActiveEntity(params)
|
// this.initActiveEntity(params)
|
||||||
this.initEventTypeData(params)
|
// this.initEventTypeData(params)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pageSize (val) {
|
pageSize (val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user