From 1a278a8a147770af4db44dcb7123167be1901c92 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Fri, 26 Jan 2024 09:10:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/astatistics/components/Custom.vue | 3 ++-
src/views/astatistics/components/ProjectPayment.vue | 4 ++--
src/views/astatistics/components/ProjectWithdraw.vue | 5 +++--
src/views/astatistics/components/PurchaseContracts.vue | 4 ++--
src/views/astatistics/components/Subcontract.vue | 5 +++--
src/views/astatistics/components/projectContracts.vue | 5 +++--
6 files changed, 15 insertions(+), 11 deletions(-)
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 @@