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
|
|
|
}
|