2022-06-08 14:51:11 +08:00
|
|
|
/**
|
|
|
|
|
* api接口统一管理 安全检查
|
|
|
|
|
*/
|
|
|
|
|
import {post, get} from '../http'
|
|
|
|
|
|
|
|
|
|
//检查项管理
|
|
|
|
|
export const getCheckPointsListApi = data => post('xmgl/securityCheckPoints/list', data); //获取 列表
|
|
|
|
|
export const addCheckPointsApi = data => post('xmgl/securityCheckPoints/add', data); //新增检查项
|
|
|
|
|
export const editCheckPointsApi = data => post('xmgl/securityCheckPoints/edit', data); //编辑检查项
|
|
|
|
|
export const deleteCheckPointsApi = data => post('xmgl/securityCheckPoints/delete', data); //删除检查项
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//新增安全检查
|
|
|
|
|
export const getCrewListDataApi = data => post('xmgl/systemUser/getProjectChilderSystemUserList', data); // 查询 整改人员 通知人员
|
|
|
|
|
export const addSecurityChecksApi = data => post('xmgl/securityManage/add', data); // 新增安全检查
|
|
|
|
|
//获取整改记录
|
|
|
|
|
export const getSecurityManageListApi = data => post('xmgl/securityManage/list', data); // 查询 安全检查记录列表
|
|
|
|
|
export const getDetailsDataApi = data => post('xmgl/securityManage/getSecurityManageDetails', data); // 查询 详情
|
|
|
|
|
export const getRectificationRecordListApi = data => post('xmgl/securityRectifyRecord/viewSecurityRectifyRecordList', data); // 查询 整改记录
|
|
|
|
|
export const addRectifyRecordApi = data => post('xmgl/securityRectifyRecord/add', data); // 新增 整改记录
|
|
|
|
|
export const approvalRectifyRecordApi = data => post('xmgl/securityRectifyRecord/auditSecurityRectifyRecord', data); // 审批 整改记录
|
|
|
|
|
|
|
|
|
|
export const addHiddenDangerInspectRecordApi = data => post('xmgl/hiddenDangerInspectRecord/add', data);
|
|
|
|
|
|
|
|
|
|
// 检查类型管理
|
|
|
|
|
export const getInspectTypeListApi = data => post('xmgl/inspectType/list', data);
|
|
|
|
|
export const addInspectTypeApi = data => post('xmgl/inspectType/add', data);
|
|
|
|
|
export const editInspectTypeApi = data => post('xmgl/inspectType/edit', data);
|
|
|
|
|
export const deleteInspectTypeApi = data => post('xmgl/inspectType/delete', data);
|
|
|
|
|
|
|
|
|
|
// 隐患库管理
|
|
|
|
|
export const getinspectHiddenDangerLibraryListApi = data => post('xmgl/inspectHiddenDangerLibrary/selectLibraryList', data);
|
|
|
|
|
export const addinspectHiddenDangerLibraryApi = data => post('xmgl/inspectHiddenDangerLibrary/add', data);
|
|
|
|
|
export const editinspectHiddenDangerLibraryApi = data => post('xmgl/inspectHiddenDangerLibrary/edit', data);
|
|
|
|
|
export const deleteinspectHiddenDangerLibraryApi = data => post('xmgl/inspectHiddenDangerLibrary/delete', data);
|
|
|
|
|
|
|
|
|
|
// 隐患库具体项管理
|
|
|
|
|
export const getinspectHiddenDangerItemRecordListApi = data => post('xmgl/inspectHiddenDangerItemRecord/selectHiddenDangerItemRecordList', data);
|
|
|
|
|
export const addinspectHiddenDangerItemRecordApi = data => post('xmgl/inspectHiddenDangerItemRecord/add', data);
|
|
|
|
|
export const editinspectHiddenDangerItemRecordApi = data => post('xmgl/inspectHiddenDangerItemRecord/edit', data);
|
|
|
|
|
export const deleteinspectHiddenDangerItemRecordApi = data => post('xmgl/inspectHiddenDangerItemRecord/delete', data);
|
|
|
|
|
|
|
|
|
|
//任务管理
|
|
|
|
|
export const getinspectTaskRecordListApi = data => post('xmgl/inspectTaskRecord/list', data);
|
|
|
|
|
export const addinspectTaskRecordApi = data => post('xmgl/inspectTaskRecord/add', data);
|
|
|
|
|
export const editinspectTaskRecordApi = data => post('xmgl/inspectTaskRecord/edit', data);
|
|
|
|
|
export const deleteinspectTaskRecordApi = data => post('xmgl/inspectTaskRecord/delete', data);
|
|
|
|
|
|
|
|
|
|
//子任务管理
|
|
|
|
|
export const getinspectTaskItemRecordApi = data => post('xmgl/inspectTaskItemRecord/list', data);
|
|
|
|
|
export const deleteinspectTaskItemRecordApi = data => post('xmgl/inspectTaskItemRecord/delete', data);
|
|
|
|
|
|
|
|
|
|
//隐患检查记录
|
|
|
|
|
export const gethiddenDangerInspectRecordApi = data => post('xmgl/hiddenDangerInspectRecord/list', data);
|
|
|
|
|
export const deletehiddenDangerInspectRecordApi = data => post('xmgl/hiddenDangerInspectRecord/delete', data);
|
|
|
|
|
export const getProjectInspectRecordCountApi = data => post('xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount', data);
|
|
|
|
|
|
|
|
|
|
//隐患整改记录
|
|
|
|
|
export const getselectHiddenDangerRectifyRecordListApi = data => post('xmgl/hiddenDangerRectifyRecord/selectHiddenDangerRectifyRecordList', data);
|
|
|
|
|
//添加隐患整改记录
|
|
|
|
|
export const addHiddenDangerRectifyRecordApi = data => post('xmgl/hiddenDangerRectifyRecord/add', data);
|
|
|
|
|
|
|
|
|
|
//隐患考核列表
|
2023-03-16 10:06:15 +08:00
|
|
|
export const getSelectEnterpriseScoreList = data => post('xmgl/hiddenDangerInspectRecord/selectEnterpriseScoreList', data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//验证身份证
|
|
|
|
|
export const getAnswerWorkerInfoList = data => post('xmgl/safeEducationQuestionAnswer/getAnswerWorkerInfo', data);
|
|
|
|
|
|
|
|
|
|
//获取课程详细数据
|
|
|
|
|
export const getSelectSafeEducationQuestionInfoList = data => post('xmgl/safeEducationQuestion/selectSafeEducationQuestionInfo', data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//考试成功
|
|
|
|
|
export const addSafeEducationQuestionAnswer = data => post('xmgl/safeEducationQuestionAnswer/add', data);
|