Files
ALL-teach_sys/frontend_视觉设计/src/mocks/projectLibraryMock.js.backup_syntax_fix
KQL cd2e307402 初始化12个产业教务系统项目
主要内容:
- 包含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>
2025-09-24 14:14:14 +08:00

766 lines
30 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 项目库Mock数据
// 完整项目列表数据 - 共享给所有函数使用
const projects = [
{
"id": 1,
"name": "某市\"四美\"个人宣传片项目",
"description": "独立摄影与影视片创作",
"positions": ["影视灯光", "导演", "摄影摄像助理", "文案策划"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "宣传片制作"
},
{
"id": 2,
"name": "小睡眠健康管理APP UI 设计项目",
"description": "商业平面设计与三维建模",
"positions": ["UI设计师"],
"unit": "Photoshop软件详解",
"direction": "商业平面设计与三维建模",
"category": "UI设计"
,
"attachments": [
{
"name": "小睡眠02.psd",
"type": "design",
"url": "/attachments/小睡眠02.psd",
"size": "15MB"
},
{
"name": "小睡眠04.psd",
"type": "design",
"url": "/attachments/小睡眠04.psd",
"size": "6MB"
},
{
"name": "小睡眠03.psd",
"type": "design",
"url": "/attachments/小睡眠03.psd",
"size": "12MB"
},
{
"name": "小睡眠01.psd",
"type": "design",
"url": "/attachments/小睡眠01.psd",
"size": "28MB"
},
{
"name": "小睡眠01.jpg",
"type": "image",
"url": "/attachments/小睡眠01.jpg",
"size": "1363KB"
},
{
"name": "小睡眠04.jpg",
"type": "image",
"url": "/attachments/小睡眠04.jpg",
"size": "1666KB"
},
{
"name": "小睡眠03.jpg",
"type": "image",
"url": "/attachments/小睡眠03.jpg",
"size": "830KB"
},
{
"name": "小睡眠02.jpg",
"type": "image",
"url": "/attachments/小睡眠02.jpg",
"size": "297KB"
}
]
},
{
"id": 3,
"name": "寻乌县卢屋村赣南脐橙包装设计项目",
"description": "商业平面设计与三维建模",
"positions": ["包装设计师助理", "包装设计师"],
"unit": "Photoshop软件详解",
"direction": "商业平面设计与三维建模",
"category": "包装设计"
,
"attachments": [
{
"name": "A3包装文创2.psd",
"type": "design",
"url": "/attachments/A3包装文创2.psd",
"size": "20MB"
},
{
"name": "A3包装文创.psd",
"type": "design",
"url": "/attachments/A3包装文创.psd",
"size": "27MB"
},
{
"name": "A3包装文创.jpg",
"type": "image",
"url": "/attachments/A3包装文创.jpg",
"size": "1003KB"
},
{
"name": "A3包装文创2.jpg",
"type": "image",
"url": "/attachments/A3包装文创2.jpg",
"size": "993KB"
}
]
},
{
"id": 4,
"name": "原创IP角色「艾尔」插画与角色设定开发项目",
"description": "商业平面设计与三维建模",
"positions": ["插画师", "AI绘画师"],
"unit": "AIGC创作",
"direction": "商业平面设计与三维建模",
"category": "插画设计"
,
"attachments": [
{
"name": "mate_wm-741536892521320448-20160611_154546-img4.jpg",
"type": "image",
"url": "/attachments/mate_wm-741536892521320448-20160611_154546-img4.jpg",
"size": "1824KB"
},
{
"name": "mate_wm-743661626927112192-20160617_122843-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-743661626927112192-20160617_122843-img1.jpg",
"size": "799KB"
},
{
"name": "mate_wm-962955159503454208-20180212_154255-img3.jpg",
"type": "image",
"url": "/attachments/mate_wm-962955159503454208-20180212_154255-img3.jpg",
"size": "1450KB"
},
{
"name": "mate_wm-962955159503454208-20180212_154255-img2.jpg",
"type": "image",
"url": "/attachments/mate_wm-962955159503454208-20180212_154255-img2.jpg",
"size": "215KB"
},
{
"name": "mate_wm-708580110610239488-20160312_170717-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-708580110610239488-20160312_170717-img1.jpg",
"size": "252KB"
},
{
"name": "mate_wm-756443288601669632-20160722_185828-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-756443288601669632-20160722_185828-img1.jpg",
"size": "238KB"
},
{
"name": "mate_wm-756295311211900928-20160722_091028-img2.jpg",
"type": "image",
"url": "/attachments/mate_wm-756295311211900928-20160722_091028-img2.jpg",
"size": "1912KB"
},
{
"name": "mate_wm-756294994789408769-20160722_090912-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-756294994789408769-20160722_090912-img1.jpg",
"size": "250KB"
},
{
"name": "mate_wm-756295311211900928-20160722_091028-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-756295311211900928-20160722_091028-img1.jpg",
"size": "986KB"
},
{
"name": "mate_wm-732866339149225984-20160518_173205-img1.jpg",
"type": "image",
"url": "/attachments/mate_wm-732866339149225984-20160518_173205-img1.jpg",
"size": "1142KB"
},
{
"name": "mate_wm-708580110610239488-20160312_170717-img2.jpg",
"type": "image",
"url": "/attachments/mate_wm-708580110610239488-20160312_170717-img2.jpg",
"size": "1348KB"
},
{
"name": "mate_wm-732866339149225984-20160518_173205-img2.jpg",
"type": "image",
"url": "/attachments/mate_wm-732866339149225984-20160518_173205-img2.jpg",
"size": "1069KB"
}
]
},
{
"id": 5,
"name": "防范非法集资保险MG动画制作项目",
"description": "独立摄影与影视片创作",
"positions": ["角色原画师", "动画师", "分镜设计师", "CG总监助理"],
"unit": "设计基础理论",
"direction": "独立摄影与影视片创作",
"category": "动画制作"
,
"attachments": [
{
"name": "Sandbox.zip",
"type": "archive",
"url": "/attachments/Sandbox.zip",
"size": "9MB"
},
{
"name": "16273.wav",
"type": "audio",
"url": "/attachments/16273.wav",
"size": "7MB"
},
{
"name": "3.png",
"type": "image",
"url": "/attachments/3.png",
"size": "1465KB"
},
{
"name": "2.png",
"type": "image",
"url": "/attachments/2.png",
"size": "1647KB"
},
{
"name": "1.png",
"type": "image",
"url": "/attachments/1.png",
"size": "789KB"
},
{
"name": "5.png",
"type": "image",
"url": "/attachments/5.png",
"size": "1612KB"
},
{
"name": "4.png",
"type": "image",
"url": "/attachments/4.png",
"size": "510KB"
},
{
"name": "非法集资保险MG.aep",
"type": "design",
"url": "/attachments/非法集资保险MG.aep",
"size": "11MB"
},
{
"name": "非法集资保险MG 副本 CC (16.x).aep",
"type": "design",
"url": "/attachments/非法集资保险MG 副本 CC (16.x).aep",
"size": "5MB"
},
{
"name": "非法集资保险MG报告.txt",
"type": "document",
"url": "/attachments/非法集资保险MG报告.txt",
"size": "1098KB"
},
{
"name": "防范非法集资保险MG.00_00_49_24.Still001.jpg",
"type": "image",
"url": "/attachments/防范非法集资保险MG.00_00_49_24.Still001.jpg",
"size": "304KB"
}
]
},
{
"id": 6,
"name": "恒创广告品牌视觉识别VI系统建设项目",
"description": "商业平面设计与三维建模",
"positions": ["品牌视觉传播策划管培生", "LOGO设计师", "品牌视觉内容策划"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "品牌设计"
,
"attachments": [
{
"name": "恒创广告-标志基本要素系统规范.png",
"type": "image",
"url": "/attachments/恒创广告-标志基本要素系统规范.png",
"size": "778KB"
},
{
"name": "恒创广告-应用规范.png",
"type": "image",
"url": "/attachments/恒创广告-应用规范.png",
"size": "410KB"
},
{
"name": "恒创广告-色彩.png",
"type": "image",
"url": "/attachments/恒创广告-色彩.png",
"size": "1357KB"
},
{
"name": "恒创广告-Logo.png",
"type": "image",
"url": "/attachments/恒创广告-Logo.png",
"size": "476KB"
},
{
"name": "恒创广告-VI设计-52页.psd",
"type": "design",
"url": "/attachments/恒创广告-VI设计-52页.psd",
"size": "28MB"
},
{
"name": "恒创广告-VI设计.png",
"type": "image",
"url": "/attachments/恒创广告-VI设计.png",
"size": "931KB"
}
]
},
{
"id": 7,
"name": "\"健康食刻\"平面视觉体系与品牌物料设计项目",
"description": "商业平面设计与三维建模",
"positions": ["AIGC设计师", "平面设计师", "美术总监助理"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "品牌设计"
},
{
"id": 8,
"name": "变频器盒三维设计与可视化展示",
"description": "商业平面设计与三维建模",
"positions": ["3D建模师", "材质灯光师", "渲染合成师"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "三维设计"
,
"attachments": [
{
"name": "变频器盒三维设计与可视化展示.zip",
"type": "archive",
"url": "/attachments/变频器盒三维设计与可视化展示.zip",
"size": "8MB"
},
{
"name": "8febb16e-f634-4369-837e-00303d302937.jpeg",
"type": "image",
"url": "/attachments/8febb16e-f634-4369-837e-00303d302937.jpeg",
"size": "578KB"
}
]
},
{
"id": 9,
"name": "虚幻引擎5《罗马—雅典遗迹神庙废墟》游戏场景设计",
"description": "商业平面设计与三维建模",
"positions": ["游戏场景地编", "游戏场景生态设计师助理"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "游戏设计"
,
"attachments": [
{
"name": "41d5fab5-fdbd-4cd3-b900-136ce566e312.jpeg",
"type": "image",
"url": "/attachments/41d5fab5-fdbd-4cd3-b900-136ce566e312.jpeg",
"size": "1595KB"
},
{
"name": "虚幻引擎5《罗马—雅典遗迹神庙废墟》游戏场景设计.rar",
"type": "archive",
"url": "/attachments/虚幻引擎5《罗马—雅典遗迹神庙废墟》游戏场景设计.rar",
"size": "19MB"
}
]
},
{
"id": 10,
"name": "暗黑甜酷风「库巴公主」潮玩手办——设计全流程案例",
"description": "商业平面设计与三维建模",
"positions": ["潮玩设计师"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "产品设计"
,
"attachments": [
{
"name": "库巴公主_模型01.zip",
"type": "archive",
"url": "/attachments/库巴公主_模型01.zip",
"size": "5MB"
},
{
"name": "库巴公主_模型02.zip",
"type": "archive",
"url": "/attachments/库巴公主_模型02.zip",
"size": "6MB"
},
{
"name": "库巴公主_效果图.zip",
"type": "archive",
"url": "/attachments/库巴公主_效果图.zip",
"size": "17MB"
}
]
},
{
"id": 11,
"name": "大平层室内设计与软装一体化改造项目",
"description": "商业平面设计与三维建模",
"positions": ["室内设计师"],
"unit": "Photoshop软件详解",
"direction": "商业平面设计与三维建模",
"category": "室内设计"
,
"attachments": [
{
"name": "E方案.jpg",
"type": "image",
"url": "/attachments/E方案.jpg",
"size": "1332KB"
},
{
"name": "大平层室内设计与软装一体化改造项目.zip",
"type": "archive",
"url": "/attachments/大平层室内设计与软装一体化改造项目.zip",
"size": "7MB"
},
{
"name": "A方案.jpg",
"type": "image",
"url": "/attachments/A方案.jpg",
"size": "1292KB"
},
{
"name": "原始结构.jpg",
"type": "image",
"url": "/attachments/原始结构.jpg",
"size": "295KB"
}
]
},
{
"id": 12,
"name": "盐城市亭湖区见义勇为短片——《举火把的人》摄制项目",
"description": "独立摄影与影视片创作",
"positions": ["摄影摄像助理", "导演", "剪辑师"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "短片制作"
},
{
"id": 13,
"name": "遇见同里 悦见湿地氛围短视频摄制项目",
"description": "独立摄影与影视片创作",
"positions": ["摄影摄像助理", "剪辑师", "调色师"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "宣传视频"
,
"attachments": [
{
"name": "20230927_遇见同里 悦见湿地_第三版.m4v",
"type": "video",
"url": "/attachments/20230927_遇见同里 悦见湿地_第三版.m4v",
"size": "40MB"
},
{
"name": "20230928_遇见同里 悦见湿地_剪辑版.mov",
"type": "video",
"url": "/attachments/20230928_遇见同里 悦见湿地_剪辑版.mov",
"size": "34MB"
},
{
"name": "遇见同里分镜.docx",
"type": "word",
"url": "/attachments/遇见同里分镜.docx",
"size": "748KB"
},
{
"name": "遇见同里 悦见湿地——宣传片策划案0921.docx",
"type": "word",
"url": "/attachments/遇见同里 悦见湿地——宣传片策划案0921.docx",
"size": "1461KB"
},
{
"name": "4、“芙蕖间湿地 文旅空间”(运营方案).pdf",
"type": "pdf",
"url": "/attachments/4、“芙蕖间湿地 文旅空间”(运营方案).pdf",
"size": "2892KB"
},
{
"name": "拍摄计划:悦见湿地.docx",
"type": "word",
"url": "/attachments/拍摄计划:悦见湿地.docx",
"size": "698KB"
}
]
},
{
"id": 14,
"name": "东太湖博物馆开馆宣传片",
"description": "独立摄影与影视片创作",
"positions": ["摄影摄像助理", "导演", "后期特效师"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "宣传片制作"
,
"attachments": [
{
"name": "苏州湾博物馆《一湾倾城 回到太湖之上》1227.mov",
"type": "video",
"url": "/attachments/苏州湾博物馆《一湾倾城 回到太湖之上》1227.mov",
"size": "44MB"
},
{
"name": "苏州湾博物馆宣传片策划思路1022.doc",
"type": "word",
"url": "/attachments/苏州湾博物馆宣传片策划思路1022.doc",
"size": "120KB"
},
{
"name": "苏州湾博物馆分镜.docx",
"type": "word",
"url": "/attachments/苏州湾博物馆分镜.docx",
"size": "978KB"
},
{
"name": "苏州湾博物馆拍摄计划.docx",
"type": "word",
"url": "/attachments/苏州湾博物馆拍摄计划.docx",
"size": "343KB"
}
]
},
{
"id": 15,
"name": "Qsir谨防诈骗故事片摄制及动画制作项目",
"description": "独立摄影与影视片创作",
"positions": ["动画师", "剪辑师", "特效设计师"],
"unit": "设计基础理论",
"direction": "独立摄影与影视片创作",
"category": "动画制作"
,
"attachments": [
{
"name": "Q Sir第二季文稿.docx",
"type": "word",
"url": "/attachments/Q Sir第二季文稿.docx",
"size": "1440KB"
},
{
"name": "2022Qsir脚本.docx",
"type": "word",
"url": "/attachments/2022Qsir脚本.docx",
"size": "204KB"
},
{
"name": "汾湖Qsir第二季拍摄计划.docx",
"type": "word",
"url": "/attachments/汾湖Qsir第二季拍摄计划.docx",
"size": "1006KB"
},
{
"name": "Q sir防诈第二季分镜脚本.docx",
"type": "word",
"url": "/attachments/Q sir防诈第二季分镜脚本.docx",
"size": "1161KB"
}
]
},
{
"id": 16,
"name": "农业执法大队汇报片摄制项目",
"description": "独立摄影与影视片创作",
"positions": ["摄影摄像助理", "剪辑师", "调色师"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "宣传片制作"
,
"attachments": [
{
"name": "执法大队大楼拍摄计划.docx",
"type": "word",
"url": "/attachments/执法大队大楼拍摄计划.docx",
"size": "421KB"
},
{
"name": "锻造农业利剑 护航“江村”振兴1017(1)(2).docx",
"type": "word",
"url": "/attachments/锻造农业利剑 护航“江村”振兴1017(1)(2).docx",
"size": "1130KB"
},
{
"name": "执法大队乡村振兴.docx",
"type": "word",
"url": "/attachments/执法大队乡村振兴.docx",
"size": "391KB"
}
]
},
{
"id": 17,
"name": "某茶饮品牌秋季系列奶茶商业摄影项目",
"description": "独立摄影与影视片创作",
"positions": ["摄影摄像助理", "影视摄像", "影视灯光"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "商业摄影"
,
"attachments": [
{
"name": "茶饮品牌秋季系列奶茶商业摄影源文件",
"type": "document",
"url": "/attachments/茶饮品牌秋季系列奶茶商业摄影源文件",
"size": "958KB"
},
{
"name": "商业产品摄影策划书.docx",
"type": "word",
"url": "/attachments/商业产品摄影策划书.docx",
"size": "1160KB"
}
]
},
{
"id": 18,
"name": "某潮玩品牌盲盒新媒体运营项目",
"description": "商业平面设计与三维建模",
"positions": ["自媒体运营专员", "新媒体运营专员"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "新媒体运营"
,
"attachments": [
{
"name": "快消品新媒体运营方案.docx",
"type": "word",
"url": "/attachments/快消品新媒体运营方案.docx",
"size": "1464KB"
}
]
},
{
"id": 19,
"name": "太空探索主题小游戏新媒体运营方案",
"description": "商业平面设计与三维建模",
"positions": ["自媒体运营专员", "新媒体运营专员"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "新媒体运营"
,
"attachments": [
{
"name": "游戏新媒体运营方案.docx",
"type": "word",
"url": "/attachments/游戏新媒体运营方案.docx",
"size": "315KB"
}
]
},
{
"id": 20,
"name": "某美妆品牌超级品牌日电商直播项目",
"description": "商业平面设计与三维建模",
"positions": ["直播运营", "新媒体运营专员"],
"unit": "设计基础理论",
"direction": "商业平面设计与三维建模",
"category": "直播运营"
,
"attachments": [
{
"name": "美妆电商直播.docx",
"type": "word",
"url": "/attachments/美妆电商直播.docx",
"size": "664KB"
}
]
},
{
"id": 21,
"name": "信阳农林学院图书馆图片调色项目",
"description": "独立摄影与影视片创作",
"positions": ["调色师", "摄影摄像助理"],
"unit": "商业摄影基础",
"direction": "独立摄影与影视片创作",
"category": "后期调色"
,
"attachments": [
{
"name": "调色前-信阳农林学院图书馆图片.jpg",
"type": "image",
"url": "/attachments/调色前-信阳农林学院图书馆图片.jpg",
"size": "1513KB"
},
{
"name": "调色后-信阳农林学院图书馆图片.jpeg",
"type": "image",
"url": "/attachments/调色后-信阳农林学院图书馆图片.jpeg",
"size": "1575KB"
},
{
"name": "信阳农林学院图书馆图片调色.docx",
"type": "word",
"url": "/attachments/信阳农林学院图书馆图片调色.docx",
"size": "776KB"
}
]
}
];
// 搜索过滤
let filteredProjects = projects;
if (search) {
filteredProjects = projects.filter(project =>
project.name.includes(search) ||
project.description.includes(search) ||
project.positions.some(pos => pos.includes(search)) ||
project.category.includes(search)
);
}
// 分页
const start = (page - 1) * pageSize;
const end = start + pageSize;
const paginatedProjects = filteredProjects.slice(start, end);
return {
success: true,
data: paginatedProjects,
total: filteredProjects.length,
page,
pageSize
};
};
// 项目详情Mock数据 - 智能制造
// 项目详情Mock数据 - 智能制造
export const getMockProjectDetail = (id) => {
// 使用共享的项目数组
const project = projects.find(p => p.id === parseInt(id));
if (project) {
return {
success: true,
data: {
id: project.id,
title: project.name,
overview: project.overview || '暂无项目概述',
applicablePositions: project.positions || [],
units: [project.unit],
compoundUnits: project.compoundUnits || [],
verticalUnits: project.verticalUnits || [],
process: project.process || '项目流程详情暂未录入',
keyPoints: project.keyPoints || '关键技术点暂未录入',
// 附件板块
attachments: project.attachments || []
}
};
}
return {
success: false,
message: "项目不存在"
};
};