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

43 lines
1.2 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"
);
};