zhgdlarge/src/api/modules/agjtCommandApi.ts

53 lines
2.1 KiB
TypeScript
Raw Normal View History

2024-05-10 20:33:26 +08:00
// AI预警接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 人员履职情况分析
// 整改人
export const getMemberJobStatusApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/statsByChangeId`, params, { headers: { noLoading: true } });
};
// 检查人
export const getInspectManStatusApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/statsByInspectMan`, params, { headers: { noLoading: true } });
};
// 按分包单位分析
export const getEnterpriseStatusApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/statsByEnterprise`, params, { headers: { noLoading: true } });
};
2024-05-11 19:15:44 +08:00
// 危大工程弹窗
// 形象进度
export const getProgressRecordApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/dangerousEngineeringProgressRecord/page`, params, { headers: { noLoading: true } });
};
// 安全隐患
export const getInspectionRecordApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/page`, params, { headers: { noLoading: true } });
};
// 验收记录
export const getEngineeringRecordApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/xzDangerousEngineeringAcceptance/page`, params, { headers: { noLoading: true } });
};
// 旁站记录
export const getSideStationApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/dangerousEngineeringSideStation/page`, params, { headers: { noLoading: true } });
};
// 安全教育弹窗
export const getSafeEducationDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzWorkerInfoAuditRecord/selectWorkerInfoAuditList`, params, { headers: { noLoading: true } });
};
// 天气弹窗
export const getDelayEventTypeApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzTaskProgressContent/statsDelayEventType`, params, { headers: { noLoading: true } });
};
// 风险统计弹窗
// 顶部数据
export const getStatisticsNumDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params, { headers: { noLoading: true } });
};