feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限

This commit is contained in:
Hermes CI Fix
2026-07-12 17:46:08 +08:00
parent cdf00efd69
commit ee25d5fa1d
8871 changed files with 1778433 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
<template>
<KPIListView
:dimension="'learning'"
:title="'学习成长维度KPI看板'"
:icon="'📚'"
:stat-labels="{ total: '学习指标总数', green: '达标', yellow: '预警', red: '未达标', noData: '无数据' }"
:templates="LEARNING_TEMPLATES"
:has-categories="true"
:categories="CAPITAL_CATEGORIES"
:name-placeholder="'关键岗位胜任度'"
:unit-options="['%', '', '小时', '', '']"
form-title-create="新建学习成长KPI"
form-title-edit="编辑学习成长KPI"
/>
</template>
<script setup lang="ts">
import KPIListView from '../components/KPIListView.vue'
// ── 9个预设指标模板 ──
const LEARNING_TEMPLATES = [
// 人力资本 (3)
{ category: '人力资本', name: '关键岗位胜任度', unit: '%', targetValue: 90 },
{ category: '人力资本', name: '培训完成率', unit: '%', targetValue: 100 },
{ category: '人力资本', name: '核心技能掌握度', unit: '%', targetValue: 85 },
// 信息资本 (3)
{ category: '信息资本', name: '系统覆盖率', unit: '%', targetValue: 95 },
{ category: '信息资本', name: '数据自动化率', unit: '%', targetValue: 80 },
{ category: '信息资本', name: '报表生成时间', unit: '小时', targetValue: 2 },
// 组织资本 (3)
{ category: '组织资本', name: '战略认知度', unit: '%', targetValue: 85 },
{ category: '组织资本', name: '员工满意度', unit: '%', targetValue: 80 },
{ category: '组织资本', name: '跨部门协作评分', unit: '分', targetValue: 4 },
]
// ── 资本类型分类配置 ──
const CAPITAL_CATEGORIES = [
{ key: '人力资本', label: '人力资本', icon: '🧑‍🎓', subtitle: '关键岗位胜任度 / 培训完成率 / 核心技能掌握度', color: '#409EFF' },
{ key: '信息资本', label: '信息资本', icon: '💻', subtitle: '系统覆盖率 / 数据自动化率 / 报表生成时间', color: '#67C23A' },
{ key: '组织资本', label: '组织资本', icon: '🏛️', subtitle: '战略认知度 / 员工满意度 / 跨部门协作评分', color: '#E6A23C' },
]
</script>