|
@@ -14,7 +14,7 @@ export const commonCourseQuery = (datas) => {
|
|
};
|
|
};
|
|
// 文件类型
|
|
// 文件类型
|
|
export const fileTypeQuery = () => {
|
|
export const fileTypeQuery = () => {
|
|
- return $postParam("/api/admin/common/course/query", {});
|
|
|
|
|
|
+ return $postParam("/api/admin/basic/filetype/list", {});
|
|
};
|
|
};
|
|
// 班级/考场
|
|
// 班级/考场
|
|
export const classRoomQuery = (datas) => {
|
|
export const classRoomQuery = (datas) => {
|
|
@@ -35,6 +35,15 @@ export const uploadImage = (isFormal, datas, config = {}) => {
|
|
export const taskInfos = (datas) => {
|
|
export const taskInfos = (datas) => {
|
|
return $postParam(`/api/admin/client/task/get`, datas);
|
|
return $postParam(`/api/admin/client/task/get`, datas);
|
|
};
|
|
};
|
|
|
|
+// export const getStudentInfo = async (datas) => {
|
|
|
|
+// const res = await $postParam(`/api/admin/exam/student/page`, {
|
|
|
|
+// ...datas,
|
|
|
|
+// queryParams: datas.studentCode,
|
|
|
|
+// pageNumber: 1,
|
|
|
|
+// pageSize: 10,
|
|
|
|
+// });
|
|
|
|
+// return res.records[0];
|
|
|
|
+// };
|
|
export const getStudentInfo = (datas) => {
|
|
export const getStudentInfo = (datas) => {
|
|
// examId,courseCode,studentCode
|
|
// examId,courseCode,studentCode
|
|
return $postParam(`/api/admin/client/student/get`, datas);
|
|
return $postParam(`/api/admin/client/student/get`, datas);
|