|
@@ -1136,6 +1136,12 @@ export default {
|
|
|
this.queryTrace.pageIndex = 1
|
|
|
// this.queryParams.pageIndex = 1
|
|
|
// this.getSingleTrace()
|
|
|
+ if (this.queryTrace.start_time == undefined || this.queryTrace.start_time == null || isNaN(this.queryTrace.start_time)) {
|
|
|
+ this.queryTrace.start_time = this.$store.state.time.globalTimes.startTime
|
|
|
+ }
|
|
|
+ if (this.queryTrace.end_time == undefined || this.queryTrace.end_time == null || isNaN(this.queryTrace.end_time)) {
|
|
|
+ this.queryTrace.end_time = this.$store.state.time.globalTimes.endTime
|
|
|
+ }
|
|
|
this.getTraceList()
|
|
|
},
|
|
|
// 控制列的显示和隐藏
|
|
@@ -1292,6 +1298,12 @@ export default {
|
|
|
if (this.queryTrace.app_alias === '') {
|
|
|
this.queryTrace.app_alias = storage.get('appsItem').alias
|
|
|
}
|
|
|
+ if (this.queryTrace.start_time == undefined || this.queryTrace.start_time == null || isNaN(this.queryTrace.start_time)) {
|
|
|
+ this.queryTrace.start_time = this.$store.state.time.globalTimes.startTime
|
|
|
+ }
|
|
|
+ if (this.queryTrace.end_time == undefined || this.queryTrace.end_time == null || isNaN(this.queryTrace.end_time)) {
|
|
|
+ this.queryTrace.end_time = this.$store.state.time.globalTimes.endTime
|
|
|
+ }
|
|
|
this.getTraceList()
|
|
|
}
|
|
|
}
|