-
-
-
-
内推岗位面试
-
+ ) : (
+ <>
+
- {interviews.map((item) => (
-
-
-
- {item.position}
-
- {item.job?.tags?.length > 0 ? (
-
- {item.job.tags.map((tag) => (
- -
- {tag}
-
- ))}
-
- ) : null}
-
- {item.job?.salary || "面议"}
-
-
-
-
{item.interviewTime}
-
企业内推岗位库
+
+
+
+
+
+
+
内推岗位面试
+
+ {interviews.map((item) => (
+
- {item.statusText}
-
-
-
- ))}
-
-
-
-
-
setIsExpand(!isExpand)}
- >
- 岗位陪跑流程
-
-
-
-
内推岗位简历投递
+
+
+ {item.position}
+
+ {item.job?.tags?.length > 0 ? (
+
+ {item.job.tags.map((tag) => (
+ -
+ {tag}
+
+ ))}
+
+ ) : null}
+
+ {item.job?.salary || "面议"}
+
+
+
+
{item.interviewTime}
+
+ {item.statusText}
+
+
+
+ ))}
+
+
-
-
-
岗位简历接收
+
+
setIsExpand(!isExpand)}
+ >
+ 岗位陪跑流程
+
+
-
-
-
-
-
-
+ >
+ )}
);
diff --git a/src/pages/ResumeInterviewPage/index.css b/src/pages/ResumeInterviewPage/index.css
index 2756e3a..24e7fae 100644
--- a/src/pages/ResumeInterviewPage/index.css
+++ b/src/pages/ResumeInterviewPage/index.css
@@ -3,7 +3,12 @@
height: 100%;
box-sizing: border-box;
position: relative;
+ display: flex;
+ .resume-interview-spin,
+ .empty-data {
+ margin: auto;
+ }
.resume-interview-navigation {
position: fixed;
top: 0;
diff --git a/src/pages/ResumeInterviewPage/index.jsx b/src/pages/ResumeInterviewPage/index.jsx
index 325133b..a76086f 100644
--- a/src/pages/ResumeInterviewPage/index.jsx
+++ b/src/pages/ResumeInterviewPage/index.jsx
@@ -1,4 +1,5 @@
import { useRef, useState, useEffect } from "react";
+import { Spin, Empty } from "@arco-design/web-react";
import toast from "@/components/Toast";
import InterviewQuestionsModal from "./components/InterviewQuestionsModal";
import ResumeInfoModal from "@/pages/CompanyJobsPage/components/ResumeInfoModal";
@@ -110,79 +111,74 @@ const ResumeInterviewPage = () => {
return () => window.removeEventListener("scroll", handleScroll);
}, [pageData?.industries]);
- if (loading) {
- return (
-
- );
- }
-
- if (!pageData) {
- return (
-
- );
- }
-
return (
-
-
- {pageData.industries.map((industry) => (
-
- handleNavClick(industry.id)}
- >
- {industry.name}
-
- ))}
-
-
-
- {pageData.industries.map((item) => (
- - (sectionsRef.current[item.id] = el)}
- >
-
{item.name}
- 简历与面试题
-
-
- {filterPositions(item.positions).map((position) => (
- - handlePositionClick(position, item)}
- >
- {position.level}
-
-
{position.name}
-
详情 >
-
-
- ))}
-
-
- {item.questions.map((question) => (
- - handleQuestionClick({ ...item, question })}
- >
-
{question.question}
-
- ))}
-
+ {loading ? (
+
+ ) : pageData ? (
+ <>
+
+
+ {pageData.industries.map((industry) => (
+
- handleNavClick(industry.id)}
+ >
+ {industry.name}
+
+ ))}
-
- ))}
-
+
+
+ {pageData.industries.map((item) => (
+ - (sectionsRef.current[item.id] = el)}
+ >
+
{item.name}
+ 简历与面试题
+
+
+ {filterPositions(item.positions).map((position) => (
+ - handlePositionClick(position, item)}
+ >
+ {position.level}
+
+
{position.name}
+
详情 >
+
+
+ ))}
+
+
+ {item.questions.map((question) => (
+ -
+ handleQuestionClick({ ...item, question })
+ }
+ >
+
{question.question}
+
+ ))}
+
+
+
+ ))}
+
+ >
+ ) : (
+
+ )}
+