fix: 暂时停止detection列表和networkoverview的事件接口的请求
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
||||
startTime: this.timeFilter && this.timeFilter.startTime ? getSecond(this.timeFilter.startTime) : '',
|
||||
endTime: this.timeFilter && this.timeFilter.endTime ? getSecond(this.timeFilter.endTime) : ''
|
||||
}
|
||||
this.toggleLoading(true)
|
||||
/*this.toggleLoading(true)
|
||||
axios.get(api.netWorkOverview.ddosEventAnalysis, { params: params }).then(response => {
|
||||
const res = response.data
|
||||
if (response.status === 200) {
|
||||
@@ -85,7 +85,8 @@ export default {
|
||||
this.errorMsg = this.errorMsgHandler(e)
|
||||
}).finally(() => {
|
||||
this.toggleLoading(false)
|
||||
})
|
||||
})*/
|
||||
this.toggleLoading(false)
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
||||
@@ -65,7 +65,7 @@ export default {
|
||||
startTime: getSecond(this.timeFilter.startTime),
|
||||
endTime: getSecond(this.timeFilter.endTime)
|
||||
}
|
||||
const dom = document.getElementById('chart1')
|
||||
/*const dom = document.getElementById('chart1')
|
||||
const dom2 = document.getElementById('chart2')
|
||||
if (dom) {
|
||||
if (!this.myChart) {
|
||||
@@ -145,7 +145,12 @@ export default {
|
||||
}).finally(() => {
|
||||
this.loading2 = false
|
||||
})
|
||||
}
|
||||
}*/
|
||||
this.loading1 = false
|
||||
this.loading2 = false
|
||||
this.isNoData = true
|
||||
this.isNoData2 = true
|
||||
this.toggleLoading(false)
|
||||
},
|
||||
routerJump () {
|
||||
const params = {
|
||||
|
||||
@@ -610,7 +610,7 @@ export default {
|
||||
pageSize: this.pageObj.pageSize,
|
||||
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) {
|
||||
this.listData = response.data.data.result
|
||||
} else {
|
||||
@@ -623,7 +623,7 @@ export default {
|
||||
this.pageObj.total = data
|
||||
}).catch(error => {
|
||||
console.log(error)
|
||||
})
|
||||
})*/
|
||||
},
|
||||
timeRefreshChange () {
|
||||
this.initNoData()
|
||||
|
||||
Reference in New Issue
Block a user