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