198 lines
14 KiB
JavaScript
198 lines
14 KiB
JavaScript
|
|
/**
|
||
|
|
* api接口统一管理
|
||
|
|
*/
|
||
|
|
import {post, get, put} from '../http'
|
||
|
|
// 劳务管理 ------ 人员管理
|
||
|
|
export const getEnterpriseInfoList = data => post('xmgl/enterpriseInfo/list', data); //劳务公司列表
|
||
|
|
export const getEnterpriseTypeList = data => get('xmgl/enterpriseType/list', data); //新增企业 -- 企业类型下拉
|
||
|
|
export const setEnterpriseInfo = data => post('xmgl/enterpriseInfo/add', data); //新增企业 -- 确认 新增 企业
|
||
|
|
export const editEnterpriseInfo = data => post('xmgl/enterpriseInfo/edit', data); //新增企业 -- 确认 编辑 企业
|
||
|
|
export const deleteEnterprise = data => post('xmgl/enterpriseInfo/delete', data); // 删除 企业
|
||
|
|
export const getTeamInfoList = data => post('xmgl/teamInfo/getTeamInfoList', data); // 获取 班组 列表 劳务人员模块
|
||
|
|
export const getWorkerTypeList = data => post('xmgl/workerType/list', data); // 获取班组 工种下拉 列表
|
||
|
|
export const addTeamInfo = data => post('xmgl/teamInfo/add', data); // 新增 班组 保存
|
||
|
|
export const deleteTeamInfo = data => post('xmgl/teamInfo/delete', data); // 删除 班组
|
||
|
|
export const editTeamInfo = data => post('xmgl/teamInfo/edit', data); // 编辑 班组
|
||
|
|
export const getWorkerInfoList = data => post('xmgl/workerInfo/selectWorkerInfoList', data); // 获取 表格信息 -- 公用
|
||
|
|
export const addWorkerInfo = data => post('xmgl/workerInfo/add', data); //新增人员录入
|
||
|
|
export const editWorkerInfo = data => put('xmgl/workerInfo/edit', data); //编辑 人员 录入信息
|
||
|
|
export const updateByIdWorkerInfo = data => put('xmgl/workerInfo/updateById', data); //编辑 人员 录入信息
|
||
|
|
export const updateWorkerExit = data => post('xmgl/workerInfo/updateWorkerExit', data); //人员 退场 && 批量 退场
|
||
|
|
export const updateWorkerTeam = data => post('xmgl/workerInfo/updateWorkerTeam', data); //人员批量移动
|
||
|
|
export const deleteWorkerInfo = data => post('xmgl/workerInfo/delete', data); //删除 人员 信息
|
||
|
|
//详情
|
||
|
|
export const getWorkerInfoData = data => post('xmgl/workerInfo/viewWorkerInfoDetail', data); //获取 人员 详细所有信息
|
||
|
|
export const addContractApi = data => post('xmgl/workerContract/add', data); //新增合同信息
|
||
|
|
export const editContractApi = data => post('xmgl/workerContract/edit', data); //编辑合同信息
|
||
|
|
export const getCertificateTypeApi = data => post('xmgl/dictionariesRecord/selectCertTypeList', data); //获取证书类型
|
||
|
|
export const addCertificateApi = data => post('xmgl/workerCertificate/add', data); //新增证书
|
||
|
|
export const editCertificateApi = data => post('xmgl/workerCertificate/edit', data); //编辑证书
|
||
|
|
export const deleteCertificateApi = data => post('xmgl/workerCertificate/delete', data); //删除证书
|
||
|
|
export const addPhysicalApi = data => post('xmgl/workerPhysicals/add', data); //新增体检 报告
|
||
|
|
export const editPhysicalApi = data => post('xmgl/workerPhysicals/edit', data); //编辑体检 报告
|
||
|
|
export const deletePhysicalApi = data => post('xmgl/workerPhysicals/delete', data); //删除体检 报告
|
||
|
|
export const addInsuranceApi = data => post('xmgl/workerInsurance/add', data); //新增保险 信息
|
||
|
|
export const editInsuranceApi = data => post('xmgl/workerInsurance/edit', data); //编辑保险 信息
|
||
|
|
export const deleteInsuranceApi = data => post('xmgl/workerInsurance/delete', data); //删除保险 信息
|
||
|
|
|
||
|
|
//身份证信息识别--------------------------
|
||
|
|
export const getIdCardInfoApi = data => post('xmgl/api/getIdCardInfo', data);
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
// 劳务管理 ------ 部门管理
|
||
|
|
export const getDepartmentInfoList = data => post('xmgl/departmentInfo/getDepartmentInfoList', data); //查询 部门管理 列表
|
||
|
|
export const addDepartmentInfo = data => post('xmgl/departmentInfo/add', data); //新增部门
|
||
|
|
export const updateWorkerDepartment = data => post('xmgl/workerInfo/updateWorkerDepartment', data); //部门批量 移动
|
||
|
|
export const deleteDepartmentInfo = data => post('xmgl/departmentInfo/delete', data); //部门删除
|
||
|
|
export const editDepartmentInfo = data => post('xmgl/departmentInfo/edit', data); //部门 编辑
|
||
|
|
|
||
|
|
//劳务管理 --- 新增设备
|
||
|
|
export const getProjectUfaceConfigInfo = data => post('xmgl/projectUfaceConfig/getProjectUfaceConfigInfo', data); //查询项目的对应的人脸设备配置信息
|
||
|
|
export const projectUfaceConfigEdit = data => post('xmgl/projectUfaceConfig/edit', data); //编辑项目对应的人脸设备配置信息
|
||
|
|
export const ufaceDevAdd = data => post('xmgl/ufaceDev/add', data); //添加人脸设备信息
|
||
|
|
export const ufaceDevEdit = data => post('xmgl/ufaceDev/edit', data); //编辑人脸设备信息
|
||
|
|
export const ufaceDevDelete = data => post('xmgl/ufaceDev/delete', data); //删除人脸设备信息
|
||
|
|
export const ufaceDevList = data => post('xmgl/ufaceDev/list', data); //列表查询人脸设备信息
|
||
|
|
export const selectHousingListApi = data => get('xmgl/thirdPartyPlatformService/list', data); //查询住建列表
|
||
|
|
|
||
|
|
//工种信息
|
||
|
|
export const workerTypeAdd = data => post('xmgl/workerType/add', data);//添加工种信息
|
||
|
|
export const workerTypeEdit = data => post('xmgl/workerType/edit', data);//添加工种信息
|
||
|
|
export const workerTypeDelete = data => post('xmgl/workerType/delete', data);//添加工种信息
|
||
|
|
export const workerTypeList = data => post('xmgl/workerType/list', data);//列表查询工种信息
|
||
|
|
|
||
|
|
//考勤规则
|
||
|
|
export const workerAttendanceRuleList = data => post('xmgl/workerAttendanceRule/list', data);//列表查询考勤规则信息
|
||
|
|
export const workerAttendanceRuleAdd = data => post('xmgl/workerAttendanceRule/add', data);//添加考勤规则信息
|
||
|
|
export const workerAttendanceRuleEdit = data => post('xmgl/workerAttendanceRule/edit', data);//编辑考勤规则信息
|
||
|
|
export const workerAttendanceRuleDelete = data => post('xmgl/workerAttendanceRule/delete', data);//删除考勤规则信息
|
||
|
|
|
||
|
|
|
||
|
|
export const selectJobListApi = data => get('xmgl/dictionariesRecord/selectJobList', data);//查询管理人员的职务类型和职务列表
|
||
|
|
|
||
|
|
|
||
|
|
//安全教育管理
|
||
|
|
export const workerSafeEducationListApi = data => post('xmgl/workerSafeEducation/list', data);
|
||
|
|
export const workerSafeEducationAddApi = data => post('xmgl/workerSafeEducation/add', data);
|
||
|
|
export const workerSafeEducationEditApi = data => post('xmgl/workerSafeEducation/edit', data);
|
||
|
|
export const workerSafeEducationDeleteApi = data => post('xmgl/workerSafeEducation/delete', data);
|
||
|
|
export const workerSafeEducationDetailApi = data => post('xmgl/workerSafeEducation/queryById', data);
|
||
|
|
|
||
|
|
export const workerSafeEducationDetailApi2 = data => post('xmgl/workerSafeEducation/selectAnswerWorkerPage', data);
|
||
|
|
|
||
|
|
//黑名单管理
|
||
|
|
export const workerBlacklistListApi = data => post('xmgl/workerBlacklist/list', data);
|
||
|
|
export const workerBlacklistAddApi = data => post('xmgl/workerBlacklist/add', data);
|
||
|
|
export const workerBlacklistEditApi = data => post('xmgl/workerBlacklist/edit', data);
|
||
|
|
export const workerBlacklistDeleteApi = data => post('xmgl/workerBlacklist/delete', data);
|
||
|
|
|
||
|
|
|
||
|
|
//人员总览
|
||
|
|
export const selectWorkerOverviewStatisticsApi = data => post('xmgl/workerInfo/selectWorkerOverviewStatistics', data);//人员类型和班组统计
|
||
|
|
export const getRealTimeDataApi = data => post('xmgl/workerAttendance/selectWorkerAttendanceNewestList', data,'aa');//实时人员考勤信息
|
||
|
|
export const getPageListApi = data => post('xmgl/workerAttendance/list', data);//分页查询考勤信息
|
||
|
|
export const getAdministratorCertificateApi = data => post('xmgl/workerCertificate/selectProjectManageCertificateTotal', data);//分页查询考勤信息
|
||
|
|
export const getWorkerTeamStatisticsApi = data => post('xmgl/workerInfo/selectWorkerTeamStatistics', data);//查询项目下按照班组统计
|
||
|
|
export const getPersonTypeAndEduStatisticsApi = data => post('xmgl/workerInfo/selectPersonTypeAndEduStatistics', data);//查询人员总览人员类型和教育统计
|
||
|
|
|
||
|
|
//评价中心
|
||
|
|
export const getAssessmentListApi = data => post('xmgl/workerEvaluate/selectWorkerEvaluatePageList', data);//查询人员评价信息 不良 、奖励
|
||
|
|
export const getLaborManagementInfoListApi = data => post('xmgl/workerInfo/getLaborManagementInfoList', data);//查询 奖励 和 不良 人员下拉
|
||
|
|
export const addWorkerAssessmentInfoApi = data => post('xmgl/workerEvaluate/add', data);//新增 人员评价信息 不良 、奖励
|
||
|
|
export const editWorkerAssessmentInfoApi = data => post('xmgl/workerEvaluate/edit', data);//编辑 人员评价信息 不良 、奖励
|
||
|
|
export const deleteWorkerAssessmentInfoApi = data => post('xmgl/workerEvaluate/delete', data);//删除 人员评价信息 不良 、奖励
|
||
|
|
|
||
|
|
|
||
|
|
//电子围栏
|
||
|
|
export const electricFenceListApi = data => post('xmgl/electricFence/list', data);
|
||
|
|
export const electricFenceAddApi = data => post('xmgl/electricFence/add', data);
|
||
|
|
// export const electricFenceEditApi = data => post('xmgl/electricFence/edit', data);
|
||
|
|
export const electricFenceDeleteApi = data => post('xmgl/electricFence/delete', data);
|
||
|
|
|
||
|
|
// 人脸识别
|
||
|
|
export const checkFaceApi = data => post('xmgl/recognition/checkFace', data);
|
||
|
|
|
||
|
|
//查询人员照片库
|
||
|
|
export const checkImgLibraryApi = data => post('xmgl/workerImage/list', data)
|
||
|
|
|
||
|
|
//安全教育 --- 课程管理
|
||
|
|
export const safeEducationQuestionListApi = data => post('xmgl/safeEducationQuestion/selectSafeEducationCoursePage', data);
|
||
|
|
export const safeEducationQuestionAddApi = data => post('xmgl/safeEducationQuestion/addQuestionCourse', data);
|
||
|
|
export const safeEducationQuestionDetailApi = data => post('xmgl/safeEducationQuestion/selectSafeEducationQuestionInfo', data);
|
||
|
|
export const selectWorkerEducationPageApi = data => post('xmgl/safeEducationQuestion/selectWorkerEducationPage', data);
|
||
|
|
|
||
|
|
export const selectCompanyEducationCoursePageApi = data => post('xmgl/safeEducationQuestion/selectCompanyEducationCoursePage', data);
|
||
|
|
|
||
|
|
//安全教育 --- 课程分类
|
||
|
|
export const educationClassifyListApi = data => post('xmgl/educationClassify/selectList', data);
|
||
|
|
export const educationClassifyAddApi = data => post('xmgl/educationClassify/add', data);
|
||
|
|
export const educationClassifyEditApi = data => post('xmgl/educationClassify/edit', data);
|
||
|
|
export const educationClassifyDeleteApi = data => post('xmgl/educationClassify/delete', data);
|
||
|
|
|
||
|
|
//人员审批
|
||
|
|
export const adoptWorkerInfoApi = data => post('xmgl/workerInfoAuditRecord/adoptWorkerInfo', data);
|
||
|
|
export const rejectWorkerInfoApi = data => post('xmgl/workerInfoAuditRecord/rejectWorkerInfo', data);
|
||
|
|
export const selectWorkerInfoAuditListApi = data => post('xmgl/workerInfoAuditRecord/selectWorkerInfoAuditList', data);
|
||
|
|
export const deleteWorkerInfoAuditApi = data => post('xmgl/workerInfoAuditRecord/delete', data);
|
||
|
|
|
||
|
|
|
||
|
|
//lED大屏
|
||
|
|
export const selectEnterpriseAttendanceCountApi = data => post('xmgl/workerAttendance/selectEnterpriseAttendanceCount', data,'false');
|
||
|
|
export const selectWorkNewAttendanceListApi = data => post('xmgl/workerAttendance/selectWorkNewAttendanceList', data);
|
||
|
|
|
||
|
|
//下发人员
|
||
|
|
export const sendWorkerInfoByIdApi = data => post('xmgl/workerInfo/sendWorkerInfoById', data);
|
||
|
|
export const batchSendWorkerInfoApi = data => post('xmgl/workerInfo/batchSendWorkerInfo', data);
|
||
|
|
|
||
|
|
// 人员下发记录
|
||
|
|
export const selectUploadExecuteRecordPageApi = data => post('/xmgl/uploadExecuteRecord/selectUploadExecuteRecordPage', data)
|
||
|
|
|
||
|
|
// 合作单位-批量移动
|
||
|
|
export const updateEnterpriseTypeApi = data => post('xmgl/projectEnterprise/updateEnterpriseType', data)
|
||
|
|
|
||
|
|
// 人员管理-企业分级列表
|
||
|
|
export const selectHierarchyEnterpriseListApi = data => post('xmgl/enterpriseInfo/selectHierarchyEnterpriseList', data)
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
//处罚单
|
||
|
|
export const getFineRecordListApi = data => post('xmgl/projectFineRecord/list', data); //获取处罚单列表
|
||
|
|
export const addFineRecordApi = data => post('xmgl/projectFineRecord/add', data); //新增处罚单
|
||
|
|
export const editFineRecordApi = data => post('xmgl/projectFineRecord/edit', data); //编辑处罚单
|
||
|
|
export const deleteFineRecordApi = data => post('xmgl/projectFineRecord/delete', data); //删除处罚单
|
||
|
|
|
||
|
|
|
||
|
|
//获取所有管理人员
|
||
|
|
export const selectAppWorkerListApi = data => post('xmgl/workerInfo/selectAppWorkerList', data);
|
||
|
|
|
||
|
|
export const visitorManageRecordApi = data => post('xmgl/visitorManageRecord/list', data);
|
||
|
|
|
||
|
|
// 分页列表查询人员陌生人通行记录信息
|
||
|
|
export const selectWorkerStrangerAttendancePageListApi = data => post('/xmgl/workerStrangerAttendance/selectWorkerStrangerAttendancePageList', data);
|
||
|
|
|
||
|
|
// 人员统计分析
|
||
|
|
export const getProjectCloseManageAnalysisApi = data => post('xmgl/projectCloseManageAnalysis/list', data);
|
||
|
|
export const selectDepartmentEnterpriseAttendanceWorkerInfoList = data => post('xmgl/projectCloseManageAnalysis/selectDepartmentEnterpriseAttendanceWorkerInfoList', data);
|
||
|
|
export const selectDepartmentEnterpriseCodeWorkerInfoList = data => post('xmgl/projectCloseManageAnalysis/selectDepartmentEnterpriseCodeWorkerInfoList', data); // 查询异常码人数数据
|
||
|
|
export const editWorkerAttendanceAnalyseExamine = data => post('/xmgl/workerAttendanceAnalyseExamine/edit', data); // 编辑人员通行分析调查信息
|
||
|
|
|
||
|
|
|
||
|
|
// 2022年4月14日23:01:53 半夜加急 查询封闭的公司
|
||
|
|
export const getSelectDepartmentEnterpriseList = data => post('xmgl/projectCloseManageAnalysis/selectDepartmentEnterpriseList', data);
|
||
|
|
|
||
|
|
|
||
|
|
// 防疫通行数据对比
|
||
|
|
export const selectProjectAllEnterpriseList = data => post('/xmgl/projectEnterpriseWorkerStatistics/selectProjectAllEnterpriseList', data); // 查询所有企业列表
|
||
|
|
export const getProjectChartData = data => post('/xmgl/projectEnterpriseWorkerStatistics/selectProjectEnterpriseWorkerStatisticsList', data); // 查询对应企业图表数据
|
||
|
|
export const getProjectDetailData = data => post('/xmgl/projectEnterpriseWorkerStatistics/getCurrentEnterpriseWorkerStatistics', data); // 查询对应企业统计数据
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|