From 343570d4bcd6b9a73c2bd6dda2ad83e320779dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Thu, 8 Jan 2026 16:03:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E9=A2=84=E7=AE=97?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E7=BB=84=E4=BB=B6=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=A2=84=E7=AE=97=E6=8F=8F=E8=BF=B0=E5=8A=9F=E8=83=BD=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=8A=B6=E6=80=81=E6=A0=87=E7=AD=BE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/components/Budget/BudgetCard.vue | 126 +++++++++++++++++++++-- Web/src/views/BudgetView.vue | 11 -- WebApi/Controllers/BudgetController.cs | 89 +++++++++++++--- WebApi/Controllers/Dto/BudgetDto.cs | 17 ++- 4 files changed, 205 insertions(+), 38 deletions(-) diff --git a/Web/src/components/Budget/BudgetCard.vue b/Web/src/components/Budget/BudgetCard.vue index 2c61669..28faa58 100644 --- a/Web/src/components/Budget/BudgetCard.vue +++ b/Web/src/components/Budget/BudgetCard.vue @@ -7,13 +7,29 @@

{{ budget.name }}

- 已停止 - {{ statusTagText }} + + {{ budget.type === BudgetPeriodType.Year ? '年度预算' : '月度预算' }} +
+ {{ timePercentage }}%
+ + +
+
+
+