主要内容: - 包含12个产业的完整教务系统前端代码 - 智能启动脚本 (start-industry.sh) - 可视化产业导航页面 (index.html) - 项目文档 (README.md) 优化内容: - 删除所有node_modules和.yoyo文件夹,从7.5GB减少到2.7GB - 添加.gitignore文件避免上传不必要的文件 - 自动依赖管理和智能启动系统 产业列表: 1. 文旅产业 (5150) 2. 智能制造 (5151) 3. 智能开发 (5152) 4. 财经商贸 (5153) 5. 视觉设计 (5154) 6. 交通物流 (5155) 7. 大健康 (5156) 8. 土木水利 (5157) 9. 食品产业 (5158) 10. 化工产业 (5159) 11. 能源产业 (5160) 12. 环保产业 (5161) 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
50 lines
1.7 KiB
JavaScript
50 lines
1.7 KiB
JavaScript
import fs from 'fs';
|
||
import path from 'path';
|
||
import { fileURLToPath } from 'url';
|
||
|
||
const __filename = fileURLToPath(import.meta.url);
|
||
const __dirname = path.dirname(__filename);
|
||
|
||
// 读取日历数据
|
||
const calendarPath = path.join(__dirname, 'src/data/intelligentManufacturingCalendar.json');
|
||
const calendarData = JSON.parse(fs.readFileSync(calendarPath, 'utf-8'));
|
||
|
||
// 统计企业高管公开课
|
||
console.log('企业高管公开课的导师分配情况:');
|
||
const executiveCourses = {};
|
||
calendarData.forEach(event => {
|
||
if (event['企业高管公开课'] && event['企业高管公开课'].trim()) {
|
||
const courseName = event['企业高管公开课'];
|
||
const teacherName = event['导师姓名查询'] || '未分配';
|
||
if (!executiveCourses[courseName]) {
|
||
executiveCourses[courseName] = teacherName;
|
||
}
|
||
}
|
||
});
|
||
|
||
Object.entries(executiveCourses).forEach(([course, teacher]) => {
|
||
console.log(` ${course}: ${teacher}`);
|
||
});
|
||
|
||
// 统计营销能力课
|
||
console.log('\n营销能力课的导师分配情况:');
|
||
const marketingCourses = {};
|
||
calendarData.forEach(event => {
|
||
if (event['公共课'] && event['课程阶段(公共课)'] === '营销能力课') {
|
||
const courseName = event['公共课'];
|
||
const teacherName = event['导师姓名查询'] || '未分配';
|
||
if (!marketingCourses[courseName]) {
|
||
marketingCourses[courseName] = teacherName;
|
||
}
|
||
}
|
||
});
|
||
|
||
Object.entries(marketingCourses).forEach(([course, teacher]) => {
|
||
console.log(` ${course}: ${teacher}`);
|
||
});
|
||
|
||
// 检查mockData.js中的教师数据
|
||
console.log('\n\nmockData.js应该包含以下导师:');
|
||
console.log('- 周伏波 (公共课导师)');
|
||
console.log('- 孙应战 (营销课导师)');
|
||
console.log('- 何晓凯 (有营销经验,可作为备用营销课导师)'); |