zhgdlarge/src/api/modules/agjtCommandApi.ts

81 lines
3.3 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 } });
};
// 天气弹窗
2024-05-11 21:21:47 +08:00
// 顶部数据
2024-05-11 19:15:44 +08:00
export const getDelayEventTypeApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzTaskProgressContent/statsDelayEventType`, params, { headers: { noLoading: true } });
};
2024-05-11 21:21:47 +08:00
// 底部列表
export const getProgressContentApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/xzTaskProgressContent/page`, params, { headers: { noLoading: true } });
};
2024-05-11 19:15:44 +08:00
// 风险统计弹窗
// 顶部数据
export const getStatisticsNumDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params, { headers: { noLoading: true } });
};
2024-05-11 21:21:47 +08:00
// 安全隐患
// 顶部数据
export const getQualityStatisticsNumDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNumList`, params, { headers: { noLoading: true } });
};
// 获取分包单位
export const getProjectEnterpriseApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectEnterprise/list`, params, { headers: { noLoading: true } });
};
// 获取整改人
export const getSystemUserApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/systemUser/getProjectChilderSystemUserList`, params, { headers: { noLoading: true } });
};
// AI警报
// 底部数据接口
export const getAlarmRecordApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectPageList`, params, { headers: { noLoading: true } });
};
2024-05-11 21:26:48 +08:00
// 顶部数据接口
export const getAlarmTypeCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiStatistic/selectAiAnalyseHardWareAlarmTypeCount`, params, { headers: { noLoading: true } });
};