This commit is contained in:
X_Rian 2024-06-03 14:55:24 +08:00
parent afb7fc2f2a
commit bc65cf2aa3
3 changed files with 504 additions and 324 deletions

View File

@ -4,8 +4,8 @@ NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
# 后端本地
# VITE_API_URL = 'http://192.168.34.221:19111'
# VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
# VITE_API_URL = 'http://192.168.34.221:28889'
# VITE_API_URL = 'http://121.196.214.246/api'
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'

View File

@ -8,13 +8,15 @@ export const getProjectDetail = (params: {}) => {
};
// 统计企业下项目各人员统计
export const getWorkerStatisticsCountApi = (params: {},) => {
export const getWorkerStatisticsCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerInfo/getWorkerStatisticsCount`, params, { headers: { noLoading: true } });
};
// 安全管理
export const getProjectInspectRecordCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params, { headers: { noLoading: true } });
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params, {
headers: { noLoading: true }
});
};
// 质量管理
@ -52,7 +54,6 @@ export const getParentChildTaskListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/taskProgress/getParentChildList`, params);
};
// 隐患统计智能分析
export const getSelectQualityStatisticsNumApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params);
@ -86,9 +87,25 @@ export const getXzSecurityQualitylnspectionRecordSuperviseApi = (params: {}) =>
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/supervise`, params);
};
// 隐患智能分析
export const getNoticeListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/notice/list`, params);
};
// 安全问题统计数据|列表
export const getInspectionSelectQualityApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params);
};
export const getInspectionSelectQualityListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNumList`, params);
};
// 风险走势图
export const getInspectionRiskChartApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/riskChart`, params);
};
// 特殊作业
export const getSpecialCountAllSpecialApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/xzSpecial/countAllSpecial`, params);
};

File diff suppressed because it is too large Load Diff