feat: Bot KPI管理体系 — bot_source字段 + 11个财务Bot KPI + Bot KPI看板
- 新增 bot_source 字段到 kpi_definitions 表(DB迁移 + 模型字段) - 创建 bot_kpis.py API(GET /api/cma/bot-kpis + POST .../value) - 种子脚本 seed_finance_bot_kpis.py 插入11个财务Bot KPI - BotKpiDashboard.vue 看板组件(三区:核心产出5/质量3/用户反馈3) - 路由 /bot-kpis + 侧边栏菜单入口 - 复用五档评分引擎
This commit is contained in:
@@ -279,4 +279,9 @@ export const ethicsQuizApi = {
|
||||
getQuestions: () => api.get('/knowledge/ethics-quiz'),
|
||||
}
|
||||
|
||||
export const botKpiApi = {
|
||||
list: (params?: any) => api.get('/bot-kpis', { params }),
|
||||
updateValue: (id: number, data: any) => api.post(`/bot-kpis/${id}/value`, data),
|
||||
}
|
||||
|
||||
export default api
|
||||
|
||||
Reference in New Issue
Block a user