fix: 恢复5个被CI覆盖的前端文件+成本数据+预警定时器

- 从.bak恢复: BudgetManagement(72%代码丢失)/KPIList/DeviationDashboard/MapReview/NodeEditDialog
- 注册4个缺失后端API模块到main.py
- 新增3个前端路由(管理报表/战略执行看板/杜邦分析)
- 修复改善行动路由指向ActionPlanLibrary(原指向AlertList)
- deploy.sh增加git pull步骤
- 运行成本种子数据: 29标准成本+31实际成本+10ABC+25分配
- 补充非财务KPI预算: 72条(客户/流程/学习维度)
- 配置预警cron: 每30分钟自动检查
This commit is contained in:
Hermes CI Fix
2026-07-13 09:52:06 +08:00
parent b26046349c
commit 957dacd248
9 changed files with 994 additions and 507 deletions
+9 -1
View File
@@ -4,6 +4,7 @@
<div class="review-header">
<div class="header-left">
<el-button text @click="$router.push('/maps')"> 返回战略地图</el-button>
<el-button text type="primary" @click="goCanvas" v-if="selectedMap">🗺 打开画布</el-button>
<h3>{{ mapTitle }} · 战略回顾</h3>
</div>
<div class="header-right">
@@ -155,11 +156,12 @@
<script setup lang="ts">
import { ref, reactive, onMounted } from "vue"
import { useRoute } from "vue-router"
import { useRoute, useRouter } from "vue-router"
import { ElMessage } from "element-plus"
import api from "../api/index"
const route = useRoute()
const $router = useRouter()
// ── 状态 ──
const maps = ref<any[]>([])
@@ -266,6 +268,12 @@ function dueText(p: any) {
return `剩余${diff}`
}
function goCanvas() {
if (selectedMap.value) {
$router.push('/maps/canvas/' + selectedMap.value)
}
}
onMounted(async () => {
const r: any = await api.get('/maps')
maps.value = r.data || []