fix(aihr): clarify reference rating semantics

This commit is contained in:
2026-07-14 07:29:41 +08:00
parent 425d88c920
commit 9832caa437
5 changed files with 12 additions and 8 deletions
@@ -1481,7 +1481,7 @@ public class AihrPracticeSeedService {
List<PracticeAssignmentResponse> assignmentRows = assignments(party, 5);
List<String> evidenceItems = new ArrayList<>();
evidenceItems.add("累计完成 " + profile.completed() + " 次移动端AI陪练,训练时长约 " + profile.trainingMinutes() + " 分钟");
evidenceItems.add("AI测评分 " + profile.assessmentScore() + ",当前等级 " + profile.aiLevel());
evidenceItems.add("AI测评分 " + profile.assessmentScore() + ",训练画像参考等级 " + profile.aiLevel() + "(需人工复核)");
evidenceItems.add("训练贡献度 " + profile.contribution() + ",待主管复盘 " + profile.pendingReview() + " 条");
if (!latestRecords.isEmpty()) {
RecordResponse latest = latestRecords.get(0);
+1
View File
@@ -109,6 +109,7 @@
- 2026-07-14 BRD 公开导航回归:`GET /api/knowledge/position-sop` 明确是一期生活顾问学习导航摘要,不返回个人或项目私有数据;控制器补 `@SaIgnore` 后匿名请求返回 `200`,而同一控制器的 `POST /api/knowledge/search` 仍返回业务 `401`,保持“公开只读导航、登录后查询与反馈”的边界。同步完成跨租户异步上传成功路径回归:codex-a/codex-b 各上传独立文件并加工为 `status=2`,互查批次均为空;临时租户、用户、队列、知识库、OSS 与暂存文件已清理。
- 2026-07-14 BRD G3 仪表盘权限收口:`/api/aihr/dashboard/overview` 返回组织、训练、知识库、案例和候选资料统计,控制器新增显式 `@SaCheckLogin`;匿名请求业务返回 `401`,同时保留服务层按当前租户过滤。后续正式主管可见范围仍需组织快照和项目权限数据支撑。
- 2026-07-14 BRD G3 主管接口权限复核:移动端主管/团队/预警/派题/复盘接口对后台系统用户现在要求 `superadmin` 或 `hr_operator` 角色;APP 用户仍要求组织快照中的主管/项目经理身份。新增源码契约测试与 `demo-check` marker,避免普通后台账号越权读取团队训练数据或创建派题。
- 2026-07-14 BRD G1 评级语义复核:管理端、员工端和证据包文案已将“当前等级/AI等级”明确为“训练画像参考等级”,并标注需 HR/主管人工复核;AI 结果仍只作训练与晋升证据参考,不直接生成正式晋升结论。
- 2026-07-14 BRD G5 边界复核:BRD 将“情绪疏导树洞”列为生产前隐私闸门,但一期历史方案又明确标注为一期不做;当前代码没有树洞入口、独立数据隔离或“不留痕/不进训练集”证明。该项不能用陪练情绪识别、红线纠偏或满意度意见替代,后续需业务/法务/安全先确认是否纳入当前阶段,再决定设计与实现。
- 2026-07-14 只读发布前复核:生产根站点、`/h5/`、租户列表和员工首页 API 均返回 200;当前本地提交 `8105413d` 的管理端主资源 `index-BWnisJoz.js` 与后端 jar 尚未与生产资源/hash 对齐,H5 仍与生产 `index-D4-NrEpb.js` 一致。本轮未发布、未修改生产数据;后续若发布管理端 OCR 状态修正或后端批次,必须重新执行备份、资源 hash、服务状态和浏览器回归。
- 2026-07-14 线上资源复核更新:生产管理端仍加载 `index-CJZ3Ax3Z.js`(SHA-256 `8b9278a26ccb760abce489b12a20b221748c64d4c4153613d2511777bb9677bc`),当前本地管理端构建加载 `index-CIgkCgjC.js`(SHA-256 `f0e9bca71dc2ee484745f0d4058079c54f493cf0be51bfe279f1da64dd62dcfd`);两者不一致。生产主资源已包含既有“提示词模板”能力,但不能据此证明本地最新成长激励/资料处理修复已上线。
+4 -4
View File
@@ -29,9 +29,9 @@
<small>AI辅助参考,人可否决</small>
</article>
<article class="metric-card">
<span>当前等级</span>
<span>训练画像等级(参考)</span>
<strong>{{ evidence?.currentLevel || profile?.aiLevel || '-' }}</strong>
<small>初/中/高级生活顾问</small>
<small>需 HR/主管复核,不作为晋升结论</small>
</article>
<article class="metric-card">
<span>训练时长</span>
@@ -63,7 +63,7 @@
<article class="panel">
<div class="panel-title">
<h2>等级路径</h2>
<h2>成长参考路径</h2>
</div>
<div class="stage-list">
<div v-for="stage in profile?.growthPath || []" :key="stage.level" class="stage-item">
@@ -81,7 +81,7 @@
<section class="main-grid">
<article class="panel">
<div class="panel-title">
<h2>晋升证据包</h2>
<h2>晋升证据包(待复核)</h2>
</div>
<ul class="evidence-list">
<li v-for="item in evidence?.evidenceItems || []" :key="item">{{ item }}</li>
+3 -3
View File
@@ -60,7 +60,7 @@
</view>
<view class="metric">
<text>{{ profile.aiLevel || '未评级' }}</text>
<text>AI等级</text>
<text>训练画像等级</text>
</view>
</view>
</view>
@@ -91,11 +91,11 @@
</view>
<view v-if="evidence" class="panel evidence-panel">
<text class="panel-title">成长证据包</text>
<text class="panel-title">成长证据包(待人工复核)</text>
<view class="evidence-grid">
<view class="evidence-metric">
<text>{{ evidence.currentLevel }}</text>
<text>当前等级</text>
<text>参考等级</text>
</view>
<view class="evidence-metric">
<text>{{ evidence.assessmentScore }}</text>
+3
View File
@@ -369,6 +369,9 @@ contains frontend/src/views/system/model/index.vue "调用优先级"
contains frontend/src/views/system/model/index.vue "提示词模板"
contains frontend/src/views/system/prompts.vue "保存并启用"
contains frontend/src/views/competency/growth.vue "当前运营口径(只读)"
contains frontend/src/views/competency/growth.vue "训练画像等级(参考)"
contains mobile-uni/src/pages/user/profile/index.vue "成长证据包(待人工复核)"
contains backend/ruoyi-modules/ruoyi-aihr/src/main/java/org/dromara/aihr/service/AihrPracticeSeedService.java "训练画像参考等级"
contains frontend/src/router/index.ts "/system/prompts"
contains frontend/src/api/aihr/interview.ts "/api/recruit/interview/start"
contains frontend/src/api/aihr/interview.ts "/api/recruit/interview/candidate-links"