fix: 去除无效代码
This commit is contained in:
@@ -552,7 +552,7 @@ export default {
|
|||||||
queryCondition.push('common_l7_protocol=\'' + valueGroup[0] + '\'')
|
queryCondition.push('common_l7_protocol=\'' + valueGroup[0] + '\'')
|
||||||
queryCondition.push('common_server_port=' + valueGroup[1])
|
queryCondition.push('common_server_port=' + valueGroup[1])
|
||||||
}
|
}
|
||||||
console.log(queryCondition.join(' AND '))
|
// console.log(queryCondition.join(' AND '))
|
||||||
this.urlChangeParams[this.curTabState.queryCondition] = queryCondition.join(' AND ')
|
this.urlChangeParams[this.curTabState.queryCondition] = queryCondition.join(' AND ')
|
||||||
} else {
|
} else {
|
||||||
searchProps.forEach(item => {
|
searchProps.forEach(item => {
|
||||||
|
|||||||
@@ -152,7 +152,6 @@ export default {
|
|||||||
searcherApp: '',
|
searcherApp: '',
|
||||||
// 选中的app,不区分app和provider
|
// 选中的app,不区分app和provider
|
||||||
toSaveApp: [],
|
toSaveApp: [],
|
||||||
appShowType: 'bytes',
|
|
||||||
pageObj: { // 分页对象
|
pageObj: { // 分页对象
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 24,
|
pageSize: 24,
|
||||||
@@ -298,16 +297,6 @@ export default {
|
|||||||
this.toggleLoading(false)
|
this.toggleLoading(false)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
metricChange (value) {
|
|
||||||
if (value === 'Bits/s') {
|
|
||||||
this.appShowType = 'bytes'
|
|
||||||
} else if (value === 'Packets/s') {
|
|
||||||
this.appShowType = 'packets'
|
|
||||||
} else if (value === 'Sessions/s') {
|
|
||||||
this.appShowType = 'sessions'
|
|
||||||
}
|
|
||||||
this.init()
|
|
||||||
},
|
|
||||||
getUrlParam (param, defaultValue, isNumber) {
|
getUrlParam (param, defaultValue, isNumber) {
|
||||||
if (isNumber) {
|
if (isNumber) {
|
||||||
return this.$route.query[param] ? Number(this.$route.query[param]) : defaultValue
|
return this.$route.query[param] ? Number(this.$route.query[param]) : defaultValue
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
init () {
|
init () {
|
||||||
const params = {
|
const params = {
|
||||||
// startTime: true,
|
|
||||||
startTime: getSecond(this.timeFilter.startTime),
|
startTime: getSecond(this.timeFilter.startTime),
|
||||||
endTime: getSecond(this.timeFilter.endTime)
|
endTime: getSecond(this.timeFilter.endTime)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user