From 8b0890f69fcd2ced31a647d3172a2d57d565a714 Mon Sep 17 00:00:00 2001 From: nicky Date: Sun, 2 Mar 2025 21:17:42 +0800 Subject: [PATCH] 20250302 --- src/views/statistics/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/statistics/index.vue b/src/views/statistics/index.vue index d5e401b..05caa38 100644 --- a/src/views/statistics/index.vue +++ b/src/views/statistics/index.vue @@ -157,7 +157,7 @@ queryXgzlLv, } from 'api'; import * as echarts from 'echarts' - import * as dayjs from 'dayjs' + import dayjs from 'dayjs' export default { name: 'Statistics', data() { @@ -166,29 +166,30 @@ "timeType": "1", //统计方式 0:周 1:月 2:季 3:年 "startTime": "2024-10-01 00:00:00", //开始时间 "endTime": "2025-01-01 00:00:00", //结束时间 - "Range": [] + "Range": null }, queryParams2: { "timeType": "1", //统计方式 0:周 1:月 2:季 3:年 "startTime": "", //开始时间 "endTime": "" ,//结束时间 - "Range": [], + "Range": null, }, queryParams3: { "timeType": "1", //统计方式 0:周 1:月 2:季 3:年 "startTime": "", //开始时间 "endTime": "", //结束时间 - "Range": [] + "Range": null }, queryParams4: { "timeType": "1", //统计方式 0:周 1:月 2:季 3:年 "startTime": "", //开始时间 "endTime": "", //结束时间 - "Range": [] + "Range": null } } }, mounted() { + console.log('dayjs', dayjs().format('YYYY-MM-DD HH:mm:ss')) const _this = this; setTimeout(() => { _this.$nextTick(() => {