diff --git a/vue/src/views/behavior-analysis/event.vue b/vue/src/views/behavior-analysis/event.vue index 137ebea..2893c9b 100644 --- a/vue/src/views/behavior-analysis/event.vue +++ b/vue/src/views/behavior-analysis/event.vue @@ -570,6 +570,10 @@ export default { this.currentReportTable.name = res.data.name this.currentReportTable.remark = res.data.remark this.form = JSON.parse(res.data.data) + this.form.date = [ + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'), + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD') + ] this.go() } }, diff --git a/vue/src/views/behavior-analysis/funnel.vue b/vue/src/views/behavior-analysis/funnel.vue index 9c2df1c..1ada47f 100644 --- a/vue/src/views/behavior-analysis/funnel.vue +++ b/vue/src/views/behavior-analysis/funnel.vue @@ -365,6 +365,10 @@ export default { this.currentReportTable.name = res.data.name this.currentReportTable.remark = res.data.remark this.form = JSON.parse(res.data.data) + this.form.date = [ + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'), + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD') + ] this.go() } }, diff --git a/vue/src/views/behavior-analysis/retention.vue b/vue/src/views/behavior-analysis/retention.vue index f348681..260ce4a 100644 --- a/vue/src/views/behavior-analysis/retention.vue +++ b/vue/src/views/behavior-analysis/retention.vue @@ -354,6 +354,10 @@ export default { this.currentReportTable.name = res.data.name this.currentReportTable.remark = res.data.remark this.form = JSON.parse(res.data.data) + this.form.date = [ + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'), + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD') + ] this.go() } }, diff --git a/vue/src/views/behavior-analysis/trace.vue b/vue/src/views/behavior-analysis/trace.vue index ccc9e22..68190ad 100644 --- a/vue/src/views/behavior-analysis/trace.vue +++ b/vue/src/views/behavior-analysis/trace.vue @@ -230,7 +230,7 @@ export default { }, data() { return { - eventNameSelectShow:true, + eventNameSelectShow: true, eventOptions: [], traceTableRes: [], traceChartsRes: [], @@ -340,13 +340,16 @@ export default { this.currentReportTable.name = res.data.name this.currentReportTable.remark = res.data.remark this.form = JSON.parse(res.data.data) + this.form.date = [ + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD'), + moment().startOf('day').subtract(1, 'days').format('YYYY-MM-DD') + ] this.eventNameSelectShow = false this.$nextTick(() => { this.eventNameSelectShow = true }) this.go() - } },