feat(aihr): report org sync quality in precheck

This commit is contained in:
2026-07-09 21:54:12 +08:00
parent f38dfeeae0
commit 3b034f6903
6 changed files with 64 additions and 2 deletions
+2
View File
@@ -113,6 +113,8 @@ export type OrgSyncResponse = {
employeeCount: number;
syncedCount: number;
skippedCount: number;
phoneLinked: number;
suspectText: number;
warnings: string[];
};
@@ -153,6 +153,9 @@
<div>
<span>写入/跳过</span><strong>{{ syncResult.syncedCount }} / {{ syncResult.skippedCount }}</strong>
</div>
<div>
<span>手机号/疑似乱码</span><strong>{{ syncResult.phoneLinked }} / {{ syncResult.suspectText }}</strong>
</div>
<p v-if="syncResult.warnings?.length">{{ syncResult.warnings.join(';') }}</p>
<p v-else>同步接口已返回结果。</p>
</div>