import {get, post } from '../http' // 基础接口 // 根据人员ID列表查询人员证书表信息 export const getWorkerCertificatePageApi = data => post('xmgl/workerCertificate/list', data); // 作业管理 // 高处作业 // 分页列表查询高处作业许可证信息 export const getHighPermitPageApi = data => get('xmgl/heightPermit/page', data); // 通过id查询高处作业许可证信息 export const getHighPermitByIdApi = data => get('xmgl/heightPermit/queryById', data); // 添加高处作业许可证信息 export const addHighPermitApi = data => post('xmgl/heightPermit/add', data); // 编辑高处作业许可证信息 export const editHighPermitApi = data => post('xmgl/heightPermit/edit', data); // 删除高处作业许可证信息 export const deleteHighPermitApi = data => post('xmgl/heightPermit/delete', data); // 动火作业 // 分页列表查询一级动火信息 export const getFirstOrderFirePageApi = data => get('xmgl/firstOrderFire/page', data); // 通过id查询一级动火信息 export const getFirstOrderFireByIdApi = data => get('xmgl/firstOrderFire/queryById', data); // 添加一级动火信息 export const addFirstOrderFireApi = data => post('xmgl/firstOrderFire/add', data); // 编辑一级动火信息 export const editFirstOrderFireApi = data => post('xmgl/firstOrderFire/edit', data); // 删除一级动火信息 export const deleteFirstOrderFireApi = data => post('xmgl/firstOrderFire/delete', data); // 受限空间作业 // 分页列表查询受限空间作业信息 export const getConfinedSpaceOperationPageApi = data => get('xmgl/confinedSpaceOperation/page', data); // 通过id查询受限空间作业信息 export const getConfinedSpaceOperationByIdApi = data => get('xmgl/confinedSpaceOperation/queryById', data); // 添加受限空间作业信息 export const addConfinedSpaceOperationApi = data => post('xmgl/confinedSpaceOperation/add', data); // 编辑受限空间作业信息 export const editConfinedSpaceOperationApi = data => post('xmgl/confinedSpaceOperation/edit', data); // 删除受限空间作业信息 export const deleteConfinedSpaceOperationApi = data => post('xmgl/confinedSpaceOperation/delete', data); // 起重吊装作业 // 分页列表查询起重吊装作业信息 export const getLiftingOperationPageApi = data => get('xmgl/liftingOperation/page', data); // 通过id查询起重吊装作业信息 export const getLiftingOperationByIdApi = data => get('xmgl/liftingOperation/queryById', data); // 添加起重吊装作业信息 export const addLiftingOperationApi = data => post('xmgl/liftingOperation/add', data); // 编辑起重吊装作业信息 export const editLiftingOperationApi = data => post('xmgl/liftingOperation/edit', data); // 删除起重吊装作业信息 export const deleteLiftingOperationApi = data => post('xmgl/liftingOperation/delete', data); // 土建工程作业 // 分页列表查询土建工程质量检测委托单信息 export const getConstructionQualityTestOrderTicketPageApi = data => get('xmgl/civilEngineeringQualityInspectionOrder/page', data); // 通过id查询土建工程质量检测委托单信息 export const getConstructionQualityTestOrderTicketByIdApi = data => get('xmgl/civilEngineeringQualityInspectionOrder/queryById', data); // 添加土建工程质量检测委托单信息 export const addConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/add', data); // 编辑土建工程质量检测委托单信息 export const editConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/edit', data); // 删除土建工程质量检测委托单信息 export const deleteConstructionQualityTestOrderTicketApi = data => post('xmgl/civilEngineeringQualityInspectionOrder/delete', data); // 无损作业 // 分页列表查询无损检测委托单信息 export const getNonDestructiveTestOrderTicketPageApi = data => get('xmgl/nondestructiveTestOrderTicket/page', data); // 通过id查询无损检测委托单信息 export const getNonDestructiveTestOrderTicketByIdApi = data => get('xmgl/nondestructiveTestOrderTicket/queryById', data); // 添加无损检测委托单信息 export const addNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/add', data); // 编辑无损检测委托单信息 export const editNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/edit', data); // 删除无损检测委托单信息 export const deleteNonDestructiveTestOrderTicketApi = data => post('xmgl/nondestructiveTestOrderTicket/delete', data);