From 3b0a53393439aa75bc77aa7c63a4eae679d6db00 Mon Sep 17 00:00:00 2001 From: 18631081161 <2088094923@qq.com> Date: Thu, 22 Jan 2026 22:52:53 +0800 Subject: [PATCH] =?UTF-8?q?UI=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/layouts/MainLayout.vue | 9 +- src/frontend/src/views/Dashboard.vue | 438 +++++++++++++++--- src/frontend/src/views/Login.vue | 2 +- .../src/views/allocations/AllocationList.vue | 39 +- 4 files changed, 404 insertions(+), 84 deletions(-) diff --git a/src/frontend/src/layouts/MainLayout.vue b/src/frontend/src/layouts/MainLayout.vue index 607c428..fe210ad 100644 --- a/src/frontend/src/layouts/MainLayout.vue +++ b/src/frontend/src/layouts/MainLayout.vue @@ -25,9 +25,9 @@ - 弹种配额 + 训练消耗 - 配额列表 + 弹药指标 创建配额 删改申请 @@ -41,10 +41,11 @@ 添加人才 - + + diff --git a/src/frontend/src/views/Dashboard.vue b/src/frontend/src/views/Dashboard.vue index ad32615..73893de 100644 --- a/src/frontend/src/views/Dashboard.vue +++ b/src/frontend/src/views/Dashboard.vue @@ -1,54 +1,69 @@ - - - - - - - - 弹种配额 - - - {{ stats.allocations }} - 总配额条数 - + + + + + 欢迎回来,{{ authStore.user?.username }} + {{ currentDate }} · {{ levelName }} + + + + + + + + + + + + + + + + {{ stats.allocations }} + 弹种配额 + + + - - - - - - - 完成率 - - - {{ stats.completionRate }}% - 平均完成率 - + + + + + + + {{ stats.completionRate }}% + 平均完成率 + + + - - - - - - 人才管理 - - - {{ stats.personnel }} - 人员总数 - + + + + + + + {{ stats.personnel }} + 人才总数 + + + - + - + - - - 各团物资消耗情况 + + + + 各团物资消耗情况 + + 实时数据 @@ -57,11 +72,20 @@ :key="regiment.regimentId" class="pie-chart-item" > - + + + {{ regiment.regimentName }} - 配额: {{ regiment.totalQuota }} - 消耗: {{ regiment.totalConsumed }} + + 配额 + {{ regiment.totalQuota }} + + + + 消耗 + {{ regiment.totalConsumed }} + @@ -69,15 +93,58 @@ + + + + + + + + + + 快捷操作 + + + + + + + + + 弹药指标 + + + + + + 人才管理 + + + + + + 添加人才 + + + + + + 组织管理 + + + + +
{{ currentDate }} · {{ levelName }}