feat: OKR模板库P2治理 — owner字段/防重复/校准文档/缺口清单

- 模型+DB: okr_templates.owner (CMA标准库/行业包/用户自定义)
- API: create同名去重(409) + list/get返回owner + apply透传metric_kpi
- 前端: 模板卡片展示owner标签
- 文档: kpi-dictionary-gap-list.md(33条缺口+建议补KPI) + okr-template-calibration.md(酣客/博海校准表)
- 回归: 模板API验证通过
This commit is contained in:
Hermes CI Fix
2026-08-21 16:49:11 +08:00
parent 9ccdd0db63
commit 412a302699
5 changed files with 130 additions and 1 deletions
+1
View File
@@ -57,6 +57,7 @@
<div class="card-desc">{{ t.description }}</div>
<div class="card-footer">
<span class="use-count">已使用 {{ t.use_count || 0 }} </span>
<el-tag v-if="t.owner" size="small" type="info" effect="plain">{{ t.owner }}</el-tag>
<el-button size="small" type="primary" @click="applyTemplate(t)">应用</el-button>
</div>
</div>