2 Commits 3e4a7cc12f ... 26b1976847

Author SHA1 Message Date
  wlf 26b1976847 Merge branch 'dev' of ssh://git.cestong.com.cn:8162/cecf/observe-front into dev 8 months ago
  wlf 857e91789a latency页面 ,点击左侧菜单时不调接口 8 months ago
1 changed files with 6 additions and 7 deletions
  1. 6 7
      src/views/latency/index.vue

+ 6 - 7
src/views/latency/index.vue

@@ -847,8 +847,8 @@ export default {
       // 总条数
       total: 0,
       queryTrace:{
-          start_time:1694448000,
-          end_time:1694505357,
+          start_time:0,
+          end_time:0,
           min_duration:0,   // 单位 ms
           max_duration:0,
           pageIndex:1,
@@ -909,7 +909,6 @@ export default {
   },
   created(){ 
     this.$store.commit('time/setTimeFlag',false)
-    console.log(this.apis)
     //  this.appItem=storage.get('appsItem');
     //   if(JSON.stringify(this.appItem) !="{}"){
     //     this.queryTrace.start_time = this.appItem.start_time;
@@ -920,7 +919,7 @@ export default {
     if(this.$route.query.id != undefined){
       this.queryTrace.trace_id = this.$route.query.id;
       this.tractID = this.$route.query.id;
-      // this.getTraceList();
+      this.getTraceList();
     }
 
     if(this.$route.query.span_id != undefined){
@@ -929,7 +928,7 @@ export default {
     if(this.$route.query.datetime != undefined){
       this.queryTrace.start_time = this.$route.query.datetime;
       this.queryTrace.end_time = this.$route.query.datetime;
-      // this.getTraceList();
+      this.getTraceList();
     }
 
     let traceId='';
@@ -939,7 +938,7 @@ export default {
       this.queryTrace.trace_id = param.traceId;
       this.queryTrace.app_alias=String(param.app_alias);
       this.tractID = param.traceId;
-      // this.getTraceList();
+      this.getTraceList();
     }
     if(param.span_id!=undefined){
       this.spanID = param.span_id
@@ -969,7 +968,7 @@ export default {
     this.columnChange();
   },
   mounted(){
-    this.getTraceList();
+    // this.getTraceList();
     if(this.isCollapse == true){
       this.left = '84px'
     }else{