feat: 更新岗位面试状态数据源

- 导入岗位面试状态.json文件数据
- 创建transformInterviewStatus函数转换面试状态数据
- 从企业内推岗位库中移除已有面试状态的岗位(避免重复显示)
- 更新服务层使用新的interviewStatus数据源
- 面试状态板块现在显示真实的面试进度数据

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
KQL
2025-09-08 05:12:37 +08:00
parent b907586435
commit 19e1143fe2
4 changed files with 211 additions and 3 deletions

View File

@@ -13,9 +13,9 @@ export async function getCompanyJobsPageData(params) {
total: mockData.companyJobs.companyPositions?.length || 0
},
interviews: {
list: mockData.companyJobs.internalPositions || [],
list: mockData.companyJobs.interviewStatus || [],
hasMore: false,
total: mockData.companyJobs.internalPositions?.length || 0
total: mockData.companyJobs.interviewStatus?.length || 0
}
}
});
@@ -62,7 +62,7 @@ export async function getJobsDetail(id) {
// 获取企业内推岗位面试
export async function getInterviewsList(params) {
// 使用mock数据
const allInterviews = mockData.companyJobs.internalPositions || [];
const allInterviews = mockData.companyJobs.interviewStatus || [];
const page = params.page || 1;
const pageSize = params.pageSize || 10;
const startIndex = (page - 1) * pageSize;