fix(aihr): separate onboarding and candidate review states

This commit is contained in:
2026-07-15 02:39:29 +08:00
parent 21a13d806c
commit 40574c204d
13 changed files with 487 additions and 13 deletions
@@ -25,7 +25,7 @@
<text class="score-value">{{ latestRecord.score }} 分</text>
<text class="score-meta">AI 初评 · {{ latestRecord.result }}</text>
</view>
<text class="review-badge">{{ reviewStatusLabel }}</text>
<text class="review-badge">{{ interviewReviewLabel }}</text>
</view>
<text class="score-summary">{{ latestRecord.summary }}</text>
<text class="score-evidence">{{ questionRecords.length }} 道题 · 已保存真实回答</text>
@@ -45,8 +45,13 @@
</view>
<view class="review-status-card">
<text class="review-status-title">人工复核状态</text>
<text class="review-status-desc">{{ reviewStatusDescription }}</text>
<text class="review-status-title">面试人工复核</text>
<text class="review-status-desc">{{ interviewReviewDescription }}</text>
</view>
<view class="review-status-card material-review-card">
<text class="review-status-title">补充资料审核</text>
<text class="review-status-desc">{{ materialReviewDescription }}</text>
</view>
<button class="primary-button home-button" @click="goBack">返回候选人中心</button>
@@ -78,10 +83,16 @@ const message = ref('');
const latestRecord = computed(() => records.value[0] || null);
const latestMaterial = computed(() => materials.value[0] || null);
const questionRecords = computed(() => latestRecord.value?.questions || []);
const reviewStatusLabel = computed(() => latestMaterial.value?.status === '已通过' ? '人工复核完成' : '人工复核中');
const reviewStatusDescription = computed(() => latestMaterial.value?.status === '已通过'
? 'HR 已完成 AI 评分与补充资料复核,后续通知会同步更新。'
: 'HR 正在复核 AI 评分与补充资料,预计 1-2 个工作日更新。');
const interviewReviewLabel = computed(() => latestRecord.value?.reviewStatus === '已复核' ? '面试已复核' : '面试待复核');
const interviewReviewDescription = computed(() => latestRecord.value?.reviewStatus === '已复核'
? 'HR 已完成本次 AI 面试的人工复核,最终采用分已写入记录。'
: 'AI 初评仅作辅助参考,HR 尚未完成本次面试的人工复核。');
const materialReviewDescription = computed(() => {
if (!latestMaterial.value) return '暂无补充资料,完成上传后由 HR 进行审核。';
if (latestMaterial.value.status === '已通过') return 'HR 已通过最近一份补充资料审核。';
if (latestMaterial.value.status === '已驳回') return '最近一份补充资料未通过,请按审核意见重新提交。';
return '最近一份补充资料正在等待 HR 审核。';
});
const clearData = () => {
records.value = [];