feat: 🎸 对接了企业岗位的部分信息

This commit is contained in:
2025-08-22 11:41:15 +08:00
parent d0075937e1
commit cf5f161458
14 changed files with 717 additions and 104 deletions

View File

@@ -8,6 +8,15 @@ export async function getJobsList(params) {
params,
});
}
// 获取企业内推岗位详情
export async function getJobsDetail(id) {
return request({
url: `/api/jobs/${id}`,
method: "GET",
});
}
// 获取企业内推岗位面试
export async function getInterviewsList(params) {
return request({

View File

@@ -1,11 +1,10 @@
import request from "@/utils/request";
// 获取当前学生的学习进度汇总
export async function getLearningProgressSummary(queryParams = {}) {
// 获取学生的整体学习进度
export async function getStudyRecordsProgress() {
return request({
url: `/api/dashboard/learning-summary`,
url: `/api/study-records/progress`,
method: "GET",
params: queryParams,
namespace: "dashboardLoading",
});
}

View File

@@ -1,11 +1,11 @@
// 统一的API服务接口 - 基于当前认证用户
import {
getLearningProgressSummary,
getStudyRecordsProgress,
getMyTasks,
getClassRanking,
} from "./dashboard";
import { getProjectsList } from "./projectLibrary";
import { getJobsList, getInterviewsList } from "./companyJobs";
import { getJobsList, getJobsDetail, getInterviewsList } from "./companyJobs";
import { getLoginStudentInfo } from "./global";
import {
getDashboardStatistics,
@@ -19,7 +19,7 @@ export {
// 仪表盘相关
getMyTasks, // 获取我的任务
getDashboardStatistics, // 获取当前学生仪表盘统计
getLearningProgressSummary, // 获取当前学生学习进度汇总
getStudyRecordsProgress, // 获取学生的整体学习进度
// 排名相关
getClassRanking, // 获取当前学生班级排名
@@ -35,6 +35,7 @@ export {
// 求职相关
getJobsList, // 获取岗位列表
getJobsDetail, // 岗位详情
getInterviewsList, // 获取面试列表
getResumesList, // 获取简历列表
getResumesDetail, // 获取简历详情