Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5afea11e4 | ||
|
|
4b2fd5df9a | ||
|
|
5f621784ff |
@@ -692,319 +692,7 @@ export default {
|
||||
lineUrl = lineUrl.replace('{{name}}', item.name)
|
||||
this.loadingDown = true
|
||||
axios.get(lineUrl, { params: params }).then(response => {
|
||||
const res = {
|
||||
"data": {
|
||||
"resultType": "table",
|
||||
"result": [
|
||||
{
|
||||
"statTime": 1731571020,
|
||||
"domainCount": 0,
|
||||
"ipCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571080,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571140,
|
||||
"ipCount": 8362,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571200,
|
||||
"ipCount": 8386,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571260,
|
||||
"ipCount": 8373,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571320,
|
||||
"ipCount": 8362,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571380,
|
||||
"ipCount": 8369,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571440,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571500,
|
||||
"ipCount": 8374,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571560,
|
||||
"ipCount": 8364,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571620,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571680,
|
||||
"ipCount": 8397,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571740,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571800,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571860,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571920,
|
||||
"ipCount": 8405,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731571980,
|
||||
"ipCount": 8403,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572040,
|
||||
"ipCount": 8403,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572100,
|
||||
"ipCount": 8397,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572160,
|
||||
"ipCount": 8405,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572220,
|
||||
"ipCount": 8404,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572280,
|
||||
"ipCount": 8374,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572340,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572400,
|
||||
"ipCount": 8359,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572460,
|
||||
"ipCount": 8369,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572520,
|
||||
"ipCount": 8386,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572580,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572640,
|
||||
"ipCount": 8373,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572700,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572760,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572820,
|
||||
"ipCount": 8380,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572880,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731572940,
|
||||
"ipCount": 8386,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573000,
|
||||
"ipCount": 8373,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573060,
|
||||
"ipCount": 8390,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573120,
|
||||
"ipCount": 8380,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573180,
|
||||
"ipCount": 8397,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573240,
|
||||
"ipCount": 8405,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573300,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573360,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573420,
|
||||
"ipCount": 8380,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573480,
|
||||
"ipCount": 8370,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573540,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573600,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573660,
|
||||
"ipCount": 8373,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573720,
|
||||
"ipCount": 8405,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573780,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573840,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573900,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731573960,
|
||||
"ipCount": 8380,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574020,
|
||||
"ipCount": 8403,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574080,
|
||||
"ipCount": 8362,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574140,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574200,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574260,
|
||||
"ipCount": 8399,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574320,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574380,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574440,
|
||||
"ipCount": 8389,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574500,
|
||||
"ipCount": 8369,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574560,
|
||||
"ipCount": 8378,
|
||||
"domainCount": 0
|
||||
},
|
||||
{
|
||||
"statTime": 1731574620,
|
||||
"ipCount": 8374,
|
||||
"domainCount": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
// const res = response.data
|
||||
const res = response.data
|
||||
if (response.status === 200) {
|
||||
this.showError = false
|
||||
this.isNoData = res.data.result.length === 0
|
||||
|
||||
@@ -202,7 +202,6 @@ export default {
|
||||
this.toggleLoading(true)
|
||||
axios.get(url, { params: params }).then(response => {
|
||||
const res = response.data
|
||||
console.info(res)
|
||||
if (response.status === 200) {
|
||||
this.chartDateObject = res.data.result
|
||||
this.isNoData = res.data.result.length === 0
|
||||
@@ -425,12 +424,14 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
if (this.myChart) {
|
||||
const series = this.tabs.filter(tab => tab.show)
|
||||
const yAxisStartValue = getYAxisBeginValue(series)
|
||||
const _option = this.myChart.getOption()
|
||||
_option.yAxis[0].startValue = yAxisStartValue
|
||||
this.myChart.setOption(_option)
|
||||
}
|
||||
}
|
||||
if (val === 'active') {
|
||||
this.tabs.forEach(t => {
|
||||
t.invertTab = item.name === t.name ? !t.invertTab : true
|
||||
|
||||
@@ -186,7 +186,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
console.info(this.node)
|
||||
this.handleDetailData(this.node)
|
||||
},
|
||||
setup (props) {
|
||||
|
||||
@@ -290,7 +290,6 @@ export default {
|
||||
},
|
||||
initTagsData () {
|
||||
let url = ''
|
||||
console.info(this.entity)
|
||||
switch (this.entity.entityType) {
|
||||
case ('domain'): {
|
||||
url = api.entity.entityList.domainTags
|
||||
|
||||
Reference in New Issue
Block a user