/** * 劳务人员模块接口 */ import axios from '../http.js'; import basrUrl from '../http.js' export default { /** * 入厂审核模块 */ // 获取入厂审核列表 getPlatUserApplyList: (params) => axios.post('/staff/platUser/applyList', { realName: params.realName, header: { "content-type":'application/json', pageNum: params.pageNum, pageSize: params.pageSize } }), // 获取审核详情信息 getPlatUserapplyDetail: (params) => axios.post('/staff/platUser/applyDetail', params), // 审核信息 checkPlatUserInfo: (params) => axios.post('/staff/platUser/apply', params), /** * 生产监控模块 */ //查询项目尺寸 searchProjectSize: (params) => axios.post('/engineering/project/projectSizeList', { header: { "content-type":'application/json' }, ...params }), //查询项目配筋和块号(数据) searchProjectBears: params => axios.get('/engineering/project/projectProList?proId='+params), //查询配筋块号数据列表(数据) searchRing: params => axios.post('/materials/steelProduce/appProduceLoopingData', { header: { "content-type":'application/json' }, ...params }), //管片成环统计数据 searchRingNumbers: params => axios.post('/materials/steelProduce/appProduceLooping', { header: { "content-type":'application/json' }, ...params }), /* *蒸养监控模块 */ //查询蒸养列表 searchSteamLists: params => axios.post('/engineering/device/steamList', { header: { "content-type":'application/json' }, ...params }), /** * 安全考核模块 */ // 获取考核信息列表 getSafetyCheckList: (params) => axios.post('/secure/exam/miniList', { header: { "content-type":'application/json', pageNum: params.pageNum, pageSize: 100000 } }), // 进入考核获取考题 getCheckTopicInfo: (params) => axios.post('/secure/exam/goExam', params), // 下一题 nextCommitAnswer: (params) => axios.post('/secure/exam/commitAnswer', params), /** * 安全培训模块 */ //查询列表 getAllTrainingList: (params) => axios.post('/secure/secureTrain/secureTrainList', params), //培训详情 getTrainingInfo: (params) => axios.post('/secure/secureTrain/secureTrainInfo', params), //培训记录详情 getAllUsersList: (params) => axios.post('/secure/secureTrain/secureTrainRecord', params), /** * 安全检查模块 */ //安全检查添加 insertCheck: (params) => axios.post('/secure/inspect/inspectInsert', params), //安全检查列表 searchCheckLists: (params) => axios.post('/secure/inspect/inspectList', params), //安全检查详情 detailsCheckSafe: (params) => axios.post('/secure/inspect/inspectInfo', params), /** * 安全资料模块 */ //安全资料列表 searchDatumLists: (params) => axios.post('/secure/material/materialList', params), //获取安全资料类型 getDatnmSafeType: (params) => axios.post('/engineering/dict/dictList', params), //安全资料详情 detailsDatumInfo: (params) => axios.post('/secure/material/materialInfo', params), /** * 整改通知模块 */ //整改通知列表 searchNoticeLists: (params) => axios.post('/secure/inspect/rectificationNoticeList', params), /** * 奖惩处理模块 */ //奖惩记录添加 punishRecordAdd: (params) => axios.post('/secure/encourage/encourageRecordInsert', params), //奖惩记录列表 punishRecordLists: (params) => axios.post('/secure/encourage/encourageRecordList', params), //获取所有奖惩事项 punishMatterLists: (params) => axios.post('/secure/encourage/encourageList', params), /** * 岗位职责模块 */ //岗位职责列表 workPositonLists: (params) => axios.post('/staff/position/findList', params), /** * 钢筋管理模块 */ getRebarLists: (params) => axios.post('/materials/steel/steelList', params), /** * 备品备件模块 */ getSpareLists: (params) => axios.post('/materials/spare/findList', { header: { "content-type":'application/json', pageNum: params.pageNum, pageSize: params.pageSize } }), /** * 辅材管理模块 */ getAxiliaryLists: (params) => axios.post('/materials/assist/assistList', params), /** * 大型生产设备模块 */ getBigDevicesLists: (params) => axios.post('/engineering/bigDevice/bigDeviceList', params), //获取二维码 getQRImages: (params) => axios.get('/materials/steelPrint/test?num='+params), /** * 检查设备模块 */ getCheckDeviceLists: (params) => axios.post('/engineering/bigInspect/bigInspectList', params), /** * 保养设备模块 */ getKeepDeviceLists: (params) => axios.post('/engineering/maintenance/maintenanceList', params), /** * 维修设备模块 */ getServeDeviceLists: (params) => axios.post('/engineering/overhaul/overhaulList', params), /** * 监控视频模块 */ getMonitotLists: (params) => axios.post('/materials/video/webVideoList',params), //返回视频地址 backVideosUrlList: params => axios.post('/materials/video/videoListPathWX', { header: { "content-type":'application/x-www-form-urlencoded' }, ...params }), /** * 区域负责人模块 */ getAreaUserLists: (params) => axios.post('/staff/area/findList', params), /** * 员工档案模块 */ getStaffLists: (params) => axios.post('/staff/platUser/findList',{ realName:params.realName, userType:2, header: { "content-type":'application/json', pageNum: params.pageNum, pageSize: params.pageSize } }), //人员详情 userSelfInfo: (params) => axios.post('/secure/encourage/platUserPlatInfo', params), /** * 值班管理模块 */ getDutyLists: (params) => axios.post('/staff/duty/findList',{ dutyDate:params.dutyDate, header: { "content-type":'application/json', pageNum: params.pageNum, pageSize: params.pageSize } }), /* * 宿舍管理模块 */ //下拉框 getRoomPulls: (params) => axios.post('/engineering/room/pulldown', params), //获取宿舍数据列表 getDormLists: (params) => axios.post('/staff/dorm/findList', params), //获取宿舍人头 getDormNumsLists: (params) => axios.post('/staff/dorm/findUserList', params), /* *隐患举报模块 */ //查询隐患列表 searchHiddenLists: (params) => axios.post('/secure/hiddendanger/selectPageList', params), //添加隐患举报 addHiddenInfo: (params) => axios.post('/secure/hiddendanger/insert', params), //修改隐患举报 updateHiddenInfo: (params) => axios.post('/secure/hiddendanger/update', params), //删除隐患举报 deleteHiddenInfo: (params) => axios.get('/secure/hiddendanger/delete?id='+params), //隐患举报详情 detailsHiddenInfo: (params) => axios.get('/secure/hiddendanger/selectInfo?id='+params), }