fix(aihr): remove fake case sample wording

This commit is contained in:
2026-07-09 22:48:19 +08:00
parent 0af0f1c896
commit 7267939f95
3 changed files with 13 additions and 14 deletions
@@ -61,7 +61,7 @@ public class AihrDashboardService {
return List.of(
new FeatureStatusResponse("interview", interview.total() > 0 ? "已有记录" : "可演示", "success", interview.total() + " 条面试结果"),
new FeatureStatusResponse("practice", practice.total() > 0 ? "已有记录" : "待跑通", practice.total() > 0 ? "success" : "warning", practice.total() + " 条训练记录"),
new FeatureStatusResponse("case", cases.stored() > 0 ? "已入库" : models.asrEnabled() ? "可试跑" : "样片兜底", cases.stored() > 0 ? "success" : "warning", cases.stored() + " 条案例入库"),
new FeatureStatusResponse("case", cases.stored() > 0 ? "已入库" : models.asrEnabled() ? "可试跑" : "待配置ASR", cases.stored() > 0 ? "success" : "warning", cases.stored() + " 条案例入库"),
new FeatureStatusResponse("sop", knowledge.fragments() > 0 ? "可检索" : "待入库", knowledge.fragments() > 0 ? "success" : "warning", knowledge.fragments() + " 个知识片段")
);
}
@@ -98,7 +98,7 @@ public class AihrDashboardService {
new PipelineStepResponse("ASR 转写", cases.transcribed() + " 条", state(cases.transcribed())),
new PipelineStepResponse("AI 整理", cases.organized() + " 条", state(cases.organized())),
new PipelineStepResponse("审核入库", cases.stored() + " 条", state(cases.stored())),
new PipelineStepResponse("样片展示", cases.stored() + " 条", state(cases.stored()))
new PipelineStepResponse("培训复用", cases.stored() + " 条", state(cases.stored()))
);
}