feat: 更新简历详情页面教育经历为苏州信息职业技术学院
- 统一所有岗位简历的教育经历显示为苏州信息职业技术学院 - 更新简历详情页面组件,确保教育经历信息一致性 - 优化简历信息展示格式和样式 - 添加新的面试题库和项目库数据 - 完善文旅产业相关简历模板
This commit is contained in:
@@ -10,6 +10,7 @@ import TagMiddle from "@/assets/images/ResumeInterviewPage/Tag2.png";
|
||||
import TagOrdinary from "@/assets/images/ResumeInterviewPage/Tag3.png";
|
||||
import QuestionIcon from "@/assets/images/ResumeInterviewPage/question_icon2.png";
|
||||
|
||||
|
||||
import "./index.css";
|
||||
|
||||
const ResumeInterviewPage = () => {
|
||||
@@ -25,6 +26,23 @@ const ResumeInterviewPage = () => {
|
||||
const sectionsRef = useRef({});
|
||||
const navRef = useRef(null);
|
||||
|
||||
// 有真实修改版的岗位列表(来自修改后简历文件夹)
|
||||
const hasRealModifiedVersion = (positionTitle) => {
|
||||
const modifiedPositions = [
|
||||
"会展策划师",
|
||||
"会展讲解员",
|
||||
"活动执行",
|
||||
"活动策划师",
|
||||
"漫展策划师",
|
||||
"会展执行助理",
|
||||
"旅游规划师",
|
||||
"旅游计调专员",
|
||||
"景区运营专员",
|
||||
"文旅运营总监助理"
|
||||
];
|
||||
return modifiedPositions.includes(positionTitle);
|
||||
};
|
||||
|
||||
// 获取岗位头像和级别信息
|
||||
const getPositionInfo = (positionTitle) => {
|
||||
const jobData = jobLevelData.data;
|
||||
@@ -94,10 +112,14 @@ const ResumeInterviewPage = () => {
|
||||
templates.find((t) => t.level === position.level) ||
|
||||
templates[0];
|
||||
|
||||
setResumeModalData({
|
||||
selectedTemplate,
|
||||
// 构造符合ResumeInfoModal期望的数据格式
|
||||
const resumeData = {
|
||||
title: position.title,
|
||||
content: selectedTemplate?.content || selectedTemplate?.oldContent || null,
|
||||
studentResume: pageData.myResume,
|
||||
});
|
||||
};
|
||||
|
||||
setResumeModalData(resumeData);
|
||||
setResumeModalVisible(true);
|
||||
};
|
||||
|
||||
@@ -287,7 +309,7 @@ const ResumeInterviewPage = () => {
|
||||
const positionInfo = getPositionInfo(position.title);
|
||||
return (
|
||||
<li
|
||||
className="job-item job-item-change"
|
||||
className={`job-item ${hasRealModifiedVersion(position.title) ? 'job-item-change' : ''}`}
|
||||
key={position.id}
|
||||
onClick={() => handlePositionClick(position, item)}
|
||||
>
|
||||
@@ -308,6 +330,7 @@ const ResumeInterviewPage = () => {
|
||||
alt={positionInfo.levelName}
|
||||
className="job-level-tag"
|
||||
/>
|
||||
|
||||
<div className="job-name">
|
||||
<p>{position.title}</p>
|
||||
<span className="job-arrow">›</span>
|
||||
|
||||
Reference in New Issue
Block a user