feat: 🎸 新增了两个接口
This commit is contained in:
@@ -19,8 +19,8 @@ export default ({ visible, onClose, data }) => {
|
||||
};
|
||||
|
||||
// 点击立即投递
|
||||
const handleClickDeliverBtn = () => {
|
||||
console.log(data);
|
||||
const handleClickDeliverBtn = (e) => {
|
||||
e.stopPropagation();
|
||||
setResumeModalShow(true);
|
||||
};
|
||||
|
||||
|
||||
@@ -7,3 +7,8 @@ export async function getDashboardStatistics(studentId) {
|
||||
export async function getLearningProgressSummary(studentId) {
|
||||
return request.get(`/api/dashboard/learning-summary/${studentId}`);
|
||||
}
|
||||
|
||||
// 获取班级排名
|
||||
export async function getClassRanking(classId) {
|
||||
return request.get(`/api/rankings/class/${classId}`);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
getDashboardStatistics,
|
||||
getLearningProgressSummary,
|
||||
getClassRanking,
|
||||
} from "./dashboard";
|
||||
import { getProjectsList } from "./projectLibrary";
|
||||
import { getJobsList, getInterviewsList } from "./companyJobs";
|
||||
@@ -9,6 +10,7 @@ import { getCurrentStudent } from "./global";
|
||||
export {
|
||||
getDashboardStatistics,
|
||||
getLearningProgressSummary,
|
||||
getClassRanking,
|
||||
getProjectsList,
|
||||
getJobsList,
|
||||
getInterviewsList,
|
||||
|
||||
Reference in New Issue
Block a user