diff --git a/src/views/charts2/charts/NetworkOverviewApps.vue b/src/views/charts2/charts/NetworkOverviewApps.vue
index e89e72a7..1f976dd3 100644
--- a/src/views/charts2/charts/NetworkOverviewApps.vue
+++ b/src/views/charts2/charts/NetworkOverviewApps.vue
@@ -21,7 +21,7 @@
{{app.name}}
-
+
{{$t('overall.delete')}}
@@ -110,14 +110,14 @@ import { unitTypes } from '@/utils/constants'
import * as echarts from 'echarts'
import { appListChartOption } from '@/views/charts2/charts/options/echartOption'
import { shallowRef } from 'vue'
-import { put } from '@/utils/http'
+import { get, put } from '@/utils/http'
import { api } from '@/utils/api'
import _ from 'lodash'
-
export default {
name: 'NetworkOverviewApps',
props: {
- chart: Object
+ chart: Object,
+ timeFilter: Object
},
setup () {
return {
@@ -161,7 +161,16 @@ export default {
},
methods: {
unitConvert,
+ clickOutSide () {
+ this.appData.forEach(t => {
+ t.moreName = false
+ })
+ },
init () {
+ // const params = {
+ // startTime: this.timeFilter.startTime,
+ // endTime: this.timeFilter.endTime
+ // }
this.appData.forEach((app, i) => {
// 根据app.name和app.type查除接口,获取数据
app.value = this.appTempData[i].value
@@ -737,8 +746,6 @@ export default {
this.appData.forEach(t => {
if (t.name === app.name && t.type === app.type) {
t.moreName = !t.moreName
- } else {
- t.moreName = false
}
})
},