2 次代碼提交 3e4a7cc12f ... 26b1976847

作者 SHA1 備註 提交日期
  wlf 26b1976847 Merge branch 'dev' of ssh://git.cestong.com.cn:8162/cecf/observe-front into dev 8 月之前
  wlf 857e91789a latency页面 ,点击左侧菜单时不调接口 8 月之前
共有 1 個文件被更改,包括 6 次插入7 次删除
  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{