Browse Source

fix(时间切换 动态拓扑)

liujing 8 months ago
parent
commit
30a81f3fed
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/business-analysis/topology/index.vue

+ 5 - 5
src/views/business-analysis/topology/index.vue

@@ -328,7 +328,7 @@ export default {
           this.getAppsScore() // 应用黄金指标(RED)
           this.getdbslowtop() // 慢查询TOP5
           this.getServiceBar() // 服务性能
-          
+
           this.getslowTopUrlMapping() // 慢接口TOP5
           this.getSlowInterfaceFn()// 慢业务TOP5
         }
@@ -343,12 +343,12 @@ export default {
           }
 
           this.topoUrl = ''
-          // this.changeQuery('/business-analysis/topology/index', newValue.startTime, newValue.endTime, live)
+          this.changeQuery('/business-analysis/topology/index', newValue.startTime, newValue.endTime, live)
           this.topoUrl = '/ui/index.html'
         } else {
           live = false
           this.topoUrl = ''
-          // this.changeQuery('/business-analysis/topology/index', newValue.startTime, newValue.endTime, live)
+          this.changeQuery('/business-analysis/topology/index', newValue.startTime, newValue.endTime, live)
           this.topoUrl = '/ui/index.html'
         }
       },
@@ -427,7 +427,7 @@ export default {
       this.slowTopQuery.app_id = this.appItem.id
       this.slowTopQuery.start_time = start_time
       this.slowTopQuery.end_time = end_time
-     
+
       this.getslowTopUrlMapping() // 慢接口TOP5
       this.dbslowtopQuery.app_alias = this.appItem.alias
       this.dbslowtopQuery.start_time = start_time
@@ -435,7 +435,7 @@ export default {
 
       this.getAppsScore() // 应用黄金指标(RED)
       this.getdbslowtop() // 慢查询TOP5
-      // this.changeQuery('/business-analysis/topology/index', this.appItem.start_time, this.appItem.end_time, this.appItem.live)
+      this.changeQuery('/business-analysis/topology/index', this.appItem.start_time, this.appItem.end_time, this.appItem.live)
       this.getSlowInterfaceFn() // 慢业务TOP5
     }
     if (this.$route.query.id != undefined) {