Files
online_sys/frontend_智能开发/verify_data.js
KQL a7242f0c69 Initial commit: 教务系统在线平台
- 包含4个产业方向的前端项目:智能开发、智能制造、大健康、财经商贸
- 已清理node_modules、.yoyo等大文件,项目大小从2.6GB优化至631MB
- 配置完善的.gitignore文件

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 18:16:55 +08:00

62 lines
1.9 KiB
JavaScript

#!/usr/bin/env node
import { resumeInterviewMockData } from './src/mocks/resumeInterviewMock.js';
const positionsToCheck = [
'民宿管家',
'民宿客房管家',
'民宿运营专员',
'露营地运营专员',
'新媒体运营专员',
'文创产品设计师',
'文创产品策划师',
'文创产品设计师助理',
'品牌策划运营专员',
'品牌公关',
'品牌推广专员',
'ip运营',
'IP运营总监助理',
'品牌公关管培生'
];
console.log('验证简历数据完整性...\n');
console.log('=' .repeat(60));
// 检查每个行业
for (const industry of resumeInterviewMockData.industries) {
const templates = resumeInterviewMockData.resumeTemplates[industry.name] || [];
for (const position of industry.positions) {
if (!positionsToCheck.includes(position.title)) continue;
// 查找对应的模板
const template = templates.find(t => t.position === position.title);
console.log(`\n岗位: ${position.title}`);
console.log(`行业: ${industry.name}`);
if (!template) {
console.log('❌ 未找到简历模板');
continue;
}
// 检查content
const hasContent = !!(template.content?.original || template.content?.modified);
console.log(`- content: ${hasContent ? '✅' : '❌'}`);
// 检查studentInfo
const hasStudentInfo = !!template.studentInfo;
console.log(`- studentInfo: ${hasStudentInfo ? '✅' : '❌'}`);
if (hasStudentInfo) {
const info = template.studentInfo;
console.log(` - project_experience: ${info.project_experience ? '✅' : '❌'}`);
console.log(` - core_skills: ${info.core_skills ? '✅' : '❌'}`);
console.log(` - compound_skills: ${info.compound_skills ? '✅' : '❌'}`);
console.log(` - personal_summary: ${info.personal_summary ? '✅' : '❌'}`);
}
}
}
console.log('\n' + '=' .repeat(60));
console.log('验证完成!');