zhgdyun/src/assets/js/api/personnelPositioning.js

24 lines
2.2 KiB
JavaScript
Raw Normal View History

/**
* api接口统一管理
*/
import {post,get} from '../http'
//点位配置-基站页面接口
export const addPersonnelLocationnApi = data => post('xmgl/personnelLocationBaseStation/addPersonnelLocationBaseStation', data);//新增人员定位-基站
export const deletePersonnelLocationDeleteByIdApi = data => get('xmgl/personnelLocationBaseStation/deleteById', data);//根据id删除人员定位-基站
export const getPersonnelLocationBaseStationGetByIdApi = data => get('xmgl/personnelLocationBaseStation/getById', data);//根据id查询人员定位-基站
export const editPersonnelStationUpdateApi = data => post('xmgl/personnelLocationBaseStation/updatePersonnelLocationBaseStation', data);//修改人员定位-基站
export const getPersonnelLocationBaseStationListApi = data => get('xmgl/personnelLocationBaseStation/list', data);//所有人员定位-基站
export const getPersonnelLocationBaseStationApi = data => get('xmgl/personnelLocationBaseStation/selectPage', data);//分页查询人员定位-基站
//点位配置-楼栋页面接口
export const addBeaconDataApi = data => post('xmgl/personnelLocationBuilding/addBeaconData', data);//新增楼栋信标数据
export const addPersonnelLocationBuildingApi = data => post('xmgl/personnelLocationBuilding/addPersonnelLocationBuilding', data);//新增人员定位-楼栋
export const deletePersonnelLocationApi = data => get('xmgl/personnelLocationBuilding/deleteById', data);//根据id删除人员定位-楼栋
export const getBeaconDataApi = data => get('xmgl/personnelLocationBuilding/getBeaconData', data);//通过id获取信标数据
export const getLocationBuildingGetByIdApi = data => get('xmgl/personnelLocationBuilding/getById', data);//根据id查询人员定位-楼栋
export const getLocationBuildingApi = data => get('xmgl/personnelLocationBuilding/list', data);//所有人员定位-楼栋
export const getLocationBuildingSelectPageApi = data => get('xmgl/personnelLocationBuilding/selectPage', data);//分页查询人员定位-楼栋
export const editPersonnelLocationBuildingUpdateApi = data => post('xmgl/personnelLocationBuilding/updatePersonnelLocationBuilding', data);//修改人员定位-楼栋