Browse Source

fix task-instance & process-instance page date backfill bug (#6344)

2.0.7-release
Wangyizhi1 3 years ago committed by GitHub
parent
commit
5dcfad9849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/processInstance.vue
  2. 4
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/taskInstance.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/processInstance.vue

@ -109,6 +109,10 @@
// Routing parameter merging
if (!_.isEmpty(this.$route.query)) {
this.searchParams = _.assign(this.searchParams, this.$route.query)
if (this.searchParams.endDate && this.searchParams.startDate) {
this.dataTime[0] = this.searchParams.startDate
this.dataTime[1] = this.searchParams.endDate
}
}
},
mounted () {

4
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/taskInstance.vue

@ -113,6 +113,10 @@
// Routing parameter merging
if (!_.isEmpty(this.$route.query)) {
this.searchParams = _.assign(this.searchParams, this.$route.query)
if (this.searchParams.endDate && this.searchParams.startDate) {
this.dataTime[0] = this.searchParams.startDate
this.dataTime[1] = this.searchParams.endDate
}
}
},
mounted () {

Loading…
Cancel
Save