zhxy-jsd/src/api/base/server.ts

67 lines
1.8 KiB
TypeScript
Raw Normal View History

2025-04-22 10:22:33 +08:00
// 参数接口
// 响应接口
2025-05-13 15:39:44 +08:00
import { get, post } from "@/utils/request";
2025-04-22 10:22:33 +08:00
/**
*
*/
2025-05-13 15:39:44 +08:00
export const xqgwFindAllApi = async () => {
return await get("/api/xqgw/findAll");
2025-04-22 10:22:33 +08:00
};
2025-05-13 15:39:44 +08:00
export const xqxjFindAllApi = async () => {
return await get("/api/xqxj/findAll");
2025-04-22 10:22:33 +08:00
};
2025-05-13 15:39:44 +08:00
export const findAllNjBjTreeApi = async () => {
return await get("/api/nj/findAllNjBjTree");
};
2025-06-04 20:52:34 +08:00
export const kmFindAllApi = async () => {
return await get("/api/km/findAll");
};
export const findAllXxXqNjTree = async () => {
return await get("/api/nj/findAllXxXqNjTree");
};
export const findAllNjBjTree = async () => {
return await get("/api/nj/findAllNjBjTree");
};
2025-05-13 15:39:44 +08:00
export const jsConfirmJsDataApi = async (params: any) => {
return await post("/api/js/confirmJsData", params);
2025-04-22 10:22:33 +08:00
};
2025-06-08 19:07:15 +08:00
export const jsdFindPageTaskApi = async (params: any) => {
return await get("/api/jsd/findPageTask", params);
};
2025-06-10 23:40:49 +08:00
export const fractionRuleApi = async () => {
return await get(
"/api/fractionRule/findAllByItemId?itemId=CDFDED2A704F46E2A4D7E8816968BD23"
);
};
export const fractionRuleApi1 = async () => {
return await get(
"/api/fractionRule/findAllByItemId?itemId=B96A0FA22C414F71A3E1CDCA7E206B10"
);
};
2025-06-20 09:51:43 +08:00
2025-06-20 18:38:22 +08:00
// 查询教师信息
export const jsdfindJsByPhoneApi = async (params: any) => {
return await get("/api/js/findJsByPhone", params);
};
2025-06-20 09:51:43 +08:00
// 选课列表
export const jsdXkListApi = async (params: any) => {
return await get("/mobile/js/xk/list", params);
};
// 选课列表
export const jsdXkkcSaveApi = async (params: any) => {
return await post("/api/xkkc/save", params);
};
// 选课学生列表
export const jsdXkXsListApi = async (params: any) => {
return await get("/mobile/js/xkxs/list", params);
};
// 提交点名信息
export const jsdXkdmListApi = async (params: any) => {
return await post("/mobile/js/xkdm/add", params);
};