zhgdlarge/src/api/modules/shieldMachine.ts
2025-06-03 18:50:27 +08:00

24 lines
869 B
TypeScript

// 盾构机接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 大屏数据统计
export const getShieldMachineData = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachineCurrentData/getStatData`, params, { headers: { noLoading: true } });
};
// 盾构机报警信息
export const getShieldMachineAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachineAlarm/getNewAlarm`, params, { headers: { noLoading: true } });
};
// 盾构机详情
export const getShieldMachineDetail = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachine/queryById`, params, { headers: { noLoading: true } });
};
// 盾构机列表
export const getShieldMachineList = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachine/list`, params, { headers: { noLoading: true } });
};