23 lines
1.5 KiB
JavaScript
23 lines
1.5 KiB
JavaScript
/**
|
|
* api接口统一管理 塔吊管理
|
|
*/
|
|
import {post, get} from '../http'
|
|
|
|
/*运行数据--页面*/
|
|
export const getUnloadListApi = data => post('xmgl/dischargingPlatformDev/list', data); //查询所有设备
|
|
export const getUnloadCurrentDataApi = data => post('xmgl/dischargingPlatformCurrentData/getNewestDischargingPlatformCurrentData', data,'aa'); //查询最新一条实时数据
|
|
export const getTodayUnloadDataApi = data => post('xmgl/dischargingPlatformCurrentData/getTodayDischargingPlatformCurrentDataList', data,'aa'); //查询当天---实时数据
|
|
|
|
/*基本信息--页面*/
|
|
export const getWorkerInfoListApi = data => post('xmgl/workerInfo/getWorkerInfoList', data); //查询报警通知人列表数据
|
|
export const addUnloadInfoApi = data => post('xmgl/dischargingPlatformDev/add', data); //新增
|
|
export const editTowerInfoApi = data => post('xmgl/dischargingPlatformDev/edit', data); //编辑
|
|
export const getDetailsApi = data => post('xmgl/dischargingPlatformDev/queryById', data); //详情
|
|
export const deleteTowerInfoApi = data => post('xmgl/dischargingPlatformDev/delete', data); //删除
|
|
export const setUpdateTowerCoordinateApi = data => post('xmgl/dischargingPlatformDev/updateDischargingPlatformCoordinate', data); //保存坐标信息
|
|
|
|
// 报警信息--页面
|
|
export const getUpdateAlarmListApi = data => post('xmgl/dischargingPlatformAlarm/list', data); //报警列表
|
|
|
|
|
|
export const getUnloadCurrentListApi = data => post('xmgl/dischargingPlatformCurrentData/list', data); |