diff --git a/src/views/astatistics/components/Custom.vue b/src/views/astatistics/components/Custom.vue index 7cceb8f..6e38701 100644 --- a/src/views/astatistics/components/Custom.vue +++ b/src/views/astatistics/components/Custom.vue @@ -7,7 +7,7 @@
+ :placeholder="year" />
@@ -26,6 +26,7 @@ import { apistatisticscustoms } from '@/api/statistics' const year = ref('') const showChart = ref(true) +year.value = new Date().getFullYear() const customList = reactive([ { diff --git a/src/views/astatistics/components/ProjectPayment.vue b/src/views/astatistics/components/ProjectPayment.vue index 090a507..558fb7d 100644 --- a/src/views/astatistics/components/ProjectPayment.vue +++ b/src/views/astatistics/components/ProjectPayment.vue @@ -7,7 +7,7 @@
+ :placeholder="year" />
@@ -23,7 +23,7 @@ import * as echarts from 'echarts'; import { apistatisticsprojectRefund } from '@/api/statistics' -const year = ref('') +const year = ref(new Date().getFullYear()) const showChart = ref(true) const customList = reactive([ diff --git a/src/views/astatistics/components/ProjectWithdraw.vue b/src/views/astatistics/components/ProjectWithdraw.vue index d68b6ef..1b62725 100644 --- a/src/views/astatistics/components/ProjectWithdraw.vue +++ b/src/views/astatistics/components/ProjectWithdraw.vue @@ -7,7 +7,7 @@
+ :placeholder="year" />
@@ -22,7 +22,8 @@