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 }}