Files
pqs-9100_client/frontend/src/api/check/test/index.ts

13 lines
526 B
TypeScript
Raw Normal View History

2024-12-23 13:23:28 +08:00
import http from "@/api";
2024-12-28 16:50:32 +08:00
export const getFormData = (params: { deviceId: string, chnNum: number}) => {
return http.post<any>("/check/detail/", params, {loading: false});
}
export const getTreeData = (params: { deviceId: string, chnNum: number, checkItemId: string }) => {
return http.post<any>("/check/treeData/", params, {loading: false});
}
export const getCheckData = (params: { deviceId: string, chnNum: number, checkItemId: string }) => {
return http.post<any>("/check/data/", params, {loading: false});
2024-12-23 13:23:28 +08:00
}