/** * api接口统一管理 升降机管理 */ import {post, get} from '../http' /*基本信息--页面*/ export const getLifterListApi = data => post('xmgl/lifter/list', data); //查询所有设备 export const getWorkerInfoListApi = data => post('xmgl/workerInfo/getWorkerInfoList', data); //查询司机列表数据 export const getVideoItemListApi = data => post('xmgl/videoItem/selectEnableVideoItemList', data); //查询摄像机列表 export const addLifterApi = data => post('xmgl/lifter/add', data); //新增设备 export const getLifterDetailApi = data => post('xmgl/lifter/queryById', data); //设备详情 export const deleteLifterApi = data => post('xmgl/lifter/delete', data); //删除 export const editLifterApi = data => post('xmgl/lifter/edit', data); //编辑 //运行信息--页面 export const getLifterCurrentDataApi = data => post('xmgl/lifterCurrentData/getNewestLifterCurrentData', data,'false'); //查询运行信息--实时数据 export const getSelectLifterBySnApi = data => post('xmgl/lifter/selectLifterBySn', data); //通过升降机设备唯一标识查询 设备信息 export const getSelectLifterWorkCycleListApi = data => post('xmgl/lifterWorkCycle/selectLifterWorkCycleList', data); //查询指定升降机的工作循环列表 export const getTodayLifterCurrentDataListApi = data => post('xmgl/lifterCurrentData/getTodayLifterCurrentDataList', data); //查询升降机设备当日实时数据 export const getLifterNewestCurrentDataAndAlarmApi = data => post('xmgl/lifterCurrentData/getLifterNewestCurrentDataAndAlarm', data,'false'); //查询运行信息--实时数据报警信息 //报警信息--页面 export const getLifterAlarmApi = data => post('xmgl/lifterAlarm/list', data); //查询报警信息列表 //维保信息 export const getMaintenanceListApi = data => post('xmgl/bigDevicesMaintenanceRecord/list', data); //查询升降机维保列表 export const getManagementInfoListApi = data => post('xmgl/workerInfo/getLaborManagementInfoList', data); //维保人列表 export const addManagementInfoListApi = data => post('xmgl/bigDevicesMaintenanceRecord/add', data); //新增 //设备管理 export const updateLifterCoordinateApi = data => post('xmgl/lifter/updateLifterCoordinate', data); //修改地图点位 // 实时数据 export const selectLifterCurrentDataApi = data => post('xmgl/lifterCurrentData/list', data); //修改地图点位 // 工作循环 export const selectLifterWorkCycleApi = data => post('xmgl/lifterWorkCycle/list', data); // 违规信息 export const getLifterViolationApi = data => get('/xmgl/lifterViolation/selectPage', data); // 升降机违规数据分页查询