143 lines
3.9 KiB
TypeScript
143 lines
3.9 KiB
TypeScript
// 参数接口
|
|
|
|
// 响应接口
|
|
import { get, post } from "@/utils/request";
|
|
|
|
/**
|
|
* 获取服务器时间
|
|
*/
|
|
export const xqgwFindAllApi = async () => {
|
|
return await get("/api/xqgw/findAll");
|
|
};
|
|
export const xqxjFindAllApi = async () => {
|
|
return await get("/api/xqxj/findAll");
|
|
};
|
|
export const findAllNjBjTreeApi = async () => {
|
|
return await get("/api/nj/findAllNjBjTree");
|
|
};
|
|
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");
|
|
};
|
|
export const jsConfirmJsDataApi = async (params: any) => {
|
|
return await post("/api/js/confirmJsData", params);
|
|
};
|
|
export const jsdFindPageTaskApi = async (params: any) => {
|
|
return await get("/api/jsd/findPageTask", params);
|
|
};
|
|
export const rwflFindRwlxsByRwId = async (params: any) => {
|
|
return await get("/api/rwlx/findRwlxsByRwId", params);
|
|
};
|
|
export const rwzxSaveApi = async (params: any) => {
|
|
return await post("/api/rwzx/save", params);
|
|
};
|
|
export const rwzxExecutedInfoByRwIdAndJsApi = async (params: any) => {
|
|
return await get("/api/rwzx/executedInfoByRwIdAndJs", params);
|
|
};
|
|
|
|
export const rwFindInfoByRwId = async (params: any) => {
|
|
return await get("/api/rw/findInfoByRwId", params);
|
|
};
|
|
|
|
export const fractionRuleApi = async () => {
|
|
return await get(
|
|
"/api/fractionRule/findAllByItemId?itemId=CDFDED2A704F46E2A4D7E8816968BD23"
|
|
);
|
|
};
|
|
export const fractionRuleApi1 = async () => {
|
|
return await get(
|
|
"/api/fractionRule/findAllByItemId?itemId=B96A0FA22C414F71A3E1CDCA7E206B10"
|
|
);
|
|
};
|
|
|
|
// 查询教师信息
|
|
export const jsdfindJsByPhoneApi = async (params: any) => {
|
|
return await get("/api/js/findJsByPhone", params);
|
|
};
|
|
|
|
// 选课列表
|
|
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 mobilejlstudentListApi = async (params: any) => {
|
|
return await get("/mobile/jl/studentList", params);
|
|
};
|
|
|
|
export const mobilejllistApi = async (params: any) => {
|
|
const res = await get("/mobile/jl/list", params);
|
|
return res.result;
|
|
};
|
|
|
|
export const getByJlIdApi = async (params: any) => {
|
|
const res = await get("/mobile/jl/getByJlId", params);
|
|
return res.result;
|
|
};
|
|
|
|
// 提交点名信息
|
|
export const jsdXkdmListApi = async (params: any) => {
|
|
return await post("/mobile/js/xkdm/add", params);
|
|
};
|
|
|
|
// 推送清单相关API
|
|
// 根据接龙ID获取学生信息
|
|
export const jlzxFindByJlParamsApi = async (params: { jlId: string }) => {
|
|
return await get("/api/jlzx/findByJlParams", params);
|
|
};
|
|
|
|
// 保存推送信息
|
|
export const xxtsSaveByJlzxParamsApi = async (params: { jlId: string }) => {
|
|
return await post("/api/xxts/saveByJlzxParams", params);
|
|
};
|
|
|
|
// 获取待办列表
|
|
export const dbListApi = async (params: any) => {
|
|
return await get("/api/db/findPage", params);
|
|
};
|
|
|
|
// 处理待办
|
|
export const dbBlApi = async (params: any) => {
|
|
return await post("/api/db/bl", params);
|
|
};
|
|
|
|
// 查询学生请假信息
|
|
export const xsQjFindByIdApi = async (params: any) => {
|
|
return await get("/api/xsQj/findById", params);
|
|
};
|
|
|
|
// 学生请假审批
|
|
export const xsQjSpApi = async (params: any) => {
|
|
return await post("/api/xsQj/sp", params);
|
|
};
|
|
|
|
// 获取所有班级
|
|
export const bjFindAllApi = async (params: any) => {
|
|
return await get("/api/bj/findAll", params);
|
|
};
|
|
|
|
// 获取学生列表
|
|
export const xsFindList = async (params: any) => {
|
|
return await get("/api/xs/findPage", params);
|
|
};
|
|
|
|
// 获取学生家长列表
|
|
export const xsJzListByXsIdApi = async (params: any) => {
|
|
return await get("/api/jz/getListByXsId", params);
|
|
};
|
|
|
|
|